ElementExists(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element is present in the visual tree.

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

Parameters

locator
By

The locator to find the element.

Returns

Func<AvaloniaDriver, AvaloniaElement>
The element when found.