Skip to content

HtmlNode

hollingsworthd edited this page Dec 8, 2014 · 6 revisions

JSON Object

Type Name Description
Boolean longRequest Whether actions on this node should be followed by a long delay. Useful for AJAX apps, such as with a search button that does an asynchonous post.
String httpGet Specifies a URL to HTTP GET directly, instead of a DOM element.
String tagName HTML tag name (e.g., select, button, form, a)
String id HTML element ID attribute
String name HTML element name attribute
String label HTML label value
String type HTML element type attribute (e.g., "text" for <input type="text">)
String value HTML element value attribute
String title HTML element title attribute
String href HTML element HREF attribute (e.g., HREFs on an anchor)
String[] classes CSS class names listed in the class attribute of an HTML element
String innerText Text contained in an HTML node
String innerHtml HTML contained in an HTML node
String multiple Whether mutli-select is enabled (only valid for checkboxes and selects)
String[] optionValues Option values of an HTML Select element
String[] optionLabels Option labels of an HTML Select element
String guid GUID (a random string) for this node
String guidName GUID which can be shared (like how multiple elements can have the same name)
Boolean fuzzy
  • Whether the HtmlNode parameters are hints (fuzzy == true) or whether they specify a precise values (fuzzy == false). Defaults to false. Regardless of this value, HREFs will be canonicalized to avoid insignificant differences in domain/protocol/path.
Boolean any Whether the HtmlNodes parameters must all be matched (any == false) or whether any single one must match (any == true). Defaults to true.
Clone this wiki locally