Capybara requires document.ready, not window.onload (fires too late)