IWebElement Represents an HTML element inside of a Web page." />
Attachmate.Reflection.Web.Msie Namespace : IWebElement Interface |
The following tables list the members exposed by IWebElement.
Name | Description | |
---|---|---|
All | Gets all elements underneath the current element. | |
CanHaveChildren | Gets a value that indicates whether this element has child elements. | |
Children | Gets all children of the current element. | |
Document | Gets the HtmlDocument to which this element belongs. | |
Enabled | Gets or sets whether the user can input data into this element. | |
FirstChild | Gets the next element below this element in the document tree. | |
Id | Gets or sets a label by which to identify the element. | |
InnerHtml | Gets or sets the HTML markup underneath this element. | |
InnerText | Gets or sets the text assigned to the element. | |
Name | Gets or sets the name of the element. | |
NextSibling | Gets the next element at the same level as this element in the document tree. | |
OuterHtml | Gets or sets the current element's HTML code. | |
OuterText | Gets or sets the current element's text. | |
Style | Gets or sets a comma-delimited list of styles for the current element. | |
TagName | Gets the name of the HTML tag. |
Name | Description | |
---|---|---|
Click | Clicks the link if the Web element is a link. | |
Extract | Extracts text that is delimited by pretext and posttext from an HTML text source. | |
GetAttribute | Gets the value of the named attribute on the element. | |
GetChildrenTagNames | Gets all tag names of children. | |
GetElement | Gets the first Web element by an XPath path, relative to the current web element. | |
GetElementsByTagName | Gets a collection of elements in the HTML WebDocument by HTML. tagName. | |
GetText | Gets text from the text field if the Web element is an input text type. | |
InvokeMember | Overloaded. Executes a method that is unique to the current element. | |
PutText | Puts text in the text field if the Web element is an input text type. | |
ScrollIntoView | Scrolls through the document that contains this element until the top or bottom edge of the element is aligned with the top of the document's window. | |
SetAttribute | Sets the value of the named attribute on the element. | |
Submit | Submits the form if the Web element is a form. |