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
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.
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.
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
-
Video recording, screen resolution, and time zones in a Dynamic Grid
-
Testing file downloads with Selenium Grid 4 in a Docker environment
-
Is there any way to control downloaded files using Selenium?
-
[🚀 Feature: Support file downloads on the nodes #1813 ]
-
[🐛 Bug: Get download file in client #12034 ]
-
https://medium.com/no-sliver-bullet/apple-m1-讓你的-docker-build-不起來了嗎-bbe133d6d1bb
-
https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/#downloads
-
https://www.browserstack.com/guide/run-selenium-tests-using-firefox-driver
-
A simple tutorial of using selenium grid in python unittests
-
[🚀 Feature: Grid endpoint to kill all sessions of all nodes connected to a hub]