Skip to content

Instantly share code, notes, and snippets.

@takuyan
Created April 10, 2013 03:49
Show Gist options
  • Save takuyan/5351655 to your computer and use it in GitHub Desktop.
Save takuyan/5351655 to your computer and use it in GitHub Desktop.
~ ‹1.9.3-p392› $ gem i capybara
Fetching: capybara-2.1.0.gem (100%)
IMPORTANT! Some of the defaults have changed in Capybara 2.1. If you're experiencing failures,
please revert to the old behaviour by setting:
Capybara.configure do |config|
config.match = :one
config.exact_options = true
config.ignore_hidden_elements = true
config.visible_text_only = true
end
If you're migrating from Capybara 1.x, try:
Capybara.configure do |config|
config.match = :prefer_exact
config.ignore_hidden_elements = false
end
Details here: http://www.elabs.se/blog/60-introducing-capybara-2-1
Successfully installed capybara-2.1.0
1 gem installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment