Close the browser and open it again: the browser keeps only what outlives it, its persistent cookies (a remember-me token) and its local storage, and forgets its session cookies. Open a page afterwards to see what the app makes of it.
Examples
When I close the browser and open it again
When we close the browser and open it again
And I close the browser and open it again
When I close the browser and open it again
Given I close the browser and open it again
Pattern
When(/^(I |we )*close the browser and open it again$/, …)
Part of @webship-js/spring-boot-steps (github.com/webship/spring-boot-steps), a step pack for Webship-js 2.0.x.