Enum webdriver::command::WebDriverCommand
source · pub enum WebDriverCommand<T: WebDriverExtensionCommand> {
Show 71 variants
NewSession(NewSessionParameters),
DeleteSession,
Get(GetParameters),
GetCurrentUrl,
GoBack,
GoForward,
Refresh,
GetTitle,
GetPageSource,
GetWindowHandle,
GetWindowHandles,
NewWindow(NewWindowParameters),
CloseWindow,
GetWindowRect,
SetWindowRect(WindowRectParameters),
MinimizeWindow,
MaximizeWindow,
FullscreenWindow,
SwitchToWindow(SwitchToWindowParameters),
SwitchToFrame(SwitchToFrameParameters),
SwitchToParentFrame,
FindElement(LocatorParameters),
FindElements(LocatorParameters),
FindElementElement(WebElement, LocatorParameters),
FindElementElements(WebElement, LocatorParameters),
FindShadowRootElement(ShadowRoot, LocatorParameters),
FindShadowRootElements(ShadowRoot, LocatorParameters),
GetActiveElement,
GetComputedLabel(WebElement),
GetComputedRole(WebElement),
GetShadowRoot(WebElement),
IsDisplayed(WebElement),
IsSelected(WebElement),
GetElementAttribute(WebElement, String),
GetElementProperty(WebElement, String),
GetCSSValue(WebElement, String),
GetElementText(WebElement),
GetElementTagName(WebElement),
GetElementRect(WebElement),
IsEnabled(WebElement),
ExecuteScript(JavascriptCommandParameters),
ExecuteAsyncScript(JavascriptCommandParameters),
GetCookies,
GetNamedCookie(String),
AddCookie(AddCookieParameters),
DeleteCookies,
DeleteCookie(String),
GetTimeouts,
SetTimeouts(TimeoutsParameters),
ElementClick(WebElement),
ElementClear(WebElement),
ElementSendKeys(WebElement, SendKeysParameters),
PerformActions(ActionsParameters),
ReleaseActions,
DismissAlert,
AcceptAlert,
GetAlertText,
SendAlertText(SendKeysParameters),
TakeScreenshot,
TakeElementScreenshot(WebElement),
Print(PrintParameters),
SetPermission(SetPermissionParameters),
Status,
Extension(T),
WebAuthnAddVirtualAuthenticator(AuthenticatorParameters),
WebAuthnRemoveVirtualAuthenticator,
WebAuthnAddCredential(CredentialParameters),
WebAuthnGetCredentials,
WebAuthnRemoveCredential,
WebAuthnRemoveAllCredentials,
WebAuthnSetUserVerified(UserVerificationParameters),
}
Variants§
NewSession(NewSessionParameters)
DeleteSession
Get(GetParameters)
GetCurrentUrl
GoBack
GoForward
Refresh
GetTitle
GetPageSource
GetWindowHandle
GetWindowHandles
NewWindow(NewWindowParameters)
CloseWindow
GetWindowRect
SetWindowRect(WindowRectParameters)
MinimizeWindow
MaximizeWindow
FullscreenWindow
SwitchToWindow(SwitchToWindowParameters)
SwitchToFrame(SwitchToFrameParameters)
SwitchToParentFrame
FindElement(LocatorParameters)
FindElements(LocatorParameters)
FindElementElement(WebElement, LocatorParameters)
FindElementElements(WebElement, LocatorParameters)
FindShadowRootElement(ShadowRoot, LocatorParameters)
FindShadowRootElements(ShadowRoot, LocatorParameters)
GetActiveElement
GetComputedLabel(WebElement)
GetComputedRole(WebElement)
GetShadowRoot(WebElement)
IsDisplayed(WebElement)
IsSelected(WebElement)
GetElementAttribute(WebElement, String)
GetElementProperty(WebElement, String)
GetCSSValue(WebElement, String)
GetElementText(WebElement)
GetElementTagName(WebElement)
GetElementRect(WebElement)
IsEnabled(WebElement)
ExecuteScript(JavascriptCommandParameters)
ExecuteAsyncScript(JavascriptCommandParameters)
GetCookies
GetNamedCookie(String)
AddCookie(AddCookieParameters)
DeleteCookies
DeleteCookie(String)
GetTimeouts
SetTimeouts(TimeoutsParameters)
ElementClick(WebElement)
ElementClear(WebElement)
ElementSendKeys(WebElement, SendKeysParameters)
PerformActions(ActionsParameters)
ReleaseActions
DismissAlert
AcceptAlert
GetAlertText
SendAlertText(SendKeysParameters)
TakeScreenshot
TakeElementScreenshot(WebElement)
Print(PrintParameters)
SetPermission(SetPermissionParameters)
Status
Extension(T)
WebAuthnAddVirtualAuthenticator(AuthenticatorParameters)
WebAuthnRemoveVirtualAuthenticator
WebAuthnAddCredential(CredentialParameters)
WebAuthnGetCredentials
WebAuthnRemoveCredential
WebAuthnRemoveAllCredentials
WebAuthnSetUserVerified(UserVerificationParameters)
Trait Implementations§
source§impl<T: Debug + WebDriverExtensionCommand> Debug for WebDriverCommand<T>
impl<T: Debug + WebDriverExtensionCommand> Debug for WebDriverCommand<T>
source§impl<T: PartialEq + WebDriverExtensionCommand> PartialEq for WebDriverCommand<T>
impl<T: PartialEq + WebDriverExtensionCommand> PartialEq for WebDriverCommand<T>
impl<T: WebDriverExtensionCommand> StructuralPartialEq for WebDriverCommand<T>
Auto Trait Implementations§
impl<T> Freeze for WebDriverCommand<T>where
T: Freeze,
impl<T> RefUnwindSafe for WebDriverCommand<T>where
T: RefUnwindSafe,
impl<T> Send for WebDriverCommand<T>
impl<T> Sync for WebDriverCommand<T>where
T: Sync,
impl<T> Unpin for WebDriverCommand<T>where
T: Unpin,
impl<T> UnwindSafe for WebDriverCommand<T>where
T: UnwindSafe,
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