john-doherty / selenium-cucumber-js

Browser automation framework written in pure JavaScript using official selenium-webdriver and cucumber-js
ISC License
120 stars 89 forks source link

Browser teardown #81

Closed kbytesys closed 6 years ago

kbytesys commented 6 years ago

This PR adds the feature that allows the user to choice different browser teardown strategies.

The default behavior is to close the browser after every scenario, but you can just clear cookies and storages of do nothing and let the user to reset some data if he want.

john-doherty commented 6 years ago

Nice work!