pub struct ElementInfo {
pub selector: String,
pub tag: String,
pub text: String,
pub attributes: HashMap<String, String>,
pub visible: bool,
pub enabled: bool,
pub role: Option<String>,
pub label: Option<String>,
}Expand description
Response from an element query.
Fields§
§selector: StringCSS selector that uniquely identifies this element
tag: StringTag name
text: StringText content
attributes: HashMap<String, String>Element attributes
visible: boolWhether the element is visible
enabled: boolWhether the element is enabled (for interactive elements)
role: Option<String>Accessibility role
label: Option<String>Accessibility label
Trait Implementations§
Source§impl Debug for ElementInfo
impl Debug for ElementInfo
Auto Trait Implementations§
impl Freeze for ElementInfo
impl RefUnwindSafe for ElementInfo
impl Send for ElementInfo
impl Sync for ElementInfo
impl Unpin for ElementInfo
impl UnsafeUnpin for ElementInfo
impl UnwindSafe for ElementInfo
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