[−][src]Enum thirtyfour::error::WebDriverError
WebDriverError is the main error type for thirtyfour
Variants (Non-exhaustive)
UnknownResponse(String)
The WebDriver server returned an unrecognised response: {0}
The requested item '{0}' was not found: {1}
Timeout(String)
operation timed out: {0}
JsonError(Error)
Unable to parse JSON: {0}
DecodeError(DecodeError)
Unable to decode base64: {0}
IOError(Error)
IO Error: {0}
ReqwestError(Error)
The WebDriver request returned an error: {0}
NotInSpec(WebDriverErrorInfo)
The WebDriver response does not conform to the W3C WebDriver spec: {0}
ElementClickIntercepted(WebDriverErrorInfo)
The click event was intercepted by another element: {0}
ElementNotInteractable(WebDriverErrorInfo)
The element is not interactable: {0}
InsecureCertificate(WebDriverErrorInfo)
The certificate is insecure: {0}
InvalidArgument(WebDriverErrorInfo)
An argument passed to the WebDriver server was invalid: {0}
InvalidCookieDomain(WebDriverErrorInfo)
Invalid cookie domain: {0}
InvalidElementState(WebDriverErrorInfo)
The element is in an invalid state: {0}
InvalidSelector(WebDriverErrorInfo)
The specified element selector is invalid: {0}
InvalidSessionId(WebDriverErrorInfo)
The WebDriver session id is invalid: {0}
JavascriptError(WebDriverErrorInfo)
The Javascript code returned an error: {0}
MoveTargetOutOfBounds(WebDriverErrorInfo)
Unable to scroll the element into the viewport: {0}
NoSuchAlert(WebDriverErrorInfo)
Alert not found: {0}
NoSuchCookie(WebDriverErrorInfo)
Cookie not found: {0}
NoSuchElement(WebDriverErrorInfo)
Element not found: {0}
NoSuchFrame(WebDriverErrorInfo)
Frame not found: {0}
NoSuchWindow(WebDriverErrorInfo)
Window not found: {0}
ScriptTimeout(WebDriverErrorInfo)
The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}
SessionNotCreated(WebDriverErrorInfo)
Unable to create WebDriver session: {0}
StaleElementReference(WebDriverErrorInfo)
Element is stale: {0}
WebDriverTimeout(WebDriverErrorInfo)
Operation timed out: {0}
UnableToSetCookie(WebDriverErrorInfo)
Unable to set cookie: {0}
UnableToCaptureScreen(WebDriverErrorInfo)
Unable to capture screenshot: {0}
UnexpectedAlertOpen(WebDriverErrorInfo)
An unexpected alert is currently open: {0}
UnknownCommand(WebDriverErrorInfo)
Unknown command: {0}
UnknownError(WebDriverErrorInfo)
Unknown error: {0}
UnknownMethod(WebDriverErrorInfo)
Unknown method: {0}
UnsupportedOperation(WebDriverErrorInfo)
Unsupport operation: {0}
Implementations
impl WebDriverError
[src]
Trait Implementations
impl Debug for WebDriverError
[src]
impl Display for WebDriverError
[src]
impl Error for WebDriverError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<DecodeError> for WebDriverError
[src]
fn from(source: DecodeError) -> Self
[src]
impl From<Error> for WebDriverError
[src]
impl From<Error> for WebDriverError
[src]
impl From<Error> for WebDriverError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WebDriverError
impl Send for WebDriverError
impl Sync for WebDriverError
impl Unpin for WebDriverError
impl !UnwindSafe for WebDriverError
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,