pub struct QueryAxTreeCommand { /* private fields */ }Available on crate features
experimental and Accessibility and DOM only.Expand description
Query a DOM node’s accessibility subtree for accessible name and role.
This command computes the name and role for all nodes in the subtree, including those that are
ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
node is specified, or the DOM node does not exist, the command returns an error. If neither
accessibleName or role is specified, it returns all the accessibility nodes in the subtree.
Implementations§
Source§impl QueryAxTreeCommand
impl QueryAxTreeCommand
pub fn builder() -> QueryAxTreeCommandBuilder
Sourcepub fn backend_node_id(&self) -> Option<&BackendNodeId>
pub fn backend_node_id(&self) -> Option<&BackendNodeId>
Identifier of the backend node for the root to query.
Sourcepub fn object_id(&self) -> Option<&RemoteObjectId>
pub fn object_id(&self) -> Option<&RemoteObjectId>
JavaScript object id of the node wrapper for the root to query.
Sourcepub fn accessible_name(&self) -> Option<&String>
pub fn accessible_name(&self) -> Option<&String>
Find nodes with this computed name.
Trait Implementations§
Source§impl Clone for QueryAxTreeCommand
impl Clone for QueryAxTreeCommand
Source§fn clone(&self) -> QueryAxTreeCommand
fn clone(&self) -> QueryAxTreeCommand
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 moreSource§impl Command for QueryAxTreeCommand
impl Command for QueryAxTreeCommand
Source§impl Debug for QueryAxTreeCommand
impl Debug for QueryAxTreeCommand
Source§impl<'de> Deserialize<'de> for QueryAxTreeCommand
impl<'de> Deserialize<'de> for QueryAxTreeCommand
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
Auto Trait Implementations§
impl Freeze for QueryAxTreeCommand
impl RefUnwindSafe for QueryAxTreeCommand
impl Send for QueryAxTreeCommand
impl Sync for QueryAxTreeCommand
impl Unpin for QueryAxTreeCommand
impl UnwindSafe for QueryAxTreeCommand
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