class WebDriverWait (View source)

A utility class, designed to help the user to wait until a condition turns true.

Properties

protected $driver
protected $timeout
protected $interval

Methods

__construct(WebDriver $driver, $timeout_in_second = null, $interval_in_millisecond = null)

No description

until($func_or_ec, $message = "")

Calls the function provided with the driver as an argument until the return value is not falsey.

Details

__construct(WebDriver $driver, $timeout_in_second = null, $interval_in_millisecond = null)

No description

Parameters

WebDriver $driver
$timeout_in_second
$interval_in_millisecond

until($func_or_ec, $message = "")

Calls the function provided with the driver as an argument until the return value is not falsey.

Parameters

$func_or_ec
$message