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

pub enum Command<'a> {
    NewSession(DesiredCapabilities),
    DeleteSession(&'a SessionId),
    Status,
    GetTimeouts(&'a SessionId),
    SetTimeouts(&'a SessionIdTimeoutConfiguration),
    NavigateTo(&'a SessionIdString),
    GetCurrentUrl(&'a SessionId),
    Back(&'a SessionId),
    Forward(&'a SessionId),
    Refresh(&'a SessionId),
    GetTitle(&'a SessionId),
    GetWindowHandle(&'a SessionId),
    CloseWindow(&'a SessionId),
    SwitchToWindow(&'a SessionIdWindowHandle),
    GetWindowHandles(&'a SessionId),
    SwitchToFrame(&'a SessionId, &'a ElementId),
    SwitchToParentFrame(&'a SessionId),
    GetWindowRect(&'a SessionId),
    SetWindowRect(&'a SessionIdOptionRect),
    MaximizeWindow(&'a SessionId),
    MinimizeWindow(&'a SessionId),
    FullscreenWindow(&'a SessionId),
    GetActiveElement(&'a SessionId),
    FindElement(&'a SessionIdBy<'a>),
    FindElements(&'a SessionIdBy<'a>),
    FindElementFromElement(&'a SessionId, &'a ElementIdBy<'a>),
    FindElementsFromElement(&'a SessionId, &'a ElementIdBy<'a>),
    IsElementSelected(&'a SessionId, &'a ElementId),
    GetElementAttribute(&'a SessionId, &'a ElementIdString),
    GetElementProperty(&'a SessionId, &'a ElementIdString),
    GetElementCSSValue(&'a SessionId, &'a ElementIdString),
    GetElementText(&'a SessionId, &'a ElementId),
    GetElementTagName(&'a SessionId, &'a ElementId),
    GetElementRect(&'a SessionId, &'a ElementId),
    IsElementEnabled(&'a SessionId, &'a ElementId),
    ElementClick(&'a SessionId, &'a ElementId),
    ElementClear(&'a SessionId, &'a ElementId),
    ElementSendKeys(&'a SessionId, &'a ElementIdTypingData),
    GetPageSource(&'a SessionId),
    ExecuteScript(&'a SessionIdStringVec<Value>),
    ExecuteAsyncScript(&'a SessionIdStringVec<Value>),
    GetAllCookies(&'a SessionId),
    GetNamedCookie(&'a SessionIdString),
    AddCookie(&'a SessionIdValue),
    DeleteCookie(&'a SessionIdString),
    DeleteAllCookies(&'a SessionId),
    PerformActions(&'a SessionIdValue),
    ReleaseActions(&'a SessionId),
    DismissAlert(&'a SessionId),
    AcceptAlert(&'a SessionId),
    GetAlertText(&'a SessionId),
    SendAlertText(&'a SessionIdTypingData),
    TakeScreenshot(&'a SessionId),
    TakeElementScreenshot(&'a SessionId, &'a ElementId),
}

Variants

DeleteSession(&'a SessionId)
Status
GetTimeouts(&'a SessionId)
SetTimeouts(&'a SessionIdTimeoutConfiguration)
NavigateTo(&'a SessionIdString)
GetCurrentUrl(&'a SessionId)
Back(&'a SessionId)
Forward(&'a SessionId)
Refresh(&'a SessionId)
GetTitle(&'a SessionId)
GetWindowHandle(&'a SessionId)
CloseWindow(&'a SessionId)
SwitchToWindow(&'a SessionIdWindowHandle)
GetWindowHandles(&'a SessionId)
SwitchToFrame(&'a SessionId, &'a ElementId)
SwitchToParentFrame(&'a SessionId)
GetWindowRect(&'a SessionId)
SetWindowRect(&'a SessionIdOptionRect)
MaximizeWindow(&'a SessionId)
MinimizeWindow(&'a SessionId)
FullscreenWindow(&'a SessionId)
GetActiveElement(&'a SessionId)
FindElement(&'a SessionIdBy<'a>)
FindElements(&'a SessionIdBy<'a>)
FindElementFromElement(&'a SessionId, &'a ElementIdBy<'a>)
FindElementsFromElement(&'a SessionId, &'a ElementIdBy<'a>)
IsElementSelected(&'a SessionId, &'a ElementId)
GetElementAttribute(&'a SessionId, &'a ElementIdString)
GetElementProperty(&'a SessionId, &'a ElementIdString)
GetElementCSSValue(&'a SessionId, &'a ElementIdString)
GetElementText(&'a SessionId, &'a ElementId)
GetElementTagName(&'a SessionId, &'a ElementId)
GetElementRect(&'a SessionId, &'a ElementId)
IsElementEnabled(&'a SessionId, &'a ElementId)
ElementClick(&'a SessionId, &'a ElementId)
ElementClear(&'a SessionId, &'a ElementId)
ElementSendKeys(&'a SessionId, &'a ElementIdTypingData)
GetPageSource(&'a SessionId)
ExecuteScript(&'a SessionIdStringVec<Value>)
ExecuteAsyncScript(&'a SessionIdStringVec<Value>)
GetAllCookies(&'a SessionId)
GetNamedCookie(&'a SessionIdString)
AddCookie(&'a SessionIdValue)
DeleteCookie(&'a SessionIdString)
DeleteAllCookies(&'a SessionId)
PerformActions(&'a SessionIdValue)
ReleaseActions(&'a SessionId)
DismissAlert(&'a SessionId)
AcceptAlert(&'a SessionId)
GetAlertText(&'a SessionId)
SendAlertText(&'a SessionIdTypingData)
TakeScreenshot(&'a SessionId)
TakeElementScreenshot(&'a SessionId, &'a ElementId)

Methods

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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