WebElementEquals Method (WebElement)
Compares if two web elements are equal

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebElement
Dim other As WebElement
Dim returnValue As Boolean

returnValue = instance.Equals(other)

Parameters

other
Type: SeleniumWebElement
WebElement to compare against

Return Value

Type: Boolean
A boolean if it is equal or not
See Also