-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 browser driver. #1495
Comments
@pkduongsu, 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! |
I'm moving this to the docs issues, because it's not actually a problem with Selenium code. @harsha509 is there an example for JS where users can execute something in Selenium without a test runner? Or does everything need to go through something like mocha? (One of these days we should get together so you can walk me through how all the JS code works). 😂 |
Hi @pkduongsu , what was the command used to run the test? Am able to run the test and I don't see any issues. I have the above code placed in Thanks, |
Hi @harsha509 , sorry for not providing the full context of the problem before. I was trying to pair it with React web app, modified the package.json file with "s-test": "mocha test" in the scripts object, and ran the test using the command npm run s-test and it raised the error above. |
Hi @pkduongsu , Thank you for providing the complete context. Thanks, |
Hi @harsha509, I found a GitHub repository similar to my case: |
Hi @pkduongsu , The repository indicated at https://github.com/BalasubramaniM/react-selenium/tree/master is no longer up-to-date. The version of selenium-webdriver in this repository is 4.0.0-alpha.1, while the current version stands at 4.14.0. Updating the I've updated the repo deps and tested in here https://github.com/harsha509/react-selenium. Hope this helps! Thanks, |
Hi Harsha I'm facing the similar issue where getting the error: org.openqa.selenium.WebDriverException: Unable to obtain Selenium Manager Binary at: C:\Users.cache\selenium\manager\0.4.16\selenium-manager.exe Browser is not launching .
|
I will close this as we did not get more information. @anjalivaswani8614, this issue is about JS. You seem to use Java. If you are still facing an issue, please open a new one at https://github.com/SeleniumHQ/selenium |
What happened?
I downloaded selenium using npm install as the tutorial of installing selenium (https://www.selenium.dev/documentation/webdriver/getting_started/install_library/), then copied the javascript code in the example on GItHub https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/javascript/test/getting_started/firstScript.spec.js#L16
However, when i try to run the test, it raises the error: Unable to obtain browser driver
How can we reproduce the issue?
Relevant log output
Operating System
Windows 11
Selenium version
4.13.0
What are the browser(s) and version(s) where you see this issue?
Chrome
What are the browser driver(s) and version(s) where you see this issue?
"chromedriver": "^117.0.3", "geckodriver": "^4.2.1"
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: