move require capybara statement to main file