ElementToBeEnabled(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element is enabled.

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

Parameters

locator
By

The locator to find the element.

Returns

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