WebDriverSwitchToDefaultContent Method |
Select either the first frame on the page or the main document when a page contains iFrames.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As WebDriver
instance.SwitchToDefaultContent()
Return Value
Type:
A WebDriver instance focused on the default frame.
See Also