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
Installing chromium which is already installed #803
Comments
Rod requires static browser version, or behavior will be different between different browser version, but there's no easy way to check the browser revision (not the version, or we need a version to binary download url map). Such as if chromium team give us a cli option like: chromium --revision But there's no such cli option, if you can help us to find a way then we can make a PR to add this feature. However, you can use example code like this to use your local binary: rod/lib/launcher/example_test.go Lines 13 to 18 in ab8740f
|
This code will do my work. However, chromium really doesn't have a way to check browser version? It works on my system though $ chromium --version
Chromium 109.0.5414.74 |
It's revision, not version. As I said, version is useless. |
So you use hardcoded lookup paths instead of env path. Whatever, my issue has been resolved. #808 |
Rod Version: v0.112.5
The code to demonstrate your question
It's actually the default code of
rod_test.go
of this repo.What you got
What you expected to see
Rod is trying to install chromium though I already have chromium installed and it's available in the PATH. Shouldn't it use the existing one? Why would I need to install it again?
The text was updated successfully, but these errors were encountered: