pub struct QueryAxTree {
pub method: QueryAxTreeMethod,
pub params: QueryAxTreeParams,
}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.
queryAXTree
Fields§
§method: QueryAxTreeMethod§params: QueryAxTreeParamsImplementations§
Source§impl QueryAxTree
impl QueryAxTree
pub fn builder() -> QueryAxTreeBuilder
Source§impl QueryAxTree
impl QueryAxTree
pub const IDENTIFIER: &'static str = "Accessibility.queryAXTree"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for QueryAxTree
impl Clone for QueryAxTree
Source§fn clone(&self) -> QueryAxTree
fn clone(&self) -> QueryAxTree
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 CommandResult for QueryAxTree
impl CommandResult for QueryAxTree
type Result = QueryAxTreeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for QueryAxTree
impl Debug for QueryAxTree
Source§impl<'de> Deserialize<'de> for QueryAxTree
impl<'de> Deserialize<'de> for QueryAxTree
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
Source§impl From<QueryAxTree> for AccessibilityCommands
impl From<QueryAxTree> for AccessibilityCommands
Source§fn from(v: QueryAxTree) -> Self
fn from(v: QueryAxTree) -> Self
Converts to this type from the input type.
Source§impl From<QueryAxTree> for BrowserProtocolCommands
impl From<QueryAxTree> for BrowserProtocolCommands
Source§fn from(v: QueryAxTree) -> Self
fn from(v: QueryAxTree) -> Self
Converts to this type from the input type.
Source§impl From<QueryAxTree> for Command
impl From<QueryAxTree> for Command
Source§fn from(v: QueryAxTree) -> Self
fn from(v: QueryAxTree) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QueryAxTree
impl PartialEq for QueryAxTree
Source§impl Serialize for QueryAxTree
impl Serialize for QueryAxTree
Source§impl TryFrom<AccessibilityCommands> for QueryAxTree
impl TryFrom<AccessibilityCommands> for QueryAxTree
Source§type Error = AccessibilityCommands
type Error = AccessibilityCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AccessibilityCommands,
) -> Result<Self, <QueryAxTree as TryFrom<AccessibilityCommands>>::Error>
fn try_from( e: AccessibilityCommands, ) -> Result<Self, <QueryAxTree as TryFrom<AccessibilityCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for QueryAxTree
impl TryFrom<BrowserProtocolCommands> for QueryAxTree
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <QueryAxTree as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <QueryAxTree as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for QueryAxTree
impl TryFrom<Command> for QueryAxTree
impl StructuralPartialEq for QueryAxTree
Auto Trait Implementations§
impl Freeze for QueryAxTree
impl RefUnwindSafe for QueryAxTree
impl Send for QueryAxTree
impl Sync for QueryAxTree
impl Unpin for QueryAxTree
impl UnsafeUnpin for QueryAxTree
impl UnwindSafe for QueryAxTree
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