ElementToBeFocused(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element has focus.

public static Func<AvaloniaDriver, bool> ElementToBeFocused(By locator)

Parameters

locator
By

The locator to find the element.

Returns

Func<AvaloniaDriver, Boolean>
True when the element is focused.