ElementCount(By) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the count of elements matching the locator.

public int ElementCount(By by)

Parameters

by
By

The locator strategy.

Returns

Int32
The number of matching elements.