Skip to content

Instantly share code, notes, and snippets.

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

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|, browser: :chrome)
Capybara.configure do |config|
config.default_driver = :selenium
config.default_selector = :css
config.app_host = ''
config.default_max_wait_time = 10
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.