ByInequality Operator WebDriver
Determines if two By instances are unequal.

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

public static bool operator !=(
	By one,
	By two
)

Parameters

one
Type: OpenQA.SeleniumBy
One instance to compare.
two
Type: OpenQA.SeleniumBy
The other instance to compare.

Return Value

Type: Boolean
if the two instances are not equal; otherwise, .
See Also

Reference