Set Chrome as Default Browser for RSpec/Capybara
问题 I'm having some trouble getting Chrome to work with RSpec/Capybara on Ubuntu 13.10 64-bit. By default it launches Firefox - we tried to change this a variety of ways, including: http://actsasblog.ca/2011/09/28/how-to-use-chrome-with-capybara/ /home/.../xxx_spec.rb:8:in `<top (required)>': undefined local variable or method `“chromedriver”' for main:Object (NameError) We also tried: require 'capybara/rspec' require 'rspec' require 'selenium-webdriver' Capybara.register_driver :selenium do |app