You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
There is no code in Geb that deals with clearing local storage but apparently in latest versions in WebDriver there is a WebStorage interface which provides ability to interact with local storage. Feel free to submit issues against Geb to: expose clearing local storage functionality via a method on browser and clear local storage together with clearing cookies as part of the test lifecycle.
Because the OP did not care to create a ticket and I think it makes sense anyway, I am taking care of it so as not to let it become forgotten.
Clearing local storage automatically or optionally before the browser/driver is closed is one thing.
Adding a method to clear it during runtime is another.
Even better would be other ways of iteracting with local storage, such as reading from or writing into it.
The text was updated successfully, but these errors were encountered: