ElementIsVisible(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element is present and visible.

public static Func<AvaloniaDriver, AvaloniaElement> ElementIsVisible(By locator)

Parameters

locator
By

The locator to find the element.

Returns

Func<AvaloniaDriver, AvaloniaElement>
The element when visible.