Back to Codeceptjs

screenshotOnFail

docs/plugins/screenshotOnFail.md

4.0.0279 B
Original Source
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

screenshotOnFail

Saves a screenshot when a test fails.

Deprecated: use the screenshot plugin with on: 'fail', which is the default behavior.

Parameters

  • config