-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛 Bug]: Unable to obtain driver after update to Selenium 4.11.2 on MacOS #12543
Comments
@MarcGruener, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Looks like a ChatGPT answer 😂 |
Can you turn on logging and provide the output so we can see what Selenium Manager is doing? |
I tried but I can't quite figure out how to activate the logging/its not working as expected:
# test_selenium.py
import logging
logging.basicConfig(filename='selenium.log', encoding='utf-8', level=logging.DEBUG)
logger = logging.getLogger('selenium')
logging.info('<--- Started --->')
from selenium import webdriver
browser = webdriver.Safari()
browser.get('http://selenium.dev/')
logging.info('<--- Finished --->') --> Getting the
If I follow the same steps as above but use
|
Oh, Conda. That's different. Conda does not currently support Selenium Manager, you'll need to continue to manage your own drivers until we can determine a work-around. #11234 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
I was using Selenium 4.10.0 for a Python 3.11.4 project on MacOS Ventura 13.4.1 successfully.
However, after updating Selenium to 4.11.2 with the Safari Driver, I would always get the following error:
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for safari using Selenium Manager.
When debugging with
safaridriver --version
, I would always get:Included with Safari 16.5.2 (18615.2.9.11.10)
I also manually checked $PATH and it was included so it should be working.
After downgrading to Selenium 4.10.0 again, everything works perfectly again.
How can we reproduce the issue?
Relevant log output
Operating System
macOS Ventura 13.4.1
Selenium version
Python 4.11.2
What are the browser(s) and version(s) where you see this issue?
Safari 16.5.2
What are the browser driver(s) and version(s) where you see this issue?
Safari 16.5.2 (18615.2.9.11.10)
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: