InvisibilityOfElement(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element is invisible or not present.

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

Parameters

locator
By

The locator to find the element.

Returns

Func<AvaloniaDriver, Boolean>
True when the element is invisible or not present.