added capybara support