Automatically save screen shots when a Capybara scenario fails
09-Aug-2018 1988
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 #Automatically #screen #shots #Capybara #scenario #fails https://rubyonrails.ba/link/automatically-save-screen-shots-when-a-capybara-scenario-fails