This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 426
Dom exceptions with capybara 2.1 #510
Comments
As of Capybara 2.1, CSS selectors are no longer translated to XPath via Nokogiri. |
@mhoran thanks for the explanation :) |
betelgeuse
referenced
this issue
in teamcapybara/capybara
Oct 3, 2013
Make sure to see the discussion here: teamcapybara/capybara@4f805d5 |
Thank you so much for posting this! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After upgrading to capybara 2.1 and running on the HEAD version of capybara-webkit, i'm running into some errors.
One in particular seems to occur for CSS selectors that are more than 1 level deep, eg this fails:
The error
Capybara::Webkit::InvalidResponseError: SYNTAX_ERR: DOM Exception 12
is thrownchanging the code to this seems to work fine:
The text was updated successfully, but these errors were encountered: