class WebDriverException extends Exception implements PhpWebDriverExceptionInterface (View source)

Ancestor for all exceptions defined in W3C WebDriver standard.

(And also for deprecated JsonWire protocol exceptions.)

Methods

__construct(string $message, mixed $results = null)

No description

mixed
getResults()

No description

static 
throwException(int|string $status_code, string $message, mixed $results)

Throw WebDriverExceptions based on WebDriver status code.

Details

__construct(string $message, mixed $results = null)

No description

Parameters

string $message
mixed $results

mixed getResults()

No description

Return Value

mixed