-
Notifications
You must be signed in to change notification settings - Fork 575
Plans for implementing Zalenium Grid based on Selenium 4 Grid #1028
Comments
I did investigate this December last year when I had a few days at work to work on whatever I wanted and @diemol told me this:
Unfortunately, though, I spent most of that time learning the buck build tool (that's what selenium 4.x uses as the build tool), as I found it rather odd to work with (I'm used to maven and gradle). I'm only interested in the Kubernetes side, so the way I thought of implementing it would be to have the sessionMap actually implemented directly as annotations on the selenium pods in kubernetes (essentially following my kubernetes HA suggestions in #484). This would obviously make parts of the implementation very specific to running in a kubernetes cluster though. I suppose the vanilla docker implementation could use the reference implementation of the sessionMap I guess? @rvarum how do you currently run zalenium? Saying all this, I don't have any plans at present to implement this, as I use Selenium quite infrequently these days. Not saying I wouldn't implement it, because I do like the idea of making Zalenium a bit more resilient to changes in the kubernetes cluster, but it would end up as after hours work. |
To be honest, the path isn't quite clear. My initial goal would be to put as much as possible from Zalenium's functionalities into the upstream Grid, and perhaps have the extra bits that don't fit there in an additional project. |
@diemol, so maybe put all the docker container creation code (docker, swarm and k8s) in selenium directly? And then maybe just some of the UI bits in a separate project? Have you talked to Simon about it? Is he keen for that? |
Yes, the alpha of the new Grid already starts a docker container itself. I am not sure how we will handle the Kubernetes stuff. |
sorry for the late response @pearj . to be honest, most of my motivation for using Selenium 4 grid is stability. |
@rvarum fair enough, for what it's worth, I haven't seen the FORWARDING_TO_NODE_FAILED error when running in Kubernetes, my suspicion is simply that there are more resources available. Since you're using Amazon, you could try deploying it on EKS. But if you've never used Kubernetes before there will be a bit of a learning curve. |
Just an update here, due to the changes that Grid 4.x will have, it becomes really hard to migrate Zalenium to use it. It will be easier to write it from scratch. I will close this issue, based on my comment. |
Hi Zalenium Team,
I was wondering if you have plans to implement a Zalenium grid based on the Selenium 4 grid which was re-written and should be much more robust and stable.
and kudos guys for this wonderful project!
The text was updated successfully, but these errors were encountered: