You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if anyone has had success with setting the options.binary_location in their webdriver.Remote() setup. I am installing Brave (a chromium browser) in a custom docker image as follows:
FROM selenium/standalone-chromium:latest COPY entrypoint.sh entrypoint.sh RUN sudo chmod +x entrypoint.sh RUN curl -fsS https://dl.brave.com/install.sh | sh ENTRYPOINT ["./entrypoint.sh"]
This installs Brave in the /opt/brave.com/brave/brave directory. When I pass this directory to the options, I can see in the post-creation logs that is has been set - however the remote webdriver is not using it. No error is given, Chrome is simply used instead, which leads me to believe it is perhaps being ignored.
I saw elsewhere that options.set_capability("goog:chromeOptions", {"binary": brave_path}) can help, however it did not solve the issue.
I am thinking this is potentially to do with the selenium/standalone-chromium:latest image - when I run selenium grid locally with java -jar selenium-server-4.30.0.jar standalone, then Brave works fine.
Does the standalone chromium docker image only support Chrome? Any help is appreciated, thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm wondering if anyone has had success with setting the
options.binary_location
in theirwebdriver.Remote()
setup. I am installing Brave (a chromium browser) in a custom docker image as follows:This installs Brave in the
/opt/brave.com/brave/brave
directory. When I pass this directory to the options, I can see in the post-creation logs that is has been set - however the remote webdriver is not using it. No error is given, Chrome is simply used instead, which leads me to believe it is perhaps being ignored.I saw elsewhere that
options.set_capability("goog:chromeOptions", {"binary": brave_path})
can help, however it did not solve the issue.I am thinking this is potentially to do with the
selenium/standalone-chromium:latest
image - when I run selenium grid locally withjava -jar selenium-server-4.30.0.jar standalone
, then Brave works fine.Does the standalone chromium docker image only support Chrome? Any help is appreciated, thank you.
Beta Was this translation helpful? Give feedback.
All reactions