Tries to wait for an element, returns null on timeout.
public Task<Control?> TryForElementAsync(Func<Control?> findFunc)
Function to find the element.