Skip to content

Instantly share code, notes, and snippets.

@canerkaynar canerkaynar/env.rb
Created Jan 20, 2020

Embed
What would you like to do?
env configuration for cucumber-ruby-capybara stack
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
You can’t perform that action at this time.