WebDriverWait Constructor (IClock, IWebDriver, TimeSpan, TimeSpan)WebDriver
Initializes a new instance of the WebDriverWait class.

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

public WebDriverWait(
	IClock clock,
	IWebDriver driver,
	TimeSpan timeout,
	TimeSpan sleepInterval
)

Parameters

clock
Type: OpenQA.Selenium.Support.UI IClock
An object implementing the IClock interface used to determine when time has passed.
driver
Type: OpenQA.Selenium IWebDriver
The WebDriver instance used to wait.
timeout
Type: OnlineSystem TimeSpan
The timeout value indicating how long to wait for the condition.
sleepInterval
Type: OnlineSystem TimeSpan
A OnlineTimeSpan value indicating how often to check for the condition to be true.
See Also