By Id Method WebDriver
Gets a mechanism to find elements by their ID.

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

public static By Id(
	string idToFind
)

Return Value

A By object the driver can use to find the elements.
See Also