Skip to main content

Switch Frame

This node switches the active context to an iframe within the web page. After executing this node, all subsequent browser nodes will operate within this iframe. To return to the main page, use the "Switch Frame" node and select the Switch to Root option.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

if ContinueOnError property is true, no error is caught when the project is executed even if Catch node is used.

Input

  • Selector - Selector to the iframe inside the web page.
  • Selector Type - Select the type of the selector. The options you can choose are XPath and CSS.
  • Page Id - Id of the page to switch iframe. This ID is generated by the Open Browser node.
  • Switch To Root - If you want to switch back to the main root frame, you can check this.

Options

  • Wait Timeout (sec) - Time to wait for the action to complete (in seconds) when switching frames. The default value is 5 seconds.