elvetemedve / behat-screenshot

This is an extension for Behat which provides debugging functionality by taking a screenshot of failed tests.
MIT License
92 stars 17 forks source link

Check the driver to not create warnings #19

Closed lologhi closed 8 years ago

lologhi commented 8 years ago

Hi! Adding a if (!$driver instanceof Selenium2Driver) { return } could prevent this extension to try to create screenshot while using the Symfony2 driver, for example. Thx !

elvetemedve commented 8 years ago

@lologhi A fix has been released as version 1.2.3.

lologhi commented 8 years ago

So fast !! Thanks a lot !!