pub enum LocatorQuery {
Node {
id: i32,
},
Css {
selector: String,
},
Text {
text: String,
exact: bool,
},
Placeholder {
text: String,
},
Role {
role: String,
},
BackendNode {
id: i64,
},
}Expand description
A query evaluated afresh immediately before an action.
Variants§
Node
Resolve a pinned frontend node from an Element handle.
Css
Match a CSS selector.
Text
Match element text.
Placeholder
Match an exact placeholder attribute.
Role
Match an explicit ARIA role.
BackendNode
Resolve a pinned node without retargeting a replacement.
Trait Implementations§
Source§impl Clone for LocatorQuery
impl Clone for LocatorQuery
Source§impl Debug for LocatorQuery
impl Debug for LocatorQuery
Source§impl<'de> Deserialize<'de> for LocatorQuery
impl<'de> Deserialize<'de> for LocatorQuery
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
impl Eq for LocatorQuery
Source§impl PartialEq for LocatorQuery
impl PartialEq for LocatorQuery
Source§impl Serialize for LocatorQuery
impl Serialize for LocatorQuery
impl StructuralPartialEq for LocatorQuery
Auto 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