2017 © Pedro Peláez
 

behat-extension behat-giffy-extension

Takes screenshots for every browser interaction made

image

fonsecas72/behat-giffy-extension

Takes screenshots for every browser interaction made

  • Monday, August 1, 2016
  • by fonsecas72
  • Repository
  • 2 Watchers
  • 9 Stars
  • 27,146 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

Giffy - behat-giffy-extension

Behat extension that generates an animated gif with the complete interaction of tagged scenarios, (*1)

This extension adds a driver that will allow you to create a animated GIF based on saved screenshots for each interaction with the browser., (*2)

Enable it by adding it to your session group and by adding a @giffy tag to your feature/scenario., (*3)

You can also use as your default session (javascript maybe) but be aware that it will slow down your tests., (*4)

It works on top of selenium2, (*5)

How to use

Add it as composer dependency, (*6)

composer require fonsecas72/behat-giffy-extension, (*7)

Update you behat.yml, (*8)

default:
    extensions:
        Fonsecas72\GiffyExtension:
            screenshot_path: build/gifs
            use_scenario_folder: true
        Behat\MinkExtension:
            base_url:             http://link.php
            files_path:           'features'
            browser_name:         firefox
            default_session:      selenium2
            javascript_session:   selenium2
            sessions:
                selenium2:
                    selenium2: ~
                giffy:
                    giffy: ~
giffy:
    extensions:
            Behat\MinkExtension:
                default_session:      giffy
                javascript_session:   giffy

Then you could do:, (*9)

behat -p giffy, (*10)

Or you can append the @giffy tag to your feature/scenario., (*11)

The Versions

01/08 2016

dev-master

9999999-dev

Takes screenshots for every browser interaction made

  Sources   Download

MIT

The Requires

 

by Hugo Fonseca

debug screenshot

01/08 2016

1.0.4

1.0.4.0

Takes screenshots for every browser interaction made

  Sources   Download

MIT

The Requires

 

by Hugo Fonseca

debug screenshot

28/07 2016

1.0.3

1.0.3.0

Takes screenshots for every browser interaction made

  Sources   Download

MIT

The Requires

 

by Hugo Fonseca

debug screenshot

28/07 2016

1.0.2

1.0.2.0

Takes screenshots for every browser interaction made

  Sources   Download

MIT

The Requires

 

by Hugo Fonseca

debug screenshot

28/07 2016

1.0.1

1.0.1.0

Takes screenshots for every browser interaction made

  Sources   Download

MIT

The Requires

 

by Hugo Fonseca

debug screenshot

28/07 2016

1.0.0

1.0.0.0

Takes screenshots for every browser interaction made

  Sources   Download

MIT

The Requires

 

by Hugo Fonseca

debug screenshot