jnicklas/capybara — Issue #658: find cannot find CSS that have_selector? can
Author: bryanlarsen
Created: 2012-03-03 10:41:24+00:00
State: open

code that breaks:

assert has_selector?("a.task-link:first")
find("a.task-link:first").click

It worked last year, but the current version fails with

Capybara::ElementNotFound: Unable to find css "a.task-link:first"

git bisect fingered this as the guilty commit:

https://github.com/jnicklas/capybara/commit/cc05b1d63b1201027da7b568a7bd0467df9f7e0a