Skip to main content

Switch Window

The Switch Window node switches browser focus to another open window.

Overview

Select the window to switch to from the "Target Window" dropdown and execute.

Switch Window Configuration Panel

Usage

After dragging in the node, select the window to switch to from the "Target Window" dropdown. The dropdown options come from:

OptionSource
Current WindowAlways present — the currently active window
Initial WindowAlways present — the window that was open when the workflow started
Other Window NamesDetermined by the "Window Name" of upstream nodes

Where Window Names Come From

Aside from "Current Window" and "Initial Window," the remaining options in the dropdown come from the window name filled in upstream Open Window nodes. In other words, which window you can switch to depends on what name it was given when it was opened upstream.

Enable "Activate Window" to automatically bring the window to the foreground after switching.

Parameter Reference

ParameterTypeDefaultDescription
Target WindowDropdownSelect an open window to switch to; options are dynamically generated by the system
Activate WindowTogglefalseWhether to auto-focus after switching

FAQ

Element not found after switching windows

Symptom: After switching to a specified window, downstream nodes report "element not found."

Cause: The target window's page URL doesn't match expectations, or the page hasn't finished loading.

Solution: Insert a Wait Element or Open Page node after switching to ensure the target window is in the expected state.