Class widgets.XulElement
Extends
widgets.HtmlXulElement.
An Element that corresponds to an element of a Chrome document.
Defined in: widgets.js.
Constructor Attributes | Constructor Name and Description |
---|---|
widgets.XulElement(locatorType, locator, owner)
XulElement is an Element that corresponds to an element of a Chrome
document.
|
- Fields borrowed from class widgets.Element:
- controller, document, elem, node, window
- Methods borrowed from class widgets.HtmlXulElement:
- click, doubleClick, keyPress, mouseDown, mouseUp, rightClick
Class Detail
widgets.XulElement(locatorType, locator, owner)
XulElement is an Element that corresponds to an element of a Chrome
document.
- Parameters:
- {String} locatorType
- The type of locator being supplied. Choices are:
- node
- A node, as in Mozmill's Elem()
- id
- An ID string, as in Mozmill's ID()
- xpath
- An XPath string, as in Mozmill's XPath()
- name
- A name string, as in Mozmill's Name()
- lookup
- A lookup string, as in Mozmill's Lookup()
- tag
- A JQuery-style element selector string
- {node|String} locator
- The actual locator. If locatorType is "node," a node object is expected. For all other types, a String is expected.
- {document|Element} owner
- The owner (parent) of this Element. The top of an Element map is owned by a document. Other members of the map are owned by their parent Elements.