lovers-of-behat/screenshot-extension

Behat extension to take screenshots of failed steps

Installs: 4 426

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:behat-extension

0.2.1 2023-03-25 16:47 UTC

This package is auto-updated.

Last update: 2024-11-25 20:42:45 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/'