seleniumhq-community / docker-seleniarm

Multi-Arch (arm64/armhf/amd64) Docker images for the Selenium Grid Server
https://hub.docker.com/u/seleniarm
Other
249 stars 26 forks source link

[🐛 Bug]: Versions of Chromium 117 on Docker Hub #49

Closed minorling closed 11 months ago

minorling commented 11 months ago

What happened?

Chrome is on version 117 now, could you please help to update the latest 117 version in node-chromium?

Command used to start Selenium Grid with Docker

N/A

Relevant log output

N/A

Operating System

Mac studio

Docker Selenium version (tag)

4.1.2

jamesmortensen commented 11 months ago

Hi @minorling I published an update with the latest browsers. There's an issue with Chromium and Selenium 4.12.1 at the moment. Firefox functions with Selenium 4.12.1, but Chromium only works with Selenium 4.10.0. I believe it has something to do with Chrome for Testing and the fact that Seleniarm uses Chromium instead of Chrome.

Hope this helps!

minorling commented 11 months ago

Hi @jamesmortensen thank you so much! I'm using Selenium 4.10.0 and it's works fine, could you please share the dockerfile for this? That will be so much helpful when next time chrome update, and maybe I could build it by myself, thank you :)

jamesmortensen commented 11 months ago

@minorling to update the browser, I really don't do much. I do a git pull from the upstream docker-selenium project to get the latest changes and then push to docker-seleniarm trunk. Once I do that, the CircleCI process kicks off and builds and tests the images and deploys then to Docker Hub.

The Debian apt-get package manager installs the latest Chromium by default.

For Firefox, I pull the browser version from Debian snapshots because sometimes they don't have the latest for all 3 architectures. This part requires digging into the release notes to find the latest version supported by armhf, arm64, and amd64, and then changing the path variable to match the snapshot URL.

I could probably document this a little better, and then if you're interested in helping, you could help keep the images up to date by submitting pull requests.

The file I update for Firefox is NodeFirefox/Dockerfile.multi-arch line 27 is the Debian snapshot URL.

If you fork the project, update Firefox, and submit a PR, the images will be tested. If they pass, I can just merge the pull request.

If you can help, that would help a lot of people.

minorling commented 11 months ago

Thank you so much @jamesmortensen, I will try it when next time I need the update of browsers.

github-actions[bot] commented 7 months ago

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.