ISeleniumSetTimeout Method WebDriver
Specifies the amount of time that Selenium will wait for actions to complete.

Actions that require waiting include "open" and the "waitFor*" actions.

The default timeout is 30 seconds.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 3.1.0
Syntax

void SetTimeout(
	string timeout
)

Parameters

timeout
Type: SystemString
a timeout in milliseconds, after which the action will return with an error
See Also

Reference