pub enum LocatorQuery {
TextContent {
locator: Locator,
},
IsVisible {
locator: Locator,
},
BoundingBox {
locator: Locator,
},
Count {
locator: Locator,
},
}Expand description
Queries that return information about located elements
Variants§
TextContent
Get text content
IsVisible
Check if visible
BoundingBox
Get bounding box
Count
Count matching elements
Implementations§
Trait Implementations§
Source§impl Clone for LocatorQuery
impl Clone for LocatorQuery
Source§fn clone(&self) -> LocatorQuery
fn clone(&self) -> LocatorQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LocatorQuery
impl RefUnwindSafe for LocatorQuery
impl Send for LocatorQuery
impl Sync for LocatorQuery
impl Unpin for LocatorQuery
impl UnsafeUnpin for LocatorQuery
impl UnwindSafe for LocatorQuery
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