Win Close
Win Close
Section titled “Win Close”Type: win-close · Package: Desktop Activities v1.0.0
Close a window and release the session. It’s the activity you ended up with when you used Win Attach without body (Option B of session model).
How it works
Section titled “How it works”Close the window associated with the session and release the resources. After this, the session can no longer be used.
Required parameters
Section titled “Required parameters”Ninguno.
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | The session returned by Win Attach. |
Example
Section titled “Example”Win Attach selector = (ventana "Bloc de notas") → output: appWin Type session = = app selector = (área de texto) text = "Hola"Win Close session = = appRelated activities
Section titled “Related activities”- Win Attach — open the session that you close here.
- Try / Catch — close at
finally.