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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: Ubuntu SessionNotCreatedException no chrome binary at /usr/bin/google-chrome but google chrome is there and working #13783
Comments
@nienienienie, 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! |
We need more information about this issue in order to troubleshoot. Please turn on logging and re-run your code. Information on how to adjust logs for your language can be found in our |
logs with https://github.com/titusfortner/selenium-logger set to logs from Ubuntu
|
@bonigarcia do you know why this can happen? Was it because the browser path is a symlink? |
From what I can see, the Rust side is working correctly. SM returns both the chromedriver and Chrome path. @diemol Answering your question, the fact that the browser path is a symlink should not be a problem. In fact, in most Linux systems, the Chrome path is a symlink, and the Selenium session should be started correctly by the bindings. I have just executed a simple Java test in a Linux machine:
I don't know why the bindings raised the error Also, maybe it is worth bumping Selenium to 4.19, the latest stable currently. |
The error is returned directly by ChromeDriver, not the Java bindings, so I wondered about the symlink. @nienienienie can you check and execute the binary found at
|
after starting ChromeDriver and posting the above payload, I'm getting an error:
which - unfortutanely - is unreadable for me |
I missed quotes on "binary", please try:
|
also no good, after starting
and then curling
it gives
|
on the other hand, when I run other command I get different error
|
What happened?
When I run simple Kotlin program on Ubuntu I'm getting error:
but it seems that binary is indeed in that location, proof:
and even more proof:
How can we reproduce the issue?
the program:
The text was updated successfully, but these errors were encountered: