Exception
Table of Contents
Namespaces
Interfaces
- PhpWebDriverExceptionInterface
- Common interface to identify all exceptions thrown in php-webdriver (both those of WebDriver protocol and internal).
Classes
- DetachedShadowRootException
- A command failed because the referenced shadow root is no longer attached to the DOM.
- ElementClickInterceptedException
- The Element Click command could not be completed because the element receiving the events is obscuring the element that was requested clicked.
- ElementNotInteractableException
- A command could not be completed because the element is not pointer- or keyboard interactable.
- ElementNotSelectableException
- A command could not be completed because the element is not pointer- or keyboard interactable.
- ElementNotVisibleException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- ExpectedException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- IMEEngineActivationFailedException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- IMENotAvailableException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- IndexOutOfBoundsException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- InsecureCertificateException
- Navigation caused the user agent to hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.
- InvalidArgumentException
- The arguments passed to a command are either invalid or malformed.
- InvalidCookieDomainException
- An illegal attempt was made to set a cookie under a different domain than the current page.
- InvalidCoordinatesException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- InvalidElementStateException
- 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.
- InvalidSelectorException
- Argument was an invalid selector.
- InvalidSessionIdException
- 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.
- JavascriptErrorException
- An error occurred while executing JavaScript supplied by the user.
- MoveTargetOutOfBoundsException
- The target for mouse interaction is not in the browser’s viewport and cannot be brought into that viewport.
- NoAlertOpenException
- An attempt was made to operate on a modal dialog when one was not open.
- NoCollectionException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoScriptResultException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoStringException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoStringLengthException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoStringWrapperException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoSuchAlertException
- An attempt was made to operate on a modal dialog when one was not open.
- NoSuchCollectionException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoSuchCookieException
- No cookie matching the given path name was found amongst the associated cookies of the current browsing context’s active document.
- NoSuchDocumentException
- A command to switch to a window could not be satisfied because the window could not be found.
- NoSuchDriverException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- NoSuchElementException
- An element could not be located on the page using the given search parameters.
- NoSuchFrameException
- A command to switch to a frame could not be satisfied because the frame could not be found.
- NoSuchShadowRootException
- The element does not have a shadow root.
- NoSuchWindowException
- A command to switch to a window could not be satisfied because the window could not be found.
- NullPointerException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- ScriptTimeoutException
- A script did not complete before its timeout expired.
- SessionNotCreatedException
- A new session could not be created.
- StaleElementReferenceException
- A command failed because the referenced element is no longer attached to the DOM.
- TimeoutException
- An operation did not complete before its timeout expired.
- UnableToCaptureScreenException
- A screen capture was made impossible.
- UnableToSetCookieException
- A command to set a cookie’s value could not be satisfied.
- UnexpectedAlertOpenException
- A modal dialog was open, blocking this operation.
- UnexpectedJavascriptException
- An error occurred while executing JavaScript supplied by the user.
- UnexpectedTagNameException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- UnknownCommandException
- A command could not be executed because the remote end is not aware of it.
- UnknownErrorException
- An unknown error occurred in the remote end while processing the command.
- UnknownMethodException
- The requested command matched a known URL but did not match an method for that URL.
- UnknownServerException
- An unknown error occurred in the remote end while processing the command.
- UnrecognizedExceptionException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- UnsupportedOperationException
- Indicates that a command that should have executed properly cannot be supported for some reason.
- WebDriverException
- Ancestor for all exceptions defined in W3C WebDriver standard.
- XPathLookupException
- Ancestor for all exceptions defined in W3C WebDriver standard.