Open skye0402 opened 1 day ago
Thank you very much. This stores all cookies automatically?
and you mean when use_context is false it does not use launch_persistent_context
@MagMueller yes, 100%. Default should be as it's now. For users that want persistence between the sessions they need to specify a folder and state True
. It behaves then like our usual browser with cache and cookies. However, certificate prompts still pop up. Need to look into this later (different issue).
Great - can you do a PR with your version?
Do you know good ways do directly integrate addblockers ?
Currently Playwright is opening a new browser context every time. This can be useful but all cookies, authentication and caching will be done from scratch.
I propose an option to start it with context. e.g. with parameters
I did some quick fix and it works well in
browser/service.py
Of course it needs the proper switching in
_setup_browser
- as you can see the--no-startup-window
is commented out, it would lead to an endless loop. However, it works well without it.What do you think? Loading is much, much faster now.