"SWITCH_FRAME" Command

Description: This command switches to a frame/iframe identified by id, name, XPath or “Main” window and is commonly used with script commands such as Execute_Javascript.

Usage Scenario: Suppose we have a JavaScript code that we need to run but the elements are located in frames.

Procedure: Define your switch frame step before the Execute_Javascript step and add the step for Switch_Frame using the type needed. Your steps will look like this:

image-20240606-174733.png

 

 

 

 

 

Related pages