/devcontainer-selenium-grid

Turnkey solution to start developing apps that need a browser.

Primary LanguagePythonMIT LicenseMIT

Selenium Grid DevContainer

TL;DR

Selenium grid all-in-one turnkey solution to enable local browser tests.

Requirements

Just two assumptions to run the code: 1. Local docker setup. Podman should be fine to - i have not tested it, though 2. Access to docker hub

What this is not

This is no tutorial on using selenium. A Lot of smart people have created great tuturials - browse the list of links or ask a search engine.

What’s in it

I want to make it as easy as possible for you to get used to selenium grid. So i wrapped things up in a VS Code Devcontainer-setup. That way you need need to worry about ports and version numbers. For a kickstart some source code examples show basic usage.

i think the use of selenium is a must if you do development and testing of user facing software. Selenium grid makes it possible and easy to perform cross platform and cross browser tests. The grid in the name suggests selenium grid is build upon different components each talking to one another. And this is where it starts to get complicated.

Multiplatform Selenium images

I develop and use this setup on Apple silicon but it should run on any decent x64 or apple silicon device. Selenium components for platforms like Raspberry Pi, Apple Silicon (M Series) are described here

Info used during implementation