pub enum Action {
Show 34 variants
Goto(GotoAction),
Back,
Forward,
Reload,
Wait(WaitAction),
WaitForNetworkIdle(WaitForNetworkIdleAction),
WaitFor(WaitForAction),
WaitForVisible(WaitForAction),
WaitForHidden(WaitForAction),
WaitForText(WaitForTextAction),
WaitForUrl(WaitForUrlAction),
WaitForEmail(WaitForEmailAction),
Click(ClickAction),
TryClick(TargetAction),
TryClickAny(TryClickAnyAction),
Fill(FillAction),
Type(TypeAction),
Clear(ClearAction),
Select(SelectAction),
PressKey(PressKeyAction),
Hover(TargetAction),
SetCookie(SetCookieAction),
DeleteCookie(DeleteCookieAction),
Execute(ExecuteAction),
Scroll(ScrollAction),
ScrollTo(TargetAction),
Screenshot(ScreenshotAction),
Log(LogAction),
AssertText(AssertTextAction),
AssertUrl(AssertUrlAction),
IfTextExists(IfTextExistsAction),
IfSelectorExists(IfSelectorExistsAction),
Repeat(RepeatAction),
Include(IncludeAction),
}Expand description
An action to execute in the browser.
Variants§
Goto(GotoAction)
Back
Forward
Reload
Wait(WaitAction)
WaitForNetworkIdle(WaitForNetworkIdleAction)
WaitFor(WaitForAction)
WaitForVisible(WaitForAction)
WaitForHidden(WaitForAction)
WaitForText(WaitForTextAction)
WaitForUrl(WaitForUrlAction)
WaitForEmail(WaitForEmailAction)
Click(ClickAction)
TryClick(TargetAction)
TryClickAny(TryClickAnyAction)
Fill(FillAction)
Type(TypeAction)
Clear(ClearAction)
Select(SelectAction)
PressKey(PressKeyAction)
Hover(TargetAction)
SetCookie(SetCookieAction)
DeleteCookie(DeleteCookieAction)
Execute(ExecuteAction)
Scroll(ScrollAction)
ScrollTo(TargetAction)
Screenshot(ScreenshotAction)
Log(LogAction)
AssertText(AssertTextAction)
AssertUrl(AssertUrlAction)
IfTextExists(IfTextExistsAction)
IfSelectorExists(IfSelectorExistsAction)
Repeat(RepeatAction)
Include(IncludeAction)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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