WebDriverWait Constructor (IWebDriver, 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(
	IWebDriver driver,
	TimeSpan timeout
)

Parameters

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.
See Also