ITargetLocator Frame Method (String)WebDriver
Select a frame by its name or ID.

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

IWebDriver Frame(
	string frameName
)

Parameters

frameName
Type: OnlineSystem String
The name of the frame to select.

Return Value

An IWebDriver instance focused on the specified frame.
Exceptions

See Also