Skip to content

Distributed Selenium Grid 4 setup using Docker and Azure VMs. Runs parallel Chrome and Firefox tests via RemoteWebDriver with JUnit 5 and generates rich Extent Reports with screenshots. A scalable, cloud-ready framework for cross-browser UI test automation.

Notifications You must be signed in to change notification settings

scjm/selenium-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perfect 👍 — here’s your full README.md version of the 300-word Selenium Grid project description, cleanly formatted for GitHub with headings, code fences, and spacing. You can copy-paste this directly into your repo as README.md:


🧠 Distributed Selenium Grid with Docker & Azure

This project demonstrates how to set up a Selenium Grid 4 environment using Docker containers deployed across multiple Azure Virtual Machines for true distributed, cross-browser testing.

The Grid consists of a central Hub and multiple browser Nodes (Chrome and Firefox) that register themselves automatically and advertise their capabilities. Tests are routed by the Hub to the appropriate Node based on browser requirements, enabling parallel execution across multiple environments.

The accompanying Java + JUnit 5 test suite shows how to connect to the Grid using RemoteWebDriver, run functional tests on both browsers, and automatically generate interactive Extent Reports with embedded screenshots for failed tests.

This project is ideal for automation engineers and QA professionals who want to learn how to:

  • Build scalable, cloud-based Selenium test infrastructure
  • Deploy and connect Nodes across VMs in Azure
  • Integrate Extent Reports for rich HTML reporting
  • Execute parallel, data-driven tests with minimal configuration

⚙️ Tech Stack

  • Selenium Grid 4.22
  • Docker & Docker Compose
  • Java 17 / JUnit 5
  • Extent Reports (HTML reporting)
  • Azure Virtual Machines (Ubuntu 22.04 LTS)

🚀 Features

  • Centralized Hub with Chrome & Firefox Nodes
  • Automatic screenshot capture on failure
  • Parallel test execution across multiple VMs
  • Clean Extent Reports in target/extent/extent.html
  • Fully scripted Docker setup for repeatable deployments

🌐 Outcome

A production-grade, containerized Selenium Grid that integrates into CI/CD pipelines to support reliable, scalable, and visually rich end-to-end UI testing.


Would you like me to add a "Quick Start" section next (with the exact commands to deploy the Hub and Nodes in Azure)? That’s often the most-clicked section on GitHub READMEs.

About

Distributed Selenium Grid 4 setup using Docker and Azure VMs. Runs parallel Chrome and Firefox tests via RemoteWebDriver with JUnit 5 and generates rich Extent Reports with screenshots. A scalable, cloud-ready framework for cross-browser UI test automation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published