WebDriverException
extends Exception
in package
implements
PhpWebDriverExceptionInterface
Ancestor for all exceptions defined in W3C WebDriver standard.
(And also for deprecated JsonWire protocol exceptions.)
Tags
Table of Contents
Interfaces
- PhpWebDriverExceptionInterface
- Common interface to identify all exceptions thrown in php-webdriver (both those of WebDriver protocol and internal).
Properties
- $results : mixed
Methods
- __construct() : mixed
- getResults() : mixed
- throwException() : mixed
- Throw WebDriverExceptions based on WebDriver status code.
Properties
$results
private
mixed
$results
Methods
__construct()
public
__construct(string $message[, mixed $results = null ]) : mixed
Parameters
- $message : string
- $results : mixed = null
getResults()
public
getResults() : mixed
throwException()
Throw WebDriverExceptions based on WebDriver status code.
public
static throwException(int|string $status_code, string $message, mixed $results) : mixed
Parameters
- $status_code : int|string
- $message : string
- $results : mixed