[][src]Enum thirtyfour::error::WebDriverError

pub enum WebDriverError {
    ConnectionError(RemoteConnectionError),
    NotFoundError(String),
    JsonError(String),
    DecodeError(String),
    IOError(String),
    RequestFailed(String),
    NotInSpec(WebDriverErrorInfo),
    ElementClickIntercepted(WebDriverErrorInfo),
    ElementNotInteractable(WebDriverErrorInfo),
    InsecureCertificate(WebDriverErrorInfo),
    InvalidArgument(WebDriverErrorInfo),
    InvalidCookieDomain(WebDriverErrorInfo),
    InvalidElementState(WebDriverErrorInfo),
    InvalidSelector(WebDriverErrorInfo),
    InvalidSessionId(WebDriverErrorInfo),
    JavascriptError(WebDriverErrorInfo),
    MoveTargetOutOfBounds(WebDriverErrorInfo),
    NoSuchAlert(WebDriverErrorInfo),
    NoSuchCookie(WebDriverErrorInfo),
    NoSuchElement(WebDriverErrorInfo),
    NoSuchFrame(WebDriverErrorInfo),
    NoSuchWindow(WebDriverErrorInfo),
    ScriptTimeout(WebDriverErrorInfo),
    SessionNotCreated(WebDriverErrorInfo),
    StaleElementReference(WebDriverErrorInfo),
    Timeout(WebDriverErrorInfo),
    UnableToSetCookie(WebDriverErrorInfo),
    UnableToCaptureScreen(WebDriverErrorInfo),
    UnexpectedAlertOpen(WebDriverErrorInfo),
    UnknownCommand(WebDriverErrorInfo),
    UnknownError(WebDriverErrorInfo),
    UnknownMethod(WebDriverErrorInfo),
    UnsupportedOperation(WebDriverErrorInfo),
}

WebDriverError is the main error type

Variants

ConnectionError(RemoteConnectionError)
NotFoundError(String)
JsonError(String)
DecodeError(String)
IOError(String)
RequestFailed(String)
ElementClickIntercepted(WebDriverErrorInfo)
ElementNotInteractable(WebDriverErrorInfo)
InsecureCertificate(WebDriverErrorInfo)
InvalidArgument(WebDriverErrorInfo)
InvalidCookieDomain(WebDriverErrorInfo)
InvalidElementState(WebDriverErrorInfo)
InvalidSelector(WebDriverErrorInfo)
InvalidSessionId(WebDriverErrorInfo)
JavascriptError(WebDriverErrorInfo)
MoveTargetOutOfBounds(WebDriverErrorInfo)
NoSuchAlert(WebDriverErrorInfo)
NoSuchCookie(WebDriverErrorInfo)
NoSuchElement(WebDriverErrorInfo)
NoSuchFrame(WebDriverErrorInfo)
NoSuchWindow(WebDriverErrorInfo)
ScriptTimeout(WebDriverErrorInfo)
SessionNotCreated(WebDriverErrorInfo)
StaleElementReference(WebDriverErrorInfo)
UnableToSetCookie(WebDriverErrorInfo)
UnableToCaptureScreen(WebDriverErrorInfo)
UnexpectedAlertOpen(WebDriverErrorInfo)
UnknownCommand(WebDriverErrorInfo)
UnknownError(WebDriverErrorInfo)
UnknownMethod(WebDriverErrorInfo)
UnsupportedOperation(WebDriverErrorInfo)

Methods

impl WebDriverError[src]

pub fn parse(status: u16, body: Value) -> Self[src]

Trait Implementations

impl Clone for WebDriverError[src]

impl Debug for WebDriverError[src]

impl From<DecodeError> for WebDriverError[src]

impl From<Error> for WebDriverError[src]

impl From<Error> for WebDriverError[src]

impl From<RemoteConnectionError> for WebDriverError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,