ITargetLocator Frame Method (Int32)WebDriver
Select a frame by its (zero-based) index.

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

IWebDriver Frame(
	int frameIndex
)

Parameters

frameIndex
Type: OnlineSystem Int32
The zero-based index of the frame to select.

Return Value

An IWebDriver instance focused on the specified frame.
Exceptions

See Also