[][src]Enum thirtyfour::common::command::Command

pub enum Command<'a> {
    NewSession(&'a Value),
    DeleteSession,
    Status,
    GetTimeouts,
    SetTimeouts(TimeoutConfiguration),
    NavigateTo(String),
    GetCurrentUrl,
    Back,
    Forward,
    Refresh,
    GetTitle,
    GetWindowHandle,
    CloseWindow,
    SwitchToWindow(&'a WindowHandle),
    GetWindowHandles,
    SwitchToFrameDefault,
    SwitchToFrameNumber(u16),
    SwitchToFrameElement(&'a ElementId),
    SwitchToParentFrame,
    GetWindowRect,
    SetWindowRect(OptionRect),
    MaximizeWindow,
    MinimizeWindow,
    FullscreenWindow,
    GetActiveElement,
    FindElement(By<'a>),
    FindElements(By<'a>),
    FindElementFromElement(&'a ElementIdBy<'a>),
    FindElementsFromElement(&'a ElementIdBy<'a>),
    IsElementSelected(&'a ElementId),
    GetElementAttribute(&'a ElementIdString),
    GetElementProperty(&'a ElementIdString),
    GetElementCSSValue(&'a ElementIdString),
    GetElementText(&'a ElementId),
    GetElementTagName(&'a ElementId),
    GetElementRect(&'a ElementId),
    IsElementEnabled(&'a ElementId),
    ElementClick(&'a ElementId),
    ElementClear(&'a ElementId),
    ElementSendKeys(&'a ElementIdTypingData),
    GetPageSource,
    ExecuteScript(StringVec<Value>),
    ExecuteAsyncScript(StringVec<Value>),
    GetAllCookies,
    GetNamedCookie(&'a str),
    AddCookie(Cookie),
    DeleteCookie(&'a str),
    DeleteAllCookies,
    PerformActions(Actions),
    ReleaseActions,
    DismissAlert,
    AcceptAlert,
    GetAlertText,
    SendAlertText(TypingData),
    TakeScreenshot,
    TakeElementScreenshot(&'a ElementId),
}

Variants

NewSession(&'a Value)
DeleteSession
Status
GetTimeouts
NavigateTo(String)
GetCurrentUrl
Back
Forward
Refresh
GetTitle
GetWindowHandle
CloseWindow
SwitchToWindow(&'a WindowHandle)
GetWindowHandles
SwitchToFrameDefault
SwitchToFrameNumber(u16)
SwitchToFrameElement(&'a ElementId)
SwitchToParentFrame
GetWindowRect
SetWindowRect(OptionRect)
MaximizeWindow
MinimizeWindow
FullscreenWindow
GetActiveElement
FindElement(By<'a>)
FindElements(By<'a>)
FindElementFromElement(&'a ElementIdBy<'a>)
FindElementsFromElement(&'a ElementIdBy<'a>)
IsElementSelected(&'a ElementId)
GetElementAttribute(&'a ElementIdString)
GetElementProperty(&'a ElementIdString)
GetElementCSSValue(&'a ElementIdString)
GetElementText(&'a ElementId)
GetElementTagName(&'a ElementId)
GetElementRect(&'a ElementId)
IsElementEnabled(&'a ElementId)
ElementClick(&'a ElementId)
ElementClear(&'a ElementId)
ElementSendKeys(&'a ElementIdTypingData)
GetPageSource
ExecuteScript(StringVec<Value>)
ExecuteAsyncScript(StringVec<Value>)
GetAllCookies
GetNamedCookie(&'a str)
AddCookie(Cookie)
DeleteCookie(&'a str)
DeleteAllCookies
PerformActions(Actions)
ReleaseActions
DismissAlert
AcceptAlert
GetAlertText
SendAlertText(TypingData)
TakeScreenshot
TakeElementScreenshot(&'a ElementId)

Methods

impl<'a> Command<'a>[src]

pub fn format_request(&self, session_id: &SessionId) -> RequestData[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Command<'a>

impl<'a> Send for Command<'a>

impl<'a> Sync for Command<'a>

impl<'a> Unpin for Command<'a>

impl<'a> UnwindSafe for Command<'a>

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, 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.