Switch Frame

Switch element scope into an iframe (blank selector = main).

Web BrowserSeleniumBrowserSwitchFrame

What it does

Switch element scope into an iframe (blank selector = main).

Parameters

ParameterTypeRequiredDefaultDescription
Browser instancevariable
RequiredbrowserName that identifies this browser session.
Selector typedropdown
CSS · XPath · ID · Name · Text
RequiredCSS
Frame selector (blank = main)string
Optional
Example: #content
Supports variables

More Web Browser commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.