Read more

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

Martin Straub
March 20, 2013Software engineer at makandra GmbH

The following code doesn't work like expected:

page.find(css_selector).find(other_css_selector)
Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
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 by Martin Straub to makandra dev (2013-03-20 17:31)