tried to make capybara work and then failed horribly