Property | Usage |
.bounds |
A rectangle representing the bounding rectangle of the
object in screen coordinates. |
.class |
TestObject class name; for example "HtmlTable"
for a TABLE element. |
.href |
Value of the href attribute of an element.
This is a URL used by ANCHOR and AREA elements to indicate the result of
clicking on the corresponding element. |
.id |
Value of the ID attribute of an element. |
.name |
Value of the name attribute (Form elements and
Frames only) |
.offsetHeight |
Height of the element |
.offsetLeft |
Offset, in pixels, of the element from its left edge to the left edge of its parent element in the DOM |
.offsetTop |
Offset of the element from the offset of its parent element in the DOM |
.offsetWidth |
Width of the element. |
.screenLeft |
Upper left corner of bounding rectangle in screen
coordinates, x component |
.screenTop |
Upper left corner of bounding rectangle in screen
coordinates, y component |
.tag |
HTML tag for the element |
.text |
Text inside of the HTML tags for bounding the
element. For example, <A>This is an Anchor<IMG src=map.gif></a>
the text property will return "This is an
Anchor. If consecutive white space characters are found, all white space are combined and reduced to a single a
blank character. |
.title |
This is the value of the title attribute of an element.
This is frequently the text displayed when hovering over the element with
the mouse. |