Capybara 1.1.2 + Rspec + :webkit = undefined javascript_driver #392

megabga opened this Issue Sep 20, 2012 · 1 comment


None yet

1 participant


I want to change my default drive for running tests with javascript, specific scenario with javascript, from default, :selenium, to any, like :webkit, in RSpec, just setting :js => true flag. But, trying to runing "describe 'xxx', :js => true do" with :webkit, and loading javascript_driver in rspec_helper, thats what happened "Undefined method javascript_driver for Capybara:Module"

undefined method `javascript_driver=' for Capybara:Module (NoMethodError)


missing this on spec_helper.rb

require "capybara/rspec"


@megabga megabga closed this Oct 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment