Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RackTest driver cannot make css queries for ids or classes including special characters #1541

Closed
twalpole opened this issue Jun 30, 2015 · 2 comments

Comments

@twalpole
Copy link
Member

Attempting to find the element <div id="a.b.c"/> using the css escaped query

page.find(:css, '#a\.b\.c')

doesn't work in racktest

@twalpole
Copy link
Member Author

This is because nokogiri doesn't handle the css query escaping of ids or class names. I have submitted a PR to nokogiri sparklemotion/nokogiri#1303 , but no progress has been made on getting it included

@twalpole
Copy link
Member Author

Closing since this fix will be in nokogiri 1.6.8 when released

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant