2021-02-25 15:13:22 +03:00
2021-02-25 11:54:12 +03:00
2020-06-23 19:02:51 +03:00
2021-02-25 15:13:22 +03:00
2021-02-14 13:59:43 +03:00
2021-02-14 13:59:43 +03:00
2020-06-23 17:30:27 +03:00
2021-02-25 15:08:11 +03:00
2021-02-14 14:02:46 +03:00

Selenium 4 Grid & K8s & Docker

This demo that created as a template, demonstrates how to do the settings of the Chrome ve Firefox web driver for distributed parallel testing with Selenium 4 Grid using Kubernetes and Docker.

Requirements

Deploying the Kubernetes

# Configure the vm-driver
$ minikube config set vm-driver '<vm-driver-name>'

# Start minikube with configured CPU & memory
$ minikube start --cpus 4 --memory 8192

# Deploy all the grid components to kubernetes
$ kubectl apply -f deploy.yml

# Expose the router
$ kubectl expose deployment selenium-router-deployment --type=NodePort --port=4444

# Get the router URL to access the grid from outside K8s cluster
$ minikube service selenium-router-deployment --url

## To access the dashboard
$ minikube dashboard
Languages
Java 100%