Enum marionette::webdriver::Command
source · pub enum Command {
Show 66 variants
AcceptAlert,
AddCookie(Cookie),
CloseWindow,
DeleteCookie(String),
DeleteCookies,
DeleteSession,
DismissAlert,
ElementClear {
id: String,
},
ElementClick {
id: String,
},
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,
},
FindShadowRootElement {
shadow_root: String,
using: Selector,
value: String,
},
FindShadowRootElements {
shadow_root: String,
using: Selector,
value: String,
},
FullscreenWindow,
Get(Url),
GetActiveElement,
GetAlertText,
GetComputedLabel {
id: String,
},
GetComputedRole {
id: String,
},
GetCookies,
GetCSSValue {
id: String,
property: String,
},
GetCurrentUrl,
GetElementAttribute {
id: String,
name: String,
},
GetElementProperty {
id: String,
name: String,
},
GetElementRect {
id: String,
},
GetElementTagName {
id: String,
},
GetElementText {
id: String,
},
GetPageSource,
GetShadowRoot {
id: String,
},
GetTimeouts,
GetTitle,
GetWindowHandle,
GetWindowHandles,
GetWindowRect,
GoBack,
GoForward,
IsDisplayed {
id: String,
},
IsEnabled {
id: String,
},
IsSelected {
id: String,
},
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),
WebAuthnAddVirtualAuthenticator(AuthenticatorParameters),
WebAuthnRemoveVirtualAuthenticator,
WebAuthnAddCredential(CredentialParameters),
WebAuthnGetCredentials,
WebAuthnRemoveCredential,
WebAuthnRemoveAllCredentials,
WebAuthnSetUserVerified(UserVerificationParameters),
}
Variants§
AcceptAlert
AddCookie(Cookie)
CloseWindow
DeleteCookie(String)
DeleteCookies
DeleteSession
DismissAlert
ElementClear
ElementClick
ElementSendKeys
ExecuteAsyncScript(Script)
ExecuteScript(Script)
FindElement(Locator)
FindElements(Locator)
FindElementElement
FindElementElements
FindShadowRootElement
FindShadowRootElements
FullscreenWindow
Get(Url)
GetActiveElement
GetAlertText
GetComputedLabel
GetComputedRole
GetCookies
GetCSSValue
GetCurrentUrl
GetElementAttribute
GetElementProperty
GetElementRect
GetElementTagName
GetElementText
GetPageSource
GetShadowRoot
GetTimeouts
GetTitle
GetWindowHandle
GetWindowHandles
GetWindowRect
GoBack
GoForward
IsDisplayed
IsEnabled
IsSelected
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)
WebAuthnAddVirtualAuthenticator(AuthenticatorParameters)
WebAuthnRemoveVirtualAuthenticator
WebAuthnAddCredential(CredentialParameters)
WebAuthnGetCredentials
WebAuthnRemoveCredential
WebAuthnRemoveAllCredentials
WebAuthnSetUserVerified(UserVerificationParameters)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
source§fn 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
source§impl PartialEq for Command
impl PartialEq for Command
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more