throwException(int $status_code, string $message, mixed $results). Throw WebDriverExceptions. from WebDriverException .