Created
January 20, 2020 15:25
-
-
Save canerkaynar/662677c58d62f9a88656d9be5aa25c76 to your computer and use it in GitHub Desktop.
env configuration for cucumber-ruby-capybara stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capybara' | |
require 'capybara/cucumber' | |
require 'selenium-webdriver' | |
require 'rspec' | |
Capybara.register_driver :selenium do |app| | |
Capybara::Selenium::Driver.new(app, browser: :chrome) | |
end | |
Capybara.configure do |config| | |
config.default_driver = :selenium | |
config.default_selector = :css | |
config.app_host = 'https://kloia.com' | |
config.default_max_wait_time = 10 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment