FirefoxWebElement ClassWebDriver
Allows the user to control elements on a page in Firefox.
Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.RemoteRemoteWebElement
    OpenQA.Selenium.FirefoxFirefoxWebElement

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

public class FirefoxWebElement : RemoteWebElement

The FirefoxWebElement type exposes the following members.

Constructors

  NameDescription
Public methodFirefoxWebElement
Initializes a new instance of the FirefoxWebElement class.
Top
Properties

  NameDescription
Public propertyCoordinates
Gets the coordinates identifying the location of this element using various frames of reference.
(Inherited from RemoteWebElement.)
Public propertyDisplayed
Gets a value indicating whether or not this element is displayed.
(Inherited from RemoteWebElement.)
Public propertyEnabled
Gets a value indicating whether or not this element is enabled.
(Inherited from RemoteWebElement.)
Protected propertyId
Gets the ID of the element
(Inherited from RemoteWebElement.)
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.
(Inherited from RemoteWebElement.)
Public propertyLocationOnScreenOnceScrolledIntoView
Gets the point where the element would be when scrolled into view.
(Inherited from RemoteWebElement.)
Public propertySelected
Gets a value indicating whether or not this element is selected.
(Inherited from RemoteWebElement.)
Public propertySize
Gets a Size object containing the height and width of this element.
(Inherited from RemoteWebElement.)
Public propertyTagName
Gets the tag name of this element.
(Inherited from RemoteWebElement.)
Public propertyText
Gets the innerText of this element, without any leading or trailing whitespace, and with other whitespace collapsed.
(Inherited from RemoteWebElement.)
Public propertyWrappedDriver
Gets the IWebDriver used to find this element.
(Inherited from RemoteWebElement.)
Top
Methods

  NameDescription
Public methodClear
Clears the content of this element.
(Inherited from RemoteWebElement.)
Public methodClick
Clicks this element.
(Inherited from RemoteWebElement.)
Public methodEquals
Determines whether two FirefoxWebElement instances are equal.
(Overrides RemoteWebElementEquals(Object).)
Protected methodExecute
Executes a command on this element using the specified parameters.
(Inherited from RemoteWebElement.)
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.
(Inherited from RemoteWebElement.)
Protected methodFindElement(String, String)
Finds a child element matching the given mechanism and value.
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementByClassName
Finds the first element in the page that matches the CSS Class supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByCssSelector
Finds the first element matching the specified CSS selector.
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementByLinkText
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementByName
Finds the first of elements that match the name supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementByXPath
Finds the first of elements that match the XPath supplied
(Inherited from RemoteWebElement.)
Public methodFindElements(By)
Finds all IWebElements within the current context using the given mechanism.
(Inherited from RemoteWebElement.)
Protected methodFindElements(String, String)
Finds all child elements matching the given mechanism and value.
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsByClassName
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsByLinkText
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsByName
Finds a list of elements that match the name supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsByPartialLinkText
Finds a list of elements that match the link text supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
(Inherited from RemoteWebElement.)
Public methodCode exampleFindElementsByXPath
Finds a list of elements that match the XPath supplied
(Inherited from RemoteWebElement.)
Public methodGetAttribute
Gets the value of the specified attribute for this element.
(Inherited from RemoteWebElement.)
Public methodGetCssValue
Gets the value of a CSS property of this element.
(Inherited from RemoteWebElement.)
Public methodGetHashCode
Serves as a hash function for a FirefoxWebElement.
(Overrides RemoteWebElementGetHashCode.)
Public methodGetScreenshot
Gets a Screenshot object representing the image of this element on the screen.
(Inherited from RemoteWebElement.)
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.
(Inherited from RemoteWebElement.)
Public methodSubmit
Submits this element to the web server.
(Inherited from RemoteWebElement.)
Public methodToString
Returns a string that represents the current RemoteWebElement.
(Inherited from RemoteWebElement.)
Top
See Also

Reference