An expectation for checking that an element is present in the visual tree.
public static Func<AvaloniaDriver, AvaloniaElement> ElementExists(By locator)
The locator to find the element.