Enum marionette::webdriver::Command
source · [−]pub enum Command {
Show 55 variants
AcceptAlert,
AddCookie(Cookie),
CloseWindow,
DeleteCookie(String),
DeleteCookies,
DeleteSession,
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,
GetShadowRoot {
id: String,
},
GetTimeouts,
GetTitle,
GetWindowHandle,
GetWindowHandles,
GetWindowRect,
GoBack,
GoForward,
IsDisplayed(LegacyWebElement),
IsEnabled(LegacyWebElement),
IsSelected(LegacyWebElement),
MaximizeWindow,
MinimizeWindow,
NewWindow(NewWindow),
Print(PrintParameters),
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
DeleteSession
DismissAlert
ElementClear(LegacyWebElement)
ElementClick(LegacyWebElement)
ElementSendKeys
ExecuteAsyncScript(Script)
ExecuteScript(Script)
FindElement(Locator)
FindElements(Locator)
FindElementElement
FindElementElements
FullscreenWindow
Get(Url)
GetActiveElement
GetAlertText
GetCookies
GetCSSValue
GetCurrentUrl
GetElementAttribute
GetElementProperty
GetElementRect(LegacyWebElement)
GetElementTagName(LegacyWebElement)
GetElementText(LegacyWebElement)
GetPageSource
GetShadowRoot
Fields
id: String
GetTimeouts
GetTitle
GetWindowHandle
GetWindowHandles
GetWindowRect
GoBack
GoForward
IsDisplayed(LegacyWebElement)
IsEnabled(LegacyWebElement)
IsSelected(LegacyWebElement)
MaximizeWindow
MinimizeWindow
NewWindow(NewWindow)
Print(PrintParameters)
Refresh
ReleaseActions
SendAlertText(Keys)
SetTimeouts(Timeouts)
SetWindowRect(WindowRect)
SwitchToFrame(Frame)
SwitchToParentFrame
SwitchToWindow(Window)
TakeElementScreenshot(ScreenshotOptions)
TakeFullScreenshot(ScreenshotOptions)
TakeScreenshot(ScreenshotOptions)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more