[−][src]Enum webdriver::error::ErrorStatus
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.
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.
Implementations
impl ErrorStatus
[src]
pub fn error_code(&self) -> &'static str
[src]
Returns the string serialisation of the error type.
pub fn http_status(&self) -> StatusCode
[src]
Returns the correct HTTP status code associated with the error type.
Trait Implementations
impl Debug for ErrorStatus
[src]
impl<'de> Deserialize<'de> for ErrorStatus
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl From<String> for ErrorStatus
[src]
Deserialises error type from string.
fn from(s: String) -> ErrorStatus
[src]
impl PartialEq<ErrorStatus> for ErrorStatus
[src]
fn eq(&self, other: &ErrorStatus) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for ErrorStatus
[src]
impl StructuralPartialEq for ErrorStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorStatus
impl Send for ErrorStatus
impl Sync for ErrorStatus
impl Unpin for ErrorStatus
impl UnwindSafe for ErrorStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,