Skip to main content

Close a tab or window in a browser session

Close a tab or window in a browser session. The tab or window will be closed and can no longer be used in subsequent Web Automation Wrk Actions. The browser will refocus the initial window.Inputs in this Wrk Action use wildcards: Question mark (`?`) matches any one character, asterisk (`*`) matches zero or more characters. To search for a wildcard value add a tilde (`~`) before the wildcard character

Application

  • Web Process Automation

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Browser session IDThe unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action. Example: fb9bc380-146c-420e-9130-50ce93614e05Text (Short)Yes
Match methodThe method to identify the tab or window to close. Page index of initial window is 0 and the first pop up will be 1. Example: Website LinkText (Short)Yes
Match valueThe value used to match the tab or window to close. Wildcards enabled. Example: https://www.wrk.*Text (Long)Yes

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Unsuccessful messageIf unsuccessful, a message stating what went wrongText (Long)No
Unsuccessful screenshotFileNo

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • N/A