switch frame by path
Switch the focus to the target frame defined by frame path.
Important:
This action is dedicated to Generic WebDriverName | Description | Type | Modifier |
---|---|---|---|
frame path | the path from current frame to the destination frame. | String | None |
None
This action may be used within the following project items: test modules and user-defined actions.
frame path
switch frame by path #cf_switch frame 5
 
window control value
set frame multi level frm5_radio female on
 
window control value
check frame multi level frm5_radio female on
- In a web page with multiple frames, you have to switch the focus to the frame containing the element before locating the element.
- switch frame by path cannot move the focus back to its parent frame or default page. To move the focus to the parent frame or default page. You ought to adopt the switch frame by destination action.