-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser storage for authentication handling #5
Comments
Hi @thernstig, sorry for taking so long. Is the PageCoroutine("evaluate_handle", "window.localStorage.setItem('foo', 'bar');")
|
I am not sure, it seems the Playwright storage API is a bit more powerful in saving all state easily. (cookies, local storage, session storage, IndexedDB etc.) |
It's only possible to pass storage state to |
I think setting storage state per context is the right approach. |
Besides defining values on startup as currently possible, #13 will allow to set storage data on dynamically created contexts. |
Hi!
https://github.com/microsoft/playwright/releases/tag/v1.7.0 added the browser storage API. How would this be used with this package? Could it be described somewhere in the docs, or is it not possible?
The text was updated successfully, but these errors were encountered: