This is a TestNG suite-case for Selenium 4 Grid. It's a small demo we chose to developed as part of the DD2482 course.
Want to run tests in parallel across multiple machines? Then, Grid is for you.
Selenium Grid allows the execution of WebDriver scripts on remote machines by routing commands sent by the client to remote browser instances.
Grid aims to:
- Provide an easy way to run tests in parallel on multiple machines
- Allow testing on different browser versions
- Enable cross platform testing
We created two simple Selenium tests to be run in parallel through TestNG. This way it is possible to quickly run cross-platform tests.
We instantiated a hub, to which we can connect an arbitrary number of nodes. Tests are written on the hub and executed on the nodes.