ITimeouts ImplicitlyWait Method WebDriver
Specifies the amount of time the driver should wait when searching for an element if it is not immediately present.

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

ITimeouts ImplicitlyWait(
	TimeSpan timeToWait
)

Parameters

timeToWait
Type: OnlineSystem TimeSpan
A OnlineTimeSpan structure defining the amount of time to wait.

Return Value

A self reference
Remarks

When searching for a single element, the driver should poll the page until the element has been found, or this timeout expires before throwing a NoSuchElementException. When searching for multiple elements, the driver should poll the page until at least one element has been found or this timeout has expired.

Increasing the implicit wait timeout should be used judiciously as it will have an adverse effect on test run time, especially when used with slower location strategies like XPath.

See Also