bako/behat-selenium-animator

Generate gif animation from behat selenium steps

1.0.5 2016-07-04 07:42 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:13:31 UTC


README

This tools generate gif animation of every step in behat that is runned with selenium.

Installation

composer require bako/behat-selenium-animator

Add to behat configiration extension: Bako\Behat\BehatSeleniumAnimatorExtension: ~

Params:
- output_directory: directory_path (default is "/tmp/behatseleniumanimator/")
- enabled_always: true/false (not recommended)

Basic Usage

Add "--animator-record" option when running behat

Recommendation

Please use web driver focus on some elements that you want to be visible in animation.