Class Accessibility

java.lang.Object
org.openqa.selenium.devtools.v85.accessibility.Accessibility

@Beta public class Accessibility extends Object
  • Constructor Details

    • Accessibility

      public Accessibility()
  • Method Details

    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
      Disables the accessibility domain.
    • enable

      public static org.openqa.selenium.devtools.Command<Void> 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

      @Beta public static org.openqa.selenium.devtools.Command<List<AXNode>> getFullAXTree()
      Fetches the entire accessibility tree