WebDriverWait
in package
A utility class, designed to help the user to wait until a condition turns true.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- until() : mixed
- Calls the function provided with the driver as an argument until the return value is not falsey.
Properties
$driver
protected
WebDriver
$driver
$interval
protected
int
$interval
$timeout
protected
int
$timeout
Methods
__construct()
public
__construct(WebDriver $driver[, mixed $timeout_in_second = null ][, mixed $interval_in_millisecond = null ]) : mixed
Parameters
- $driver : WebDriver
- $timeout_in_second : mixed = null
- $interval_in_millisecond : mixed = null
until()
Calls the function provided with the driver as an argument until the return value is not falsey.
public
until(callable|WebDriverExpectedCondition $func_or_ec[, string $message = '' ]) : mixed
Parameters
- $func_or_ec : callable|WebDriverExpectedCondition
- $message : string = ''
Tags
Return values
mixed —The return value of $func_or_ec