Replies: 4 comments
Incognito mode doesn't support extensions. Did you check sb.cdp.reload(ignore_cache=True, script_to_evaluate_on_load=None)? |
0 replies
|
Actually looks lke setting localStorage item using cdp on discord login page doesn't have any result. There's no item created: |
0 replies
|
Actually problem was that discord remove reference to localStorage https://stackoverflow.com/questions/52509440/discord-window-localstorage-is-undefined-how-to-get-access-to-the-localstorage |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I need to set value in localStorage, I'm using CDP mode
But after sb.cdp.refresh() is called token is being cleared (it's same when I manually add item and refresh cdp page)
So I've tried with UC mode:
But it fails with:
When I manually run :
localStorage.setItem("test", "test")in console it works only when I change JS context from "top" to "DevTools Performance Metrics"
All reactions