I had the same problem (on Linux). Fixed with:
gem update selenium-webdriver
Now I am using ruby 1.9.3-p286, selenium-webdriver 2.29.0, firefox 18.0
As well as rspec-rails 2.9.0, capybara 1.1.2, and capybara-webkit 0.12.1
I added selenium-webdriver 2.29.0 to my Gemfile to be safe.
More Related Contents:
- How do you POST to a URL in Capybara?
- test a file upload using rspec – rails
- How can I test the page title with Capybara 2.0?
- Capybara with subdomains – default_host
- How to check a checkbox in capybara?
- How is spec/rails_helper.rb different from spec/spec_helper.rb? Do I need it?
- undefined method `visit’ when using RSpec and Capybara in rails
- Controller spec unknown keyword: id
- Why not use shared ActiveRecord connections for Rspec + Selenium?
- Rspec and capybara, difference between visit and get methods, with regards to the current_path object
- Why does adding “sleep 1” in an after hook cause this Rspec/Capybara test to pass?
- How to avoid NoMethodError for missing elements in nested hashes, without repeated nil checks?
- Unable to install gem – Failed to build gem native extension – cannot load such file — mkmf (LoadError)
- Singular or plural controller and helper names in Rails
- Rails: confused about syntax for passing locals to partials
- TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows
- How to determine if one array contains all elements of another array
- setting request headers in selenium
- Weird “406 not acceptable” error
- Rails new vs create
- Where is the Rails method that converts data from `datetime_select` into a DateTime object?
- Encoding Ruby on Rails code?
- AWS S3: The bucket you are attempting to access must be addressed using the specified endpoint
- How to check for a JSON response using RSpec?
- How to use Active Support core extensions
- Rails: PG::UndefinedTable: ERROR: relation “…” does not exist
- How Do I Use Factory Girl To Generate A Paperclip Attachment?
- How do I extract Rails view helpers into a gem?
- Is puma the ONLY multi-threaded rails 4 http server?
- Rails Object Relationships and JSON Rendering