I was previously using the default WebDriver from Selenium for web scraping, and I had set a custom download path that was working perfectly. However, after switching to undetected_chrome, the download files are now being saved to the default downloads directory instead of the custom path I specified.
I was previously using the default WebDriver from Selenium for web scraping, and I had set a custom download path that was working perfectly. However, after switching to undetected_chrome, the download files are now being saved to the default downloads directory instead of the custom path I specified.
Here is my method to initialize driver:
And here is the method to set custom download path
Environment OS: ubuntu-22.04 Python Version: 3.10 undetected_chrome Version: 3.5.5
Any help or guidance on how to resolve this issue would be greatly appreciated. Thank you!