WebDriverWait
class WebDriverWait (View source)
A utility class, designed to help the user to wait until a condition turns true.
Properties
protected WebDriver | $driver | ||
protected int | $timeout | ||
protected int | $interval |
Methods
__construct(WebDriver $driver, $timeout_in_second = null, $interval_in_millisecond = null)
No description
mixed
until(callable|WebDriverExpectedCondition $func_or_ec, string $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
mixed
until(callable|WebDriverExpectedCondition $func_or_ec, string $message = '')
Calls the function provided with the driver as an argument until the return value is not falsey.