Skip to content
Discussion options

You must be logged in to vote

Hello @sadikhan918.

  1. Yes, pydoll has support for that, but for now you have to do it kinda manually. I'll open an issue for that:
from pydoll.browser.options import ChromiumOptions
from pydoll.browser.chrome import Chrome

options = ChromiumOptions()
options.add_argument("--user-data-dir=/path/to/persistent/storage")

chrome = Chrome(options)
await chrome.start() # this will launch with the persistent context! 

For network interception, you need to enable the network_events. There's a entire section in the documentation just for that:
https://pydoll.tech/docs/features/network/monitoring/

I'll add this same pattern to pydoll eventually, but for now you can do this:

# you can just copy thi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sadikhan918
Comment options

@thalissonvs
Comment options

@sadikhan918
Comment options

Answer selected by sadikhan918
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants