Table of Contents

Class FirefoxWebElement

Namespace
OpenQA.Selenium.Firefox
Assembly
WebDriver.dll

Allows the user to control elements on a page in Firefox.

public class FirefoxWebElement : RemoteWebElement, IWebElement, ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, ILocatable, ITakesScreenshot
Inheritance
FirefoxWebElement
Implements
Inherited Members

Constructors

FirefoxWebElement(FirefoxDriver, string)

Initializes a new instance of the FirefoxWebElement class.

public FirefoxWebElement(FirefoxDriver parentDriver, string id)

Parameters

parentDriver FirefoxDriver

The FirefoxDriver instance hosting this element.

id string

The ID assigned to the element.

Methods

Equals(object)

Determines whether two FirefoxWebElement instances are equal.

public override bool Equals(object obj)

Parameters

obj object

The FirefoxWebElement to compare with the current FirefoxWebElement.

Returns

bool

true if the specified FirefoxWebElement is equal to the current FirefoxWebElement; otherwise, false.

GetHashCode()

Serves as a hash function for a FirefoxWebElement.

public override int GetHashCode()

Returns

int

A hash code for the current FirefoxWebElement.