Waits for an element to be visible.
public AvaloniaElement ForElementVisible(By by, TimeSpan? timeout = default(TimeSpan? ))
The locator.
Optional custom timeout.