Close the browser and open it again: the browser keeps only what outlives it, its persistent cookies (a sign-in kept with "Remember me?", a browser remembered for two-factor sign-in) 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
Then we close the browser and open it again
Pattern
When(/^(I |we )*close the browser and open it again$/, …)
Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.