Skip to content

Instantly share code, notes, and snippets.

@konjoot
Created October 23, 2013 16:13
Show Gist options
  • Save konjoot/7121649 to your computer and use it in GitHub Desktop.
Save konjoot/7121649 to your computer and use it in GitHub Desktop.
Configure Capybara 2.1.0 to find invisible elements
Capybara.configure do |config|
config.match = :prefer_exact
config.ignore_hidden_elements = false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment