RemoteWebElement MethodsWebDriver
The RemoteWebElement type exposes the following members.
Methods

  NameDescription
Public methodClear
Clears the content of this element.
Public methodClick
Clicks this element.
Public methodEquals
Compares if two elements are equal
(Overrides OnlineObject Equals(Object).)
Protected methodExecute
Executes a command on this element using the specified parameters.
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFindElement(By)
Finds the first IWebElement using the given method.
Protected methodFindElement(String, String)
Finds a child element matching the given mechanism and value.
Public methodFindElementByClassName
Finds the first element in the page that matches the CSS Class supplied
Public methodFindElementByCssSelector
Finds the first element matching the specified CSS selector.
Public methodFindElementById
Finds the first element in the page that matches the ID supplied
Public methodFindElementByLinkText
Finds the first of elements that match the link text supplied
Public methodFindElementByName
Finds the first of elements that match the name supplied
Public methodFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
Public methodFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
Public methodFindElementByXPath
Finds the first of elements that match the XPath supplied
Public methodFindElements(By)
Finds all IWebElements within the current context using the given mechanism.
Protected methodFindElements(String, String)
Finds all child elements matching the given mechanism and value.
Public methodFindElementsByClassName
Finds a list of elements that match the class name supplied
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
Public methodFindElementsById
Finds the first element in the page that matches the ID supplied
Public methodFindElementsByLinkText
Finds the first of elements that match the link text supplied
Public methodFindElementsByName
Finds a list of elements that match the name supplied
Public methodFindElementsByPartialLinkText
Finds a list of elements that match the link text supplied
Public methodFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
Public methodFindElementsByXPath
Finds a list of elements that match the XPath supplied
Public methodGetAttribute
Gets the value of the specified attribute for this element.
Public methodGetCssValue
Gets the value of a CSS property of this element.
Public methodGetHashCode
Method to get the hash code of the element
(Overrides OnlineObject GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSendKeys
Simulates typing text into the element.
Public methodSubmit
Submits this element to the web server.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
See Also