ITimeoutsSetPageLoadTimeout Method WebDriver

Note: This API is now obsolete.

Specifies the amount of time the driver should wait for a page to load when setting the Url property.

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

[ObsoleteAttribute("This method will be removed in a future version. Please set the PageLoad property instead.")]
ITimeouts SetPageLoadTimeout(
	TimeSpan timeToWait
)

Parameters

timeToWait
Type: SystemTimeSpan
A TimeSpan structure defining the amount of time to wait. Setting this parameter to MinValue will allow the page to load indefinitely.

Return Value

Type: ITimeouts
A self reference
See Also

Reference