Skip to main content

Switch to a new window in a browser session

Wrk Product avatar
Written by Wrk Product
Updated over 2 weeks ago

Switch to a new window in a browser session. All Wrk Actions that run after this one will interact with the newly selected 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)

Name

Description

Data Type

Required?

Example

Browser session ID

The unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action. Example: fb9bc380-146c-420e-9130-50ce93614e05

Text (Short)

Yes

Match method

The method to identify the new window. Page index of initial window is 0 and the first pop up will be 1. Example: Website Link

Text (Short)

Yes

Match value

The value used to match the new window. Wildcards enabled. Example: https://www.wrk.*

Text (Long)

Yes

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Unsuccessful message

If unsuccessful, a message stating what went wrong

Text (Long)

No

Unsuccessful screenshot

File

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?