[][src]Enum marionette::webdriver::Command

pub enum Command {
    AcceptAlert,
    AddCookie(Cookie),
    CloseWindow,
    DeleteCookie(String),
    DeleteCookies,
    DismissAlert,
    ElementClear(LegacyWebElement),
    ElementClick(LegacyWebElement),
    ElementSendKeys {
        id: String,
        text: String,
        value: Vec<String>,
    },
    ExecuteAsyncScript(Script),
    ExecuteScript(Script),
    FindElement(Locator),
    FindElements(Locator),
    FindElementElement {
        element: String,
        using: Selector,
        value: String,
    },
    FindElementElements {
        element: String,
        using: Selector,
        value: String,
    },
    FullscreenWindow,
    Get(Url),
    GetActiveElement,
    GetAlertText,
    GetCookies,
    GetCSSValue {
        id: String,
        property: String,
    },
    GetCurrentUrl,
    GetElementAttribute {
        id: String,
        name: String,
    },
    GetElementProperty {
        id: String,
        name: String,
    },
    GetElementRect(LegacyWebElement),
    GetElementTagName(LegacyWebElement),
    GetElementText(LegacyWebElement),
    GetPageSource,
    GetTimeouts,
    GetTitle,
    GetWindowHandle,
    GetWindowHandles,
    GetWindowRect,
    GoBack,
    GoForward,
    IsDisplayed(LegacyWebElement),
    IsEnabled(LegacyWebElement),
    IsSelected(LegacyWebElement),
    MaximizeWindow,
    MinimizeWindow,
    NewWindow(NewWindow),
    Refresh,
    ReleaseActions,
    SendAlertText(Keys),
    SetTimeouts(Timeouts),
    SetWindowRect(WindowRect),
    SwitchToFrame(Frame),
    SwitchToParentFrame,
    SwitchToWindow(Window),
    TakeElementScreenshot(ScreenshotOptions),
    TakeFullScreenshot(ScreenshotOptions),
    TakeScreenshot(ScreenshotOptions),
}

Variants

AcceptAlert
AddCookie(Cookie)
CloseWindow
DeleteCookie(String)
DeleteCookies
DismissAlert
ElementClear(LegacyWebElement)
ElementClick(LegacyWebElement)
ElementSendKeys

Fields of ElementSendKeys

id: Stringtext: Stringvalue: Vec<String>
ExecuteAsyncScript(Script)
ExecuteScript(Script)
FindElement(Locator)
FindElements(Locator)
FindElementElement

Fields of FindElementElement

element: Stringusing: Selectorvalue: String
FindElementElements

Fields of FindElementElements

element: Stringusing: Selectorvalue: String
FullscreenWindow
Get(Url)
GetActiveElement
GetAlertText
GetCookies
GetCSSValue

Fields of GetCSSValue

id: Stringproperty: String
GetCurrentUrl
GetElementAttribute

Fields of GetElementAttribute

id: Stringname: String
GetElementProperty

Fields of GetElementProperty

id: Stringname: String
GetElementRect(LegacyWebElement)
GetElementTagName(LegacyWebElement)
GetElementText(LegacyWebElement)
GetPageSource
GetTimeouts
GetTitle
GetWindowHandle
GetWindowHandles
GetWindowRect
GoBack
GoForward
IsDisplayed(LegacyWebElement)
IsEnabled(LegacyWebElement)
IsSelected(LegacyWebElement)
MaximizeWindow
MinimizeWindow
NewWindow(NewWindow)
Refresh
ReleaseActions
SendAlertText(Keys)
SetTimeouts(Timeouts)
SetWindowRect(WindowRect)
SwitchToFrame(Frame)
SwitchToParentFrame
SwitchToWindow(Window)
TakeElementScreenshot(ScreenshotOptions)
TakeFullScreenshot(ScreenshotOptions)
TakeScreenshot(ScreenshotOptions)

Trait Implementations

impl Clone for Command[src]

impl PartialEq<Command> for Command[src]

impl Debug for Command[src]

impl StructuralPartialEq for Command[src]

impl Serialize for Command[src]

impl<'de> Deserialize<'de> for Command[src]

Auto Trait Implementations

impl Send for Command

impl Sync for Command

impl Unpin for Command

impl UnwindSafe for Command

impl RefUnwindSafe for Command

Blanket Implementations

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

impl<T> From<T> for 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<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]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]