AttributeToBeNotEmpty(By, String) Method

Definition

Assembly HeadlessTestingFramework.dll

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

public static Func<AvaloniaDriver, bool> AttributeToBeNotEmpty(By locator, string attribute)

Parameters

locator
By

The locator to find the element.

attribute
String

The attribute name.

Returns

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