An expectation for checking that an element's attribute matches the expected value.
public static Func<AvaloniaDriver, bool> AttributeToBe(By locator, string attribute, string value)
The locator to find the element.
The attribute name.
The expected value.