Class Accessibility
java.lang.Object
org.openqa.selenium.devtools.v85.accessibility.Accessibility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>
disable()
Disables the accessibility domain.static org.openqa.selenium.devtools.Command<Void>
enable()
Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.Fetches the entire accessibility treegetPartialAXTree
(Optional<NodeId> nodeId, Optional<BackendNodeId> backendNodeId, Optional<RemoteObjectId> objectId, Optional<Boolean> fetchRelatives) Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
-
Constructor Details
-
Accessibility
public Accessibility()
-
-
Method Details
-
disable
Disables the accessibility domain. -
enable
Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls. This turns on accessibility for the page, which can impact performance until accessibility is disabled. -
getPartialAXTree
@Beta public static org.openqa.selenium.devtools.Command<List<AXNode>> getPartialAXTree(Optional<NodeId> nodeId, Optional<BackendNodeId> backendNodeId, Optional<RemoteObjectId> objectId, Optional<Boolean> fetchRelatives) Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists. -
getFullAXTree
Fetches the entire accessibility tree
-