\WebDriverTimeouts

Managing timeout behavior for WebDriver instances.

Summary

Methods
Properties
Constants
__construct()
implicitlyWait()
setScriptTimeout()
pageLoadTimeout()
No public properties found
No constants found
No protected methods found
$executor
N/A
No private methods found
No private properties found
N/A

Properties

$executor

$executor : 

Type

Methods

__construct()

__construct(  $executor) 

Parameters

$executor

implicitlyWait()

implicitlyWait(integer  $seconds) : \WebDriverTimeouts

Specify the amount of time the driver should wait when searching for an element if it is not immediately present.

Parameters

integer $seconds

Wait time in second.

Returns

\WebDriverTimeouts —

The current instance.

setScriptTimeout()

setScriptTimeout(integer  $seconds) : \WebDriverTimeouts

Set the amount of time to wait for an asynchronous script to finish execution before throwing an error.

Parameters

integer $seconds

Wait time in second.

Returns

\WebDriverTimeouts —

The current instance.

pageLoadTimeout()

pageLoadTimeout(integer  $seconds) : \WebDriverTimeouts

Set the amount of time to wait for a page load to complete before throwing an error.

Parameters

integer $seconds

Wait time in second.

Returns

\WebDriverTimeouts —

The current instance.