Initializes a new instance of the WebDriverWait class.
Namespace: OpenQA.Selenium.Support.UIAssembly: 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:
System TimeSpan
The timeout value indicating how long to wait for the condition.
See Also