Thanks for reaching out. I have to explore that with minikube, did not find any documentation about it but its possible with helm. You can follow the instruction given at-github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/README.md Will soon come up with videos about it.
Hey, your videos helped me a lot... But i have a question now... I have a c# with selenium solution that already redirects and based on the browser i choose in the app setings.json file it goes to the respective node. But now I want to create a node everytime I run a collection. For example... If i run the Collection for the login tests, it will create me a node and after the execution, it shut down the node. Should i use kubernets as well? Do you have any other approach? Im running the selenium grid 4 in a ubuntu server 24.0'4 with hub 4.21, chrome node 125.0, edge 125.0 as well
Hi, Thanks for the feedback! You can create a Kubernetes job to spin up a node for the duration of a test execution. Modify your test automation framework to trigger the Kubernetes job at the start of a test collection execution and ensure the job is cleaned up afterward. Before execution starts: kubectl create -f selenium-node-job.yaml After the test complete: kubectl delete job selenium-node-job.yaml Other solution is docker compose, I have created a video on this as well where I have done auto-scaling on suite level but same autoscaling can be done on test level.as well- ua-cam.com/video/YklEOb359S8/v-deo.html
Hi, I have one question: how do I access this setup from another machine? How to get acces to selenium grid from another machine to run tests from there ?
Hi, Thanks for reaching out! To access your Selenium Grid setup running on Minikube from another machine, you'll need to expose the Kubernetes Service to the external network. Reference- kubernetes.io/docs/tutorials/hello-minikube/#create-a-service
how does it support video recording ?
Thanks for reaching out.
I have to explore that with minikube, did not find any documentation about it but its possible with helm.
You can follow the instruction given at-github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/README.md
Will soon come up with videos about it.
Hey, your videos helped me a lot...
But i have a question now...
I have a c# with selenium solution that already redirects and based on the browser i choose in the app setings.json file it goes to the respective node. But now I want to create a node everytime I run a collection. For example... If i run the Collection for the login tests, it will create me a node and after the execution, it shut down the node. Should i use kubernets as well? Do you have any other approach? Im running the selenium grid 4 in a ubuntu server 24.0'4 with hub 4.21, chrome node 125.0, edge 125.0 as well
Hi,
Thanks for the feedback!
You can create a Kubernetes job to spin up a node for the duration of a test execution.
Modify your test automation framework to trigger the Kubernetes job at the start of a test collection execution and ensure the job is cleaned up afterward.
Before execution starts:
kubectl create -f selenium-node-job.yaml
After the test complete:
kubectl delete job selenium-node-job.yaml
Other solution is docker compose, I have created a video on this as well where I have done auto-scaling on suite level but same autoscaling can be done on test level.as well-
ua-cam.com/video/YklEOb359S8/v-deo.html
Hi, I have one question: how do I access this setup from another machine? How to get acces to selenium grid from another machine to run tests from there ?
Hi,
Thanks for reaching out!
To access your Selenium Grid setup running on Minikube from another machine, you'll need to expose the Kubernetes Service to the external network.
Reference-
kubernetes.io/docs/tutorials/hello-minikube/#create-a-service
✨✨
GREAT