sebdelsol
sebdelsol
Oh you're right. This is due to a bug in the `'prefs'` experimental options that don't properly merge nested keys when they're already defined in a profile (you need a...
No but you could write one based on the same principles, subclass the driver to : * Launch the browser first as a detached process with a temp Profile. *...
* You should use `uc.ChromeOptions()` instead of the Selenium one. * **Why do you need to specify a debug address ?** _UC already looks for a free port for you..._...
_**Sure you launch twice your chrome**, once with `cmd` and a second time with `uc.Chrome()` in your script_ !! And by the way the correct command line switch is `--remote-debugging-port`......
Why would you want to do that ?!
why don't you use the Chrome browser launched and controlled by UC for that ? Sorry it doesn't make sense.
I guess it's possible but it would mean a lot of change in UC because there are some conflicts between the 2 packages. UC does launch a Chrome browser in...
Duplicate of #461
Here's a weird but simple workaround : ```python3 import undetected_chromedriver as uc class Chrome(uc.Chrome): def get(self, url): # block js execution self.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", {"source": "alert();"}) # but let get(url) immediately return...
Oh it's working 100% for me... What's the site where you get detected ? Anyway you'll want to raise the disconnect time and use this trick every `driver.get()` : ```python3...