Free and open source

Practise test automation on a real-world UI.

Twenty pages of web components built for Selenium, Playwright, Cypress and WebdriverIO. Every element has a stable id and data-testid, so you can focus on writing good tests.

No sign-up Works offline Zero dependencies

        

Works with any browser automation tool

  • Selenium
  • Playwright
  • Cypress
  • WebdriverIO
  • Puppeteer
  • Robot Framework
  • TestCafe

Pick a component and start testing

Each page focuses on one kind of interaction, from simple inputs to shadow DOM and flaky timing. Start at the top or jump to whatever you need to practise.

Run it on your machine

The Test Lab is plain HTML, CSS and JavaScript. Clone it, serve it, and point your tests at http://localhost:3000.

Clone the repository

Download the source from GitHub.

git clone https://github.com/noorearafin/the-test-lab.git

Start a local server

Use Node, or Python if you prefer.

npm install && npm start

Write your first test

Ready-made examples live in the examples folder.

open http://localhost:3000