pub struct By { /* private fields */ }
Implementations§
Source§impl By
impl By
pub fn Id(id: &str) -> Self
pub fn LinkText(text: &str) -> Self
pub fn Css(css: &str) -> Self
pub fn XPath(x: &str) -> Self
pub fn Name(name: &str) -> Self
pub fn Tag(tag: &str) -> Self
pub fn ClassName(name: &str) -> Self
pub fn locator(&self) -> Locator<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for By
impl RefUnwindSafe for By
impl Send for By
impl Sync for By
impl Unpin for By
impl UnwindSafe for By
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