WebDriverSwitchToDefaultContent Method
Select either the first frame on the page or the main document when a page contains iFrames.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebDriver

instance.SwitchToDefaultContent()

Return Value

Type: 
A WebDriver instance focused on the default frame.
See Also