Read more

Capybara 0.3.9 Bug: Chaining .find to scope doesn't work

Deleted user #6
March 20, 2013Software engineer

The following code doesn't work like expected:

page.find(css_selector).find(other_css_selector)
Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

The second .find will search the whole dom instead of a scope.

Rumor has it this is fixed in Capybara 0.4.1.

Posted to makandra dev (2013-03-20 17:31)