ElementToBeDisabled(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element is disabled.

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

Parameters

locator
By

The locator to find the element.

Returns

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