RemoteWebElement ClassWebDriver
RemoteWebElement allows you to have access to specific items that are found on the page
Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.RemoteRemoteWebElement
    More...

Namespace: OpenQA.Selenium.Remote
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public class RemoteWebElement : IWebElement, 
	ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, 
	IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, 
	ILocatable, ITakesScreenshot

The RemoteWebElement type exposes the following members.

Constructors

  NameDescription
Public methodRemoteWebElement
Initializes a new instance of the RemoteWebElement class.
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 Point 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.
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 ObjectEquals(Object).)
Protected methodExecute
Executes a command on this element using the specified parameters.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
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 methodCode exampleFindElementByClassName
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 methodCode exampleFindElementById
Finds the first element in the page that matches the ID supplied
Public methodCode exampleFindElementByLinkText
Finds the first of elements that match the link text supplied
Public methodCode exampleFindElementByName
Finds the first of elements that match the name supplied
Public methodCode exampleFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
Public methodCode exampleFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
Public methodCode exampleFindElementByXPath
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 methodCode exampleFindElementsByClassName
Finds a list of elements that match the class name supplied
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
Public methodCode exampleFindElementsById
Finds the first element in the page that matches the ID supplied
Public methodCode exampleFindElementsByLinkText
Finds the first of elements that match the link text supplied
Public methodCode exampleFindElementsByName
Finds a list of elements that match the name supplied
Public methodCode exampleFindElementsByPartialLinkText
Finds a list of elements that match the link text supplied
Public methodCode exampleFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
Public methodCode exampleFindElementsByXPath
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 ObjectGetHashCode.)
Public methodGetScreenshot
Gets a Screenshot object representing the image of this element on the screen.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendKeys
Simulates typing text into the element.
Public methodSubmit
Submits this element to the web server.
Public methodToString
Returns a string that represents the current RemoteWebElement.
(Overrides ObjectToString.)
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.RemoteRemoteWebElement
    OpenQA.Selenium.ChromeChromeWebElement
    OpenQA.Selenium.EdgeEdgeWebElement
    OpenQA.Selenium.FirefoxFirefoxWebElement
    OpenQA.Selenium.IEInternetExplorerWebElement
    OpenQA.Selenium.OperaOperaWebElement
    OpenQA.Selenium.PhantomJSPhantomJSWebElement