27 Jan 2023 |
jake | [January 26th, 2023 11:59 AM] paajake: Can someone point me to some material discussing/teaching how to run selenium grid and browser nodes on arm? more specifically on the Apple M ? | 07:26:28 |
| Zakaria Shahed joined the room. | 09:06:42 |
Zakaria Shahed | Do you want to run in PC or cloud | 09:06:51 |
jake | Local | 09:07:26 |
Zakaria Shahed | Do you want to run it in docker or just through jar file? | 09:07:59 |
jake | Run via docker | 09:08:45 |
Zakaria Shahed | Are you already installed the docker in your pC? | 09:09:25 |
jake | Yes, problem is if I’m on a regular Intel or amd64 computer, I can run it fine, but the current OFFICIAL images don’t seem to be suitable for arm architecture, so it fails when I’m on Apple m1, so my question is what’s the recommended way to go about this? | 09:13:25 |
Zakaria Shahed | Can you share any screenshot or error log? | 09:14:57 |
miguel.suddya | The workaround could be to launch a vm with linux and start grid on a vm, just forward ports
i do not have mac, but I suppose there is no better way to run docker on arm architecture | 10:39:34 |
| hello joined the room. | 10:40:02 |
hello | I have a question | 10:40:08 |
hello | With selenium docker images, is it possible to register latest browser nodes to older hub version like registering chrome 109 node to hub 3.4.0 | 10:40:21 |
diemol | It is not possible because Grid 4 is not compatible with Grid 3 | 11:25:33 |
| _slack_seleniumhq_U04LN3TGF0E joined the room. | 11:28:37 |
jake | I see... Thanks, miguel.suddya | 11:45:55 |
jake | Zakaria Shahed ... | 11:47:05 |
| @adsspottipsusa:matrix.org left the room. | 14:08:06 |
| _slack_seleniumhq_U04M8348GKT joined the room. | 14:11:14 |
Brendan Biagas | You could try using the MacOS x86 emulation via Rosetta. Docker itself no longer requires Rosetta, and it wasn't enabled by default on MacOS 12 but I think it is now on MacOS 13. Either way, check if it's on or enable it with softwareupdate --install-rosetta and then in your docker-compose you can add platform: linux/amd64 to any image which you want to force the use of the non-ARM version.
I can't say from experience if this will work with the grid/browser images, but it has worked for me with other container images that lacked ARM support. | 19:05:40 |
Brendan Biagas | There's also https://github.com/seleniumhq-community/docker-seleniarm apparently, since you got me curious 🙂 | 19:20:31 |
miguel.suddya | I thought, rosetta is working with standalone apps
But if it is possible to run docker over rosetta, then it can be a solution | 19:26:05 |
Brendan Biagas | It's a system API to translate apps that Docker can leverage. There's a performance hit, and it won't be an apples-to-apples environment, but the option is there if there's no ARM available | 19:36:13 |
| Test43 joined the room. | 19:54:33 |
Test43 | Which is a better server to run Selenium in Python - Windows or Linux? | 19:55:48 |
| Test12341 joined the room. | 19:59:03 |
MichaelMintz | For GitHub Actions, Linux definitely spins up faster. | 20:25:48 |
28 Jan 2023 |
| whelife joined the room. | 00:59:55 |
whelife | holleo | 01:00:38 |
whelife | I have a question about Selenium-ide,anyone help? | 01:01:24 |