mattheworiordan / capybara-screenshot

Automatically save screen shots when a Capybara scenario fails
MIT License
1.02k stars 168 forks source link

If error occurs within a within_frame block, save the offending frame #291

Open TylerRick opened 2 years ago

TylerRick commented 2 years ago

Saves it in Thread.current[:capybara_screenshot_offending_frame], like we already have for Thread.current[:capybara_screenshot_offending_window]