Waiting for completed Ajax in Capybara and other tricks. – Random Head Dumps