NumberOfElementsToBe(By, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that the number of elements matches the expected count.

public static Func<AvaloniaDriver, IReadOnlyList<AvaloniaElement>> NumberOfElementsToBe(By locator, int count)

Parameters

locator
By

The locator to find elements.

count
Int32

The expected count.

Returns