lovers-of-behat / screenshot-extension
Behat extension to take screenshots of failed steps
Installs: 4 422
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Type:behat-extension
Requires
- php: ^7.1|^8
- behat/behat: ^3.4
- symfony/dependency-injection: ^2.1|^3|^4|^5|^6
- symfony/event-dispatcher: ^2|^3|^4|^5|^6
Requires (Dev)
- behat/mink-goutte-driver: ^1.2
- slevomat/coding-standard: ^5|^6|^7
- squizlabs/php_codesniffer: ^3.4
This package is auto-updated.
Last update: 2024-10-25 20:32:53 UTC
README
This library allows to save screenshots whenever a step fails in a Behat scenario.
Installation
$ composer require lovers-of-behat/screenshot-extension
Configuration
Add the extension to your behat.yml
:
suites:
extensions:
LoversOfBehat\ScreenshotExtension:
storage:
filesystem:
path: '/path/to/screenshots/directory/'