Files
selenium-4-grid-k8s-docker/README.md
Burak Kaygusuz 05f001a174 Add the badge
2021-05-10 17:13:45 +03:00

1.5 KiB

Selenium 4 Grid & Kubernetes & Docker

Selenium Java

This project demonstrates how to execute the distributed tests parallel via deploying Selenium Grid 4 to a Kubernetes cluster.

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