Interface RobotWebNode


public interface RobotWebNode
Interface for a node on a web page, allowing for examining the contents of a web page programatically.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getText()
    Gets the text value, if any, in this node
    boolean isEnabled()
    Checks whether the node is enabled
    java.util.List<RobotWebNode> subelements()
    Gets a list of nodes under this node
  • Method Details

    • subelements

      java.util.List<RobotWebNode> subelements()
      Gets a list of nodes under this node
      Returns:
      the list of nodes
    • getText

      java.lang.String getText()
      Gets the text value, if any, in this node
      Returns:
      the text string in this node (not HTML)
    • isEnabled

      boolean isEnabled()
      Checks whether the node is enabled
      Returns:
      true if the node (button, field, etc) is enabled