Class AXNode

java.lang.Object
io.webfolder.cdp.type.accessibility.AXNode

public class AXNode extends Object
A node in the accessibility tree.
  • Constructor Details

    • AXNode

      public AXNode()
  • Method Details

    • getNodeId

      public String getNodeId()
      Unique identifier for this node.
    • setNodeId

      public void setNodeId(String nodeId)
      Unique identifier for this node.
    • isIgnored

      public Boolean isIgnored()
      Whether this node is ignored for accessibility
    • setIgnored

      public void setIgnored(Boolean ignored)
      Whether this node is ignored for accessibility
    • getIgnoredReasons

      public List<AXProperty> getIgnoredReasons()
      Collection of reasons why this node is hidden.
    • setIgnoredReasons

      public void setIgnoredReasons(List<AXProperty> ignoredReasons)
      Collection of reasons why this node is hidden.
    • getRole

      public AXValue getRole()
      This Node's role, whether explicit or implicit.
    • setRole

      public void setRole(AXValue role)
      This Node's role, whether explicit or implicit.
    • getChromeRole

      public AXValue getChromeRole()
      This Node's Chrome raw role.
    • setChromeRole

      public void setChromeRole(AXValue chromeRole)
      This Node's Chrome raw role.
    • getName

      public AXValue getName()
      The accessible name for this Node.
    • setName

      public void setName(AXValue name)
      The accessible name for this Node.
    • getDescription

      public AXValue getDescription()
      The accessible description for this Node.
    • setDescription

      public void setDescription(AXValue description)
      The accessible description for this Node.
    • getValue

      public AXValue getValue()
      The value for this Node.
    • setValue

      public void setValue(AXValue value)
      The value for this Node.
    • getProperties

      public List<AXProperty> getProperties()
      All other properties
    • setProperties

      public void setProperties(List<AXProperty> properties)
      All other properties
    • getParentId

      public String getParentId()
      ID for this node's parent.
    • setParentId

      public void setParentId(String parentId)
      ID for this node's parent.
    • getChildIds

      public List<String> getChildIds()
      IDs for each of this node's child nodes.
    • setChildIds

      public void setChildIds(List<String> childIds)
      IDs for each of this node's child nodes.
    • getBackendDOMNodeId

      public Integer getBackendDOMNodeId()
      The backend ID for the associated DOM node, if any.
    • setBackendDOMNodeId

      public void setBackendDOMNodeId(Integer backendDOMNodeId)
      The backend ID for the associated DOM node, if any.
    • getFrameId

      public String getFrameId()
      The frame ID for the frame associated with this nodes document.
    • setFrameId

      public void setFrameId(String frameId)
      The frame ID for the frame associated with this nodes document.
    • toString

      public String toString()
      Overrides:
      toString in class Object