updated-packages
This commit is contained in:
10
vendor/php-webdriver/webdriver/lib/Exception/DetachedShadowRootException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/DetachedShadowRootException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command failed because the referenced shadow root is no longer attached to the DOM.
|
||||
*/
|
||||
class DetachedShadowRootException extends WebDriverException
|
||||
{
|
||||
}
|
||||
15
vendor/php-webdriver/webdriver/lib/Exception/DriverServerDiedException.php
vendored
Normal file
15
vendor/php-webdriver/webdriver/lib/Exception/DriverServerDiedException.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* The driver server process is unexpectedly no longer available.
|
||||
*/
|
||||
class DriverServerDiedException extends WebDriverException
|
||||
{
|
||||
public function __construct(\Exception $previous = null)
|
||||
{
|
||||
parent::__construct('The driver server has died.');
|
||||
\Exception::__construct($this->getMessage(), $this->getCode(), $previous);
|
||||
}
|
||||
}
|
||||
11
vendor/php-webdriver/webdriver/lib/Exception/ElementClickInterceptedException.php
vendored
Normal file
11
vendor/php-webdriver/webdriver/lib/Exception/ElementClickInterceptedException.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* The Element Click command could not be completed because the element receiving the events is obscuring the element
|
||||
* that was requested clicked.
|
||||
*/
|
||||
class ElementClickInterceptedException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/ElementNotInteractableException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/ElementNotInteractableException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command could not be completed because the element is not pointer- or keyboard interactable.
|
||||
*/
|
||||
class ElementNotInteractableException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/ElementNotSelectableException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/ElementNotSelectableException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Use Facebook\WebDriver\Exception\ElementNotInteractableException
|
||||
*/
|
||||
class ElementNotSelectableException extends ElementNotInteractableException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/ElementNotVisibleException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/ElementNotVisibleException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class ElementNotVisibleException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/ExpectedException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/ExpectedException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class ExpectedException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/IMEEngineActivationFailedException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/IMEEngineActivationFailedException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class IMEEngineActivationFailedException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/IMENotAvailableException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/IMENotAvailableException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class IMENotAvailableException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/IndexOutOfBoundsException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/IndexOutOfBoundsException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class IndexOutOfBoundsException extends WebDriverException
|
||||
{
|
||||
}
|
||||
11
vendor/php-webdriver/webdriver/lib/Exception/InsecureCertificateException.php
vendored
Normal file
11
vendor/php-webdriver/webdriver/lib/Exception/InsecureCertificateException.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* Navigation caused the user agent to hit a certificate warning, which is usually the result of an expired
|
||||
* or invalid TLS certificate.
|
||||
*/
|
||||
class InsecureCertificateException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidArgumentException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidArgumentException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* The arguments passed to a command are either invalid or malformed.
|
||||
*/
|
||||
class InvalidArgumentException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidCookieDomainException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidCookieDomainException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* An illegal attempt was made to set a cookie under a different domain than the current page.
|
||||
*/
|
||||
class InvalidCookieDomainException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidCoordinatesException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidCoordinatesException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class InvalidCoordinatesException extends WebDriverException
|
||||
{
|
||||
}
|
||||
11
vendor/php-webdriver/webdriver/lib/Exception/InvalidElementStateException.php
vendored
Normal file
11
vendor/php-webdriver/webdriver/lib/Exception/InvalidElementStateException.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command could not be completed because the element is in an invalid state, e.g. attempting to clear an element
|
||||
* that isn’t both editable and resettable.
|
||||
*/
|
||||
class InvalidElementStateException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidSelectorException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/InvalidSelectorException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* Argument was an invalid selector.
|
||||
*/
|
||||
class InvalidSelectorException extends WebDriverException
|
||||
{
|
||||
}
|
||||
11
vendor/php-webdriver/webdriver/lib/Exception/InvalidSessionIdException.php
vendored
Normal file
11
vendor/php-webdriver/webdriver/lib/Exception/InvalidSessionIdException.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* Occurs if the given session id is not in the list of active sessions, meaning the session either does not exist
|
||||
* or that it’s not active.
|
||||
*/
|
||||
class InvalidSessionIdException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/JavascriptErrorException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/JavascriptErrorException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* An error occurred while executing JavaScript supplied by the user.
|
||||
*/
|
||||
class JavascriptErrorException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/MoveTargetOutOfBoundsException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/MoveTargetOutOfBoundsException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* The target for mouse interaction is not in the browser’s viewport and cannot be brought into that viewport.
|
||||
*/
|
||||
class MoveTargetOutOfBoundsException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoAlertOpenException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoAlertOpenException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Use Facebook\WebDriver\Exception\NoSuchAlertException
|
||||
*/
|
||||
class NoAlertOpenException extends NoSuchAlertException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoCollectionException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoCollectionException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoCollectionException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoScriptResultException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoScriptResultException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoScriptResultException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoStringException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoStringException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoStringException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoStringLengthException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoStringLengthException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoStringLengthException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoStringWrapperException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoStringWrapperException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoStringWrapperException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchAlertException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchAlertException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* An attempt was made to operate on a modal dialog when one was not open.
|
||||
*/
|
||||
class NoSuchAlertException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchCollectionException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchCollectionException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoSuchCollectionException extends WebDriverException
|
||||
{
|
||||
}
|
||||
11
vendor/php-webdriver/webdriver/lib/Exception/NoSuchCookieException.php
vendored
Normal file
11
vendor/php-webdriver/webdriver/lib/Exception/NoSuchCookieException.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* No cookie matching the given path name was found amongst the associated cookies of the current browsing context’s
|
||||
* active document.
|
||||
*/
|
||||
class NoSuchCookieException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchDocumentException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchDocumentException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Use Facebook\WebDriver\Exception\NoSuchWindowException
|
||||
*/
|
||||
class NoSuchDocumentException extends NoSuchWindowException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchDriverException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchDriverException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NoSuchDriverException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchElementException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchElementException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* An element could not be located on the page using the given search parameters.
|
||||
*/
|
||||
class NoSuchElementException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchFrameException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchFrameException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command to switch to a frame could not be satisfied because the frame could not be found.
|
||||
*/
|
||||
class NoSuchFrameException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchShadowRootException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchShadowRootException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* The element does not have a shadow root.
|
||||
*/
|
||||
class NoSuchShadowRootException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchWindowException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NoSuchWindowException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command to switch to a window could not be satisfied because the window could not be found.
|
||||
*/
|
||||
class NoSuchWindowException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/NullPointerException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/NullPointerException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class NullPointerException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/ScriptTimeoutException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/ScriptTimeoutException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A script did not complete before its timeout expired.
|
||||
*/
|
||||
class ScriptTimeoutException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/SessionNotCreatedException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/SessionNotCreatedException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A new session could not be created.
|
||||
*/
|
||||
class SessionNotCreatedException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/StaleElementReferenceException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/StaleElementReferenceException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command failed because the referenced element is no longer attached to the DOM.
|
||||
*/
|
||||
class StaleElementReferenceException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/TimeoutException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/TimeoutException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* An operation did not complete before its timeout expired.
|
||||
*/
|
||||
class TimeoutException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnableToCaptureScreenException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnableToCaptureScreenException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A screen capture was made impossible.
|
||||
*/
|
||||
class UnableToCaptureScreenException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnableToSetCookieException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnableToSetCookieException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command to set a cookie’s value could not be satisfied.
|
||||
*/
|
||||
class UnableToSetCookieException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnexpectedAlertOpenException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnexpectedAlertOpenException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A modal dialog was open, blocking this operation.
|
||||
*/
|
||||
class UnexpectedAlertOpenException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnexpectedJavascriptException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnexpectedJavascriptException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Use Facebook\WebDriver\Exception\JavascriptErrorException
|
||||
*/
|
||||
class UnexpectedJavascriptException extends JavascriptErrorException
|
||||
{
|
||||
}
|
||||
23
vendor/php-webdriver/webdriver/lib/Exception/UnexpectedTagNameException.php
vendored
Normal file
23
vendor/php-webdriver/webdriver/lib/Exception/UnexpectedTagNameException.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
class UnexpectedTagNameException extends WebDriverException
|
||||
{
|
||||
/**
|
||||
* @param string $expected_tag_name
|
||||
* @param string $actual_tag_name
|
||||
*/
|
||||
public function __construct(
|
||||
$expected_tag_name,
|
||||
$actual_tag_name
|
||||
) {
|
||||
parent::__construct(
|
||||
sprintf(
|
||||
'Element should have been "%s" but was "%s"',
|
||||
$expected_tag_name,
|
||||
$actual_tag_name
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownCommandException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownCommandException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* A command could not be executed because the remote end is not aware of it.
|
||||
*/
|
||||
class UnknownCommandException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownErrorException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownErrorException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* An unknown error occurred in the remote end while processing the command.
|
||||
*/
|
||||
class UnknownErrorException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownMethodException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownMethodException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* The requested command matched a known URL but did not match an method for that URL.
|
||||
*/
|
||||
class UnknownMethodException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownServerException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnknownServerException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Use Facebook\WebDriver\Exception\UnknownErrorException
|
||||
*/
|
||||
class UnknownServerException extends UnknownErrorException
|
||||
{
|
||||
}
|
||||
7
vendor/php-webdriver/webdriver/lib/Exception/UnrecognizedExceptionException.php
vendored
Normal file
7
vendor/php-webdriver/webdriver/lib/Exception/UnrecognizedExceptionException.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
class UnrecognizedExceptionException extends WebDriverException
|
||||
{
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/UnsupportedOperationException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/UnsupportedOperationException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* Indicates that a command that should have executed properly cannot be supported for some reason.
|
||||
*/
|
||||
class UnsupportedOperationException extends WebDriverException
|
||||
{
|
||||
}
|
||||
7
vendor/php-webdriver/webdriver/lib/Exception/WebDriverCurlException.php
vendored
Normal file
7
vendor/php-webdriver/webdriver/lib/Exception/WebDriverCurlException.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
class WebDriverCurlException extends WebDriverException
|
||||
{
|
||||
}
|
||||
226
vendor/php-webdriver/webdriver/lib/Exception/WebDriverException.php
vendored
Normal file
226
vendor/php-webdriver/webdriver/lib/Exception/WebDriverException.php
vendored
Normal file
@@ -0,0 +1,226 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
/**
|
||||
* @see https://w3c.github.io/webdriver/#errors
|
||||
*/
|
||||
class WebDriverException extends Exception
|
||||
{
|
||||
private $results;
|
||||
|
||||
/**
|
||||
* @param string $message
|
||||
* @param mixed $results
|
||||
*/
|
||||
public function __construct($message, $results = null)
|
||||
{
|
||||
parent::__construct($message);
|
||||
$this->results = $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getResults()
|
||||
{
|
||||
return $this->results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Throw WebDriverExceptions based on WebDriver status code.
|
||||
*
|
||||
* @param int|string $status_code
|
||||
* @param string $message
|
||||
* @param mixed $results
|
||||
*
|
||||
* @throws ElementClickInterceptedException
|
||||
* @throws ElementNotInteractableException
|
||||
* @throws ElementNotSelectableException
|
||||
* @throws ElementNotVisibleException
|
||||
* @throws ExpectedException
|
||||
* @throws IMEEngineActivationFailedException
|
||||
* @throws IMENotAvailableException
|
||||
* @throws IndexOutOfBoundsException
|
||||
* @throws InsecureCertificateException
|
||||
* @throws InvalidArgumentException
|
||||
* @throws InvalidCookieDomainException
|
||||
* @throws InvalidCoordinatesException
|
||||
* @throws InvalidElementStateException
|
||||
* @throws InvalidSelectorException
|
||||
* @throws InvalidSessionIdException
|
||||
* @throws JavascriptErrorException
|
||||
* @throws MoveTargetOutOfBoundsException
|
||||
* @throws NoAlertOpenException
|
||||
* @throws NoCollectionException
|
||||
* @throws NoScriptResultException
|
||||
* @throws NoStringException
|
||||
* @throws NoStringLengthException
|
||||
* @throws NoStringWrapperException
|
||||
* @throws NoSuchAlertException
|
||||
* @throws NoSuchCollectionException
|
||||
* @throws NoSuchCookieException
|
||||
* @throws NoSuchDocumentException
|
||||
* @throws NoSuchDriverException
|
||||
* @throws NoSuchElementException
|
||||
* @throws NoSuchFrameException
|
||||
* @throws NoSuchWindowException
|
||||
* @throws NullPointerException
|
||||
* @throws ScriptTimeoutException
|
||||
* @throws SessionNotCreatedException
|
||||
* @throws StaleElementReferenceException
|
||||
* @throws TimeoutException
|
||||
* @throws UnableToCaptureScreenException
|
||||
* @throws UnableToSetCookieException
|
||||
* @throws UnexpectedAlertOpenException
|
||||
* @throws UnexpectedJavascriptException
|
||||
* @throws UnknownCommandException
|
||||
* @throws UnknownErrorException
|
||||
* @throws UnknownMethodException
|
||||
* @throws UnknownServerException
|
||||
* @throws UnrecognizedExceptionException
|
||||
* @throws UnsupportedOperationException
|
||||
* @throws XPathLookupException
|
||||
*/
|
||||
public static function throwException($status_code, $message, $results)
|
||||
{
|
||||
if (is_string($status_code)) {
|
||||
// @see https://w3c.github.io/webdriver/#errors
|
||||
switch ($status_code) {
|
||||
case 'element click intercepted':
|
||||
throw new ElementClickInterceptedException($message, $results);
|
||||
case 'element not interactable':
|
||||
throw new ElementNotInteractableException($message, $results);
|
||||
case 'insecure certificate':
|
||||
throw new InsecureCertificateException($message, $results);
|
||||
case 'invalid argument':
|
||||
throw new InvalidArgumentException($message, $results);
|
||||
case 'invalid cookie domain':
|
||||
throw new InvalidCookieDomainException($message, $results);
|
||||
case 'invalid element state':
|
||||
throw new InvalidElementStateException($message, $results);
|
||||
case 'invalid selector':
|
||||
throw new InvalidSelectorException($message, $results);
|
||||
case 'invalid session id':
|
||||
throw new InvalidSessionIdException($message, $results);
|
||||
case 'javascript error':
|
||||
throw new JavascriptErrorException($message, $results);
|
||||
case 'move target out of bounds':
|
||||
throw new MoveTargetOutOfBoundsException($message, $results);
|
||||
case 'no such alert':
|
||||
throw new NoSuchAlertException($message, $results);
|
||||
case 'no such cookie':
|
||||
throw new NoSuchCookieException($message, $results);
|
||||
case 'no such element':
|
||||
throw new NoSuchElementException($message, $results);
|
||||
case 'no such frame':
|
||||
throw new NoSuchFrameException($message, $results);
|
||||
case 'no such window':
|
||||
throw new NoSuchWindowException($message, $results);
|
||||
case 'no such shadow root':
|
||||
throw new NoSuchShadowRootException($message, $results);
|
||||
case 'script timeout':
|
||||
throw new ScriptTimeoutException($message, $results);
|
||||
case 'session not created':
|
||||
throw new SessionNotCreatedException($message, $results);
|
||||
case 'stale element reference':
|
||||
throw new StaleElementReferenceException($message, $results);
|
||||
case 'detached shadow root':
|
||||
throw new DetachedShadowRootException($message, $results);
|
||||
case 'timeout':
|
||||
throw new TimeoutException($message, $results);
|
||||
case 'unable to set cookie':
|
||||
throw new UnableToSetCookieException($message, $results);
|
||||
case 'unable to capture screen':
|
||||
throw new UnableToCaptureScreenException($message, $results);
|
||||
case 'unexpected alert open':
|
||||
throw new UnexpectedAlertOpenException($message, $results);
|
||||
case 'unknown command':
|
||||
throw new UnknownCommandException($message, $results);
|
||||
case 'unknown error':
|
||||
throw new UnknownErrorException($message, $results);
|
||||
case 'unknown method':
|
||||
throw new UnknownMethodException($message, $results);
|
||||
case 'unsupported operation':
|
||||
throw new UnsupportedOperationException($message, $results);
|
||||
default:
|
||||
throw new UnrecognizedExceptionException($message, $results);
|
||||
}
|
||||
}
|
||||
|
||||
switch ($status_code) {
|
||||
case 1:
|
||||
throw new IndexOutOfBoundsException($message, $results);
|
||||
case 2:
|
||||
throw new NoCollectionException($message, $results);
|
||||
case 3:
|
||||
throw new NoStringException($message, $results);
|
||||
case 4:
|
||||
throw new NoStringLengthException($message, $results);
|
||||
case 5:
|
||||
throw new NoStringWrapperException($message, $results);
|
||||
case 6:
|
||||
throw new NoSuchDriverException($message, $results);
|
||||
case 7:
|
||||
throw new NoSuchElementException($message, $results);
|
||||
case 8:
|
||||
throw new NoSuchFrameException($message, $results);
|
||||
case 9:
|
||||
throw new UnknownCommandException($message, $results);
|
||||
case 10:
|
||||
throw new StaleElementReferenceException($message, $results);
|
||||
case 11:
|
||||
throw new ElementNotVisibleException($message, $results);
|
||||
case 12:
|
||||
throw new InvalidElementStateException($message, $results);
|
||||
case 13:
|
||||
throw new UnknownServerException($message, $results);
|
||||
case 14:
|
||||
throw new ExpectedException($message, $results);
|
||||
case 15:
|
||||
throw new ElementNotSelectableException($message, $results);
|
||||
case 16:
|
||||
throw new NoSuchDocumentException($message, $results);
|
||||
case 17:
|
||||
throw new UnexpectedJavascriptException($message, $results);
|
||||
case 18:
|
||||
throw new NoScriptResultException($message, $results);
|
||||
case 19:
|
||||
throw new XPathLookupException($message, $results);
|
||||
case 20:
|
||||
throw new NoSuchCollectionException($message, $results);
|
||||
case 21:
|
||||
throw new TimeoutException($message, $results);
|
||||
case 22:
|
||||
throw new NullPointerException($message, $results);
|
||||
case 23:
|
||||
throw new NoSuchWindowException($message, $results);
|
||||
case 24:
|
||||
throw new InvalidCookieDomainException($message, $results);
|
||||
case 25:
|
||||
throw new UnableToSetCookieException($message, $results);
|
||||
case 26:
|
||||
throw new UnexpectedAlertOpenException($message, $results);
|
||||
case 27:
|
||||
throw new NoAlertOpenException($message, $results);
|
||||
case 28:
|
||||
throw new ScriptTimeoutException($message, $results);
|
||||
case 29:
|
||||
throw new InvalidCoordinatesException($message, $results);
|
||||
case 30:
|
||||
throw new IMENotAvailableException($message, $results);
|
||||
case 31:
|
||||
throw new IMEEngineActivationFailedException($message, $results);
|
||||
case 32:
|
||||
throw new InvalidSelectorException($message, $results);
|
||||
case 33:
|
||||
throw new SessionNotCreatedException($message, $results);
|
||||
case 34:
|
||||
throw new MoveTargetOutOfBoundsException($message, $results);
|
||||
default:
|
||||
throw new UnrecognizedExceptionException($message, $results);
|
||||
}
|
||||
}
|
||||
}
|
||||
10
vendor/php-webdriver/webdriver/lib/Exception/XPathLookupException.php
vendored
Normal file
10
vendor/php-webdriver/webdriver/lib/Exception/XPathLookupException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Facebook\WebDriver\Exception;
|
||||
|
||||
/**
|
||||
* @deprecated Removed in W3C WebDriver, see https://github.com/php-webdriver/php-webdriver/pull/686
|
||||
*/
|
||||
class XPathLookupException extends WebDriverException
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user