HumHub Documentation (unofficial)

WebDriverTimeouts
in package

Managing timeout behavior for WebDriver instances.

Table of Contents

Properties

$executor  : ExecuteMethod
$isW3cCompliant  : bool

Methods

__construct()  : mixed
implicitlyWait()  : WebDriverTimeouts
Specify the amount of time the driver should wait when searching for an element if it is not immediately present.
pageLoadTimeout()  : WebDriverTimeouts
Set the amount of time to wait for a page load to complete before throwing an error.
setScriptTimeout()  : WebDriverTimeouts
Set the amount of time to wait for an asynchronous script to finish execution before throwing an error.

Properties

Methods

implicitlyWait()

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

public implicitlyWait(int $seconds) : WebDriverTimeouts
Parameters
$seconds : int

Wait time in second.

Return values
WebDriverTimeouts

The current instance.

pageLoadTimeout()

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

public pageLoadTimeout(int $seconds) : WebDriverTimeouts
Parameters
$seconds : int

Wait time in second.

Return values
WebDriverTimeouts

The current instance.

setScriptTimeout()

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

public setScriptTimeout(int $seconds) : WebDriverTimeouts
Parameters
$seconds : int

Wait time in second.

Return values
WebDriverTimeouts

The current instance.


        
On this page

Search results