TextToBeNotEmpty(By) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element's text is not empty.

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

Parameters

locator
By

The locator to find the element.

Returns

Func<AvaloniaDriver, Boolean>
True when the text is not empty.