Class Accessibility


  • @Beta
    public class Accessibility
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Accessibility()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
      Disables the accessibility domain.
      static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
      Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.
      static org.openqa.selenium.devtools.Command<java.util.List<AXNode>> getFullAXTree()
      Fetches the entire accessibility tree
      static org.openqa.selenium.devtools.Command<java.util.List<AXNode>> getPartialAXTree​(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.Boolean> fetchRelatives)
      Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Accessibility

        public Accessibility()
    • Method Detail

      • disable

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

        public static org.openqa.selenium.devtools.Command<java.lang.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<java.util.List<AXNode>> getPartialAXTree​(java.util.Optional<NodeId> nodeId,
                                                                                                    java.util.Optional<BackendNodeId> backendNodeId,
                                                                                                    java.util.Optional<RemoteObjectId> objectId,
                                                                                                    java.util.Optional<java.lang.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<java.util.List<AXNode>> getFullAXTree()
        Fetches the entire accessibility tree