Automatically save screen shots when a Capybara scenario fails

capybara-screenshot used with Capybara and Cucumber, Rspec or Minitest, will capture a screen shot for each failure in your test suite. The HTML for the failed page, and a screenshot image (when using capybara-webkit, Selenium or poltergeist) is saved into $APPLICATION_ROOT/tmp/capybara.
Automatically save screen shots when a Capybara scenario fails #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/automatically-save-screen-shots-when-a-capybara-scenario-fails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles