ITargetLocator DefaultContent Method WebDriver
Selects either the first frame on the page or the main document when a page contains iFrames.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

IWebDriver DefaultContent()

Return Value

An IWebDriver instance focused on the default frame.
See Also