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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getText()
Gets the text value, if any, in this nodeboolean
isEnabled()
Checks whether the node is enabledjava.util.List<RobotWebNode>
subelements()
Gets a list of nodes under this node
-
-
-
Method Detail
-
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
-
-