sebdelsol

Results 170 comments of sebdelsol

This is a duplicate. Your error message is barely readable, please format it. ```python File "C:\Users\USER\AppData\Local\Programs\Python\Python39-32\lib\os.py", line 822, in fsdecode filename = fspath(filename) # Does type-checking of filename. TypeError: expected...

* What does `uc.find_chrome_executable()` return ? * What's the actual path of your Chrome executable on your system ? EDIT: thanks for formatting the error log, it helps.

What's the actual path of your Chrome browser executable on your system ? EDIT : when you've found out use `browser_executable_path` argument to point to it and please close the...

Note that Selenium has turned its `Service.creationflags` into `Service.creation_flags` **since version 4.6.0**. So I changed the relevant code **[here](https://github.com/sebdelsol/undetected-chromedriver/blob/2ef9791abb2b0c9d8bec8832897dd5c93a9dc4e3/undetected_chromedriver/__init__.py#L412)** in my [**fork**](https://github.com/sebdelsol/undetected-chromedriver). It works for any version of selenium.

`service_creationflags` is not implemented on this version, so you can either wait for the relevant pull request to be merged or use my fork in the meantime. `use_subprocess` is already...

* fix #623 * fix of fix #623 (Selenium turned `Service.creationflags` into `Service.creation_flags` since v4.6.0) * fix #869

> could you confirm this has been tested on win(32 and 64), debian (32 and 64) and MacOS? No I only have tested it on win (32 & 64)

I implemented your suggestions and there's no merge conflicts anymore :grinning: but : * I'm sorry there're some unnecessary _format & import_ changes because I forgot to disable _black_ &...

> what happens when people still use selenium < 4.6.0 ? It's handled [**there**](https://github.com/sebdelsol/undetected-chromedriver/blob/828c2d1ffb4fbd9616f3ada852ad3762fbb57c01/undetected_chromedriver/__init__.py#L415), it finds the proper `Service` attribute name. It was `"creationflags"` for Selenium < 4.6.0 and `"creation_flags"`...

Please check the download directory in the opened Chrome browser and you'll see it's been correctly set : ```python3 import undetected_chromedriver as uc options = uc.ChromeOptions() prefs = {"download.default_directory": "c:/tmp"}...