Details
-
Feature Request
-
Resolution: Done
-
Major
-
drone_1.1.0.Final
Description
Story:
In order to avoid false results from state leaking between deployments when using a reusable browser instance
As a tester
I want to be able to specify that Drone delete all cookies upon reconnecting the the resuable browser instance
Scenario:
Given that I've configured the WebDriver extension to use a remote reusable instance
: And I've configure the WebDriver extension to delete all cookies (by setting the deleteAllCookies property to true)
When I inject WebDriver into my test at a @Drone injection point
Then The browser should have no cookies
Rationale:
The deleteAllCookies configuration option eliminates potential side effects of using a remote reusable browser instance.