I am experiencing an issue with the webdriver_manager when trying to use it with the latest version of Chrome. The following error occurs:
DevTools listening on ws://127.0.0.1:55043/devtools/browser/f8c43d13-73e5-48a7-9ea7-912ac198e3c0
Traceback (most recent call last):
File ---, line 53, in launch_driver
chrome_opt.add_experimental_option("prefs", prefs)
AttributeError: 'WebDriver' object has no attribute 'add_experimental_option'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ---, line 377, in <module>
self = MasscourtScraper()
File ---, line 149, in __init__
self.driver = self.launch_driver() # Launch web driver
File ---, line 64, in launch_driver
driver = uc.Chrome(options=chrome_opt)
File ---, line 258, in __init__
self.patcher.auto()
File ---, line 178, in auto
self.unzip_package(self.fetch_package())
File ---, line 308, in unzip_package
with zipfile.ZipFile(fp, mode="r") as zf:
File ---, line 1249, in __init__
self.fp = io.open(file, filemode)
OSError: [Errno 22] Invalid argument: 'C:\\Users\\SAUCEW~1\\AppData\\Local\\Temp\\tmp0qwnh8s4'
The webdriver-manager tries to install chromedriver-win32.zip even though I'm on a x64 machine along with virus detected.
Steps to Reproduce:
Install the latest version of Chrome.
Use webdriver_manager to launch the Chrome driver.
Encounter the error mentioned above.
Expected Behavior:
The Chrome driver should launch without errors.
Environment:
Chrome version: 131.0.6778.70
webdriver_manager version: 4.0.2
Python version: 3.12.7
Operating System: Windows 10
Additional Information: N/A
Please let me know if there are any workarounds or if a fix is in progress. Thank you!
I am experiencing an issue with the
webdriver_manager
when trying to use it with the latest version of Chrome. The following error occurs:The webdriver-manager tries to install
chromedriver-win32.zip
even though I'm on a x64 machine along with virus detected.Steps to Reproduce:
Expected Behavior:
The Chrome driver should launch without errors.
Environment:
Additional Information: N/A
Please let me know if there are any workarounds or if a fix is in progress. Thank you!