-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended
Description
What happened?
I'm using Selenium 4.14.0 with selenium-manager 4.14.0
I've tried to obtain WebDrive with selenium-manager, but Selenium look for selenium-manager only from 'bin' folder under Anaconda path.
But my selenium-manager is in 'Scripts' folder.
I don't know which one is right location but I think it should be fixed.
I've already added C:\ProgramData\Anaconda3, C:\ProgramData\Anaconda3\Library\bin, C:\ProgramData\Anaconda3\Scripts to my system variable PATH
How can we reproduce the issue?
Just run this code
driver = webdriver.Edge()
Relevant log output
WebDriverException Traceback (most recent call last)
File C:\ProgramData\Anaconda3\Lib\site-packages\selenium\webdriver\common\driver_finder.py:38, in DriverFinder.get_path(service, options)
37 try:
---> 38 path = SeleniumManager().driver_location(options) if path is None else path
39 except Exception as err:
File C:\ProgramData\Anaconda3\Lib\site-packages\selenium\webdriver\common\selenium_manager.py:81, in SeleniumManager.driver_location(self, options)
79 browser = options.capabilities["browserName"]
---> 81 args = [str(self.get_binary()), "--browser", browser]
83 if options.browser_version:
File C:\ProgramData\Anaconda3\Lib\site-packages\selenium\webdriver\common\selenium_manager.py:65, in SeleniumManager.get_binary()
64 if not path.is_file():
---> 65 raise WebDriverException(f"Unable to obtain working Selenium Manager binary; {path}")
67 logger.debug("Selenium Manager binary found at: %s", path)
WebDriverException: Message: Unable to obtain working Selenium Manager binary; C:\ProgramData\Anaconda3\bin\selenium-manager.exe
Operating System
Windows 10 Enterprise 22H2
Selenium version
Python 4.14.0
What are the browser(s) and version(s) where you see this issue?
Microsoft Edge for Business 118.0.2088.76 (Stable) (64 bit)
What are the browser driver(s) and version(s) where you see this issue?
EdgeDriver 118.0.2088.76 (Stable) (64 bit)
Are you using Selenium Grid?
No
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended