pub struct QueryAXTreeParams<'a> { /* private fields */ }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 match 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<'a> QueryAXTreeParams<'a>
impl<'a> QueryAXTreeParams<'a>
pub fn builder() -> QueryAXTreeParamsBuilder<'a>
pub fn nodeId(&self) -> Option<&NodeId>
pub fn backendNodeId(&self) -> Option<&BackendNodeId>
pub fn objectId(&self) -> Option<&RemoteObjectId<'a>>
pub fn accessibleName(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for QueryAXTreeParams<'a>
impl<'a> CdpCommand<'a> for QueryAXTreeParams<'a>
Source§impl<'a> Clone for QueryAXTreeParams<'a>
impl<'a> Clone for QueryAXTreeParams<'a>
Source§fn clone(&self) -> QueryAXTreeParams<'a>
fn clone(&self) -> QueryAXTreeParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for QueryAXTreeParams<'a>
impl<'a> Debug for QueryAXTreeParams<'a>
Source§impl<'a> Default for QueryAXTreeParams<'a>
impl<'a> Default for QueryAXTreeParams<'a>
Source§fn default() -> QueryAXTreeParams<'a>
fn default() -> QueryAXTreeParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for QueryAXTreeParams<'a>
impl<'de, 'a> Deserialize<'de> for QueryAXTreeParams<'a>
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<'a> Freeze for QueryAXTreeParams<'a>
impl<'a> RefUnwindSafe for QueryAXTreeParams<'a>
impl<'a> Send for QueryAXTreeParams<'a>
impl<'a> Sync for QueryAXTreeParams<'a>
impl<'a> Unpin for QueryAXTreeParams<'a>
impl<'a> UnsafeUnpin for QueryAXTreeParams<'a>
impl<'a> UnwindSafe for QueryAXTreeParams<'a>
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