 | WebDriverDocumentSwitchToFrame Method |
Switches to an iFrame described by an XPath selector.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.WebDriver (in Ranorex.Plugin.WebDriver.dll) Version: 12.7.4-git.38314c06
Syntaxpublic virtual string SwitchToFrame(
string Selector,
string SelectorType
)
Public Overridable Function SwitchToFrame (
Selector As String,
SelectorType As String
) As String
Parameters
- Selector
- Type: SystemString
The iFrame selector. - SelectorType
- Type: SystemString
The type of the selector (Css, XPath, Name or Id).
Return Value
Type:
String'Success' if the frame is switched successfully.
Exceptions
See Also