Enum webdriver::error::ErrorStatus [] [src]

pub enum ErrorStatus {
    ElementClickIntercepted,
    ElementNotInteractable,
    ElementNotSelectable,
    InsecureCertificate,
    InvalidArgument,
    InvalidCookieDomain,
    InvalidCoordinates,
    InvalidElementState,
    InvalidSelector,
    InvalidSessionId,
    JavascriptError,
    MoveTargetOutOfBounds,
    NoSuchAlert,
    NoSuchCookie,
    NoSuchElement,
    NoSuchFrame,
    NoSuchWindow,
    ScriptTimeout,
    SessionNotCreated,
    StaleElementReference,
    Timeout,
    UnableToCaptureScreen,
    UnableToSetCookie,
    UnexpectedAlertOpen,
    UnknownCommand,
    UnknownError,
    UnknownMethod,
    UnknownPath,
    UnsupportedOperation,
}

Variants

The ElementClick command could not be completed because the element receiving the events is obscuring the element that was requested clicked.

A command could not be completed because the element is not pointer- or keyboard interactable.

An attempt was made to select an element that cannot be selected.

Navigation caused the user agent to hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.

The arguments passed to a command are either invalid or malformed.

An illegal attempt was made to set a cookie under a different domain than the current page.

The coordinates provided to an interactions operation are invalid.

A command could not be completed because the element is an invalid state, e.g. attempting to click an element that is no longer attached to the document.

Argument was an invalid selector.

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.

An error occurred while executing JavaScript supplied by the user.

The target for mouse interaction is not in the browser’s viewport and cannot be brought into that viewport.

An attempt was made to operate on a modal dialogue when one was not open.

No cookie matching the given path name was found amongst the associated cookies of the current browsing context’s active document.

An element could not be located on the page using the given search parameters.

A command to switch to a frame could not be satisfied because the frame could not be found.

A command to switch to a window could not be satisfied because the window could not be found.

A script did not complete before its timeout expired.

A new session could not be created.

A command failed because the referenced element is no longer attached to the DOM.

An operation did not complete before its timeout expired.

A screen capture was made impossible.

Setting the cookie’s value could not be done.

A modal dialogue was open, blocking this operation.

The requested command could not be executed because it does not exist.

An unknown error occurred in the remote end whilst processing the command.

The requested command matched a known endpoint, but did not match a method for that endpoint.

Indicates that a [command] that should have executed properly is not currently supported.

Methods

impl ErrorStatus
[src]

Trait Implementations

impl PartialEq for ErrorStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ErrorStatus
[src]

Formats the value using the given formatter.