Struct chromiumoxide_cdp::cdp::browser_protocol::accessibility::QueryAxTreeParams [−][src]
pub struct QueryAxTreeParams { pub node_id: Option<NodeId>, pub backend_node_id: Option<BackendNodeId>, pub object_id: Option<RemoteObjectId>, pub accessible_name: Option<String>, pub role: Option<String>, }
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.
queryAXTree
Fields
node_id: Option<NodeId>
Identifier of the node for the root to query.
backend_node_id: Option<BackendNodeId>
Identifier of the backend node for the root to query.
object_id: Option<RemoteObjectId>
JavaScript object id of the node wrapper for the root to query.
accessible_name: Option<String>
Find nodes with this computed name.
role: Option<String>
Find nodes with this computed role.
Implementations
Trait Implementations
type Response = QueryAxTreeReturns
type Response = QueryAxTreeReturns
The type of the response this request triggers on the chromium server
Returns the “default value” for a type. Read more
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for QueryAxTreeParams
impl Send for QueryAxTreeParams
impl Sync for QueryAxTreeParams
impl Unpin for QueryAxTreeParams
impl UnwindSafe for QueryAxTreeParams
Blanket Implementations
Mutably borrows from an owned value. Read more