RemoteWebElement MembersWebDriver

The RemoteWebElement type exposes the following members.
Constructors

  NameDescription
Public methodRemoteWebElement
Initializes a new instance of the RemoteWebElement class.
Back to Top
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
Properties

  NameDescription
Public propertyCoordinates
Gets the coordinates identifying the location of this element using various frames of reference.
Public propertyDisplayed
Gets a value indicating whether or not this element is displayed.
Public propertyEnabled
Gets a value indicating whether or not this element is enabled.
Protected propertyId
Gets the ID of the element
Public propertyLocation
Gets a OnlinePoint object containing the coordinates of the upper-left corner of this element relative to the upper-left corner of the page.
Public propertyLocationOnScreenOnceScrolledIntoView
Gets the point where the element would be when scrolled into view.
Public propertySelected
Gets a value indicating whether or not this element is selected.
Public propertySize
Gets a Size object containing the height and width of this element.
Public propertyTagName
Gets the tag name of this element.
Public propertyText
Gets the innerText of this element, without any leading or trailing whitespace, and with other whitespace collapsed.
Public propertyWrappedDriver
Gets the IWebDriver used to find this element.
Back to Top
See Also