the visible? methods in capybara do not wait for visibility to be true, ...

...so we need to do the waiting ourselves