pub struct ActionBuilder { /* private fields */ }Implementations§
Source§impl ActionBuilder
impl ActionBuilder
pub fn new() -> Self
pub fn wait(self, ms: u64) -> Self
pub fn click(self, selector: &str) -> Self
pub fn fill(self, selector: &str, value: &str) -> Self
pub fn press_key(self, key: &str) -> Self
pub fn screenshot(self, path: Option<&str>) -> Self
pub fn evaluate(self, expr: &str) -> Self
pub fn scroll(self, x: f64, y: f64) -> Self
pub fn get_title(self) -> Self
pub fn build(self) -> Vec<BrowserAction>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActionBuilder
impl RefUnwindSafe for ActionBuilder
impl Send for ActionBuilder
impl Sync for ActionBuilder
impl Unpin for ActionBuilder
impl UnsafeUnpin for ActionBuilder
impl UnwindSafe for ActionBuilder
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