12 Dec '13, 10pm

Capybara Webkit 1.1.0: Screenshots and Better ClickFailed Debugging

Capybara Webkit 1.1.0: Screenshots and Better ClickFailed Debugging Joe Ferris December 12, 2013 testing Capybara Webkit 1.1.0 has been released and it contains some great new features like screenshots and better ClickFailed debugging. ClickFailed You're writing a nice little Capybara spec, and you innocently try to click on something using Capybara that you can see plainly in your browser: click_on 'Sign Up' You're SURE this should work, but Capybara gets sassy: Failed to click element /html/body/div[1]/button[2] (Capybara::Webkit::ClickFailed) Introducing Capybara Webkit 1.1.0: ClickSuccess edition These ClickFailed errors are pretty frustrating, and unfortunately there's no easy fix. These errors occur when your Capybara driver tries to click on an element, but it can't find the element or finds a different element where it expects the target element to be. Although we ...

Full article: http://robots.thoughtbot.com/capybara-webkit-1-1-0-screen...

Tweets

CapybaraWebkit 1.1.0 produces page screenshots ...

robots.thoughtbot.com 13 Dec '13, 7am

Capybara Webkit 1.1.0: Screenshots and Better ClickFailed Debugging Joe Ferris December 12, 2013 testing Capybara Webkit 1...

Malaysia 0 - 2 Singapore . Come on guys ! You c...

twitter.com 21 Dec '13, 10am

To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content,...

{new recipe!} Peanut 'Better' Balls

{new recipe!} Peanut 'Better' Balls

ohsheglows.com 16 Dec '13, 2pm

Stir the jar of peanut butter well before using. In a large bowl, mix together the peanut butter and maple syrup vigorousl...