
Best Websites for Practicing Test Automation and Playwright
The best demo websites to practice Playwright test automation, plus Selenium and Cypress: sites for frames, shadow DOM, real app workflows, and API testing.
These are the demo websites I recommend for practicing Playwright test automation, and they work just as well for Selenium, Cypress, WebDriverIO, or Nightwatch. They cover the scenarios that are hard to practice on your day job: frames, shadow DOM, flaky load timing, multi-step app workflows, and APIs that need auth tokens.
Test Automation Practice Websites at a Glance
| Site | Best for | Type |
|---|---|---|
| The Internet | Hard-to-automate edge cases: frames, shadow DOM, new windows, file upload | UI |
| Automation Exercise | Beginners: e-commerce store with written test cases to follow | UI + API |
| LetCode | Beginners: one web element at a time (inputs, tables, alerts, calendars) | UI |
| UI Testing Playground | Timing and dynamic element edge cases | UI |
| SauceDemo | Login and cart flows with different user behaviors | UI |
| OrangeHRM | A complete, realistic business app | UI |
| ParaBank | Realistic banking workflows | UI |
| GlobalsQA Banking | Testing an Angular app | UI |
| AutomateNow Sandbox | Form controls, pop-ups, and search | UI |
| QA-Practice | Mixed UI and API practice, plus a buggy form for bug hunting | UI + API |
| The Sweet Shop | E-commerce with hidden defects | UI |
| Swagger Petstore | Swagger-documented REST API | API |
| Restful Booker | CRUD API testing with auth tokens | API |
| FakeRestAPI | Simple REST endpoints, no auth | API |
| Star Wars API | Read-only API for building a test suite or Postman collection | API |
Why Use Demo Websites for Test Automation Practice
Before investing time in learning and building out a test suite against a new automation framework it is a good idea to try it out against different kinds of websites to ensure the framework performs reliably and is easy to work with. For example, if you are using Selenium currently, but are interested in trying Cypress, Playwright, WebDriverIO, or Nightwatch try doing more than just the basic example against these sites. This way you don't get too invested to find out your chosen automation framework doesn't work on some important area you need to write automation for.
You'll want to try out your test automation framework against things like:
- iFrames
- Modal dialogs
- New tabs
- Multiple windows
- Asynchronous loading of content
- File upload dialogs
You may not have one or all of these scenarios in your current automated software testing project. These demo sites become useful to provide somewhere to practice skills around these harder scenarios if you don't get exposure in your normal everyday feature testing.
Best Playwright Practice Websites by Feature
If you're learning Playwright specifically, here's where to practice the features you'll lean on most:
- Frames: The Internet's nested frames page is good practice for
frameLocator(). - Shadow DOM: The Internet's shadow DOM page. Playwright locators pierce open shadow roots by default, so this is a good way to see that in action.
- New tabs and windows: The Internet's multiple windows page, for practicing waiting on a new
pagefrom the browser context. - File upload: The Internet's file upload page, for
setInputFiles(). - Auto-waiting and slow content: UI Testing Playground's load delay and AJAX data pages show how Playwright's auto-waiting handles delays without manual sleeps.
- Reusing login state: SauceDemo's multiple test users make it a good place to practice saving and reusing authentication with
storageState. - API testing: Restful Booker requires an auth token for updates and deletes, which is good practice for Playwright's
requestfixture. - Playwright's own demo: demo.playwright.dev/todomvc is the TodoMVC app used throughout Playwright's documentation, so you can follow along with the docs against the same app.
For bigger end-to-end flows, OrangeHRM and ParaBank are full applications where you can practice page objects and test data setup across many pages.
Recommended Demo Websites for Test Automation Practice
I've compiled a list of the best websites I've come across to practice or demo test automation frameworks against. They include the harder to automate scenarios just mentioned.
The Internet
This GitHub repository is a collection of common test automation scenarios including hard to automate situations; nested frames, shadow DOM, keypresses, and complicated DOMs. The hosting on this site can be unreliable so fall back to their GitHub if it happens to be down.
Automation Exercise
automationexercise.comThis example clothing storefront has both a web front end to test against and APIs. The site even includes test cases to guide you.
LetCode
letcode.inThis site isolates examples around common DOM elements letting you practice on specific examples of web elements like inputs, tables, alerts, slides, calendars, and more.
UI Testing Playground
uitestingplayground.comSmaller site, but it contains edge cases for load delays, mouse over behavior, dynamic IDs, and automation issues arising from hidden layers.
SauceDemo
saucedemo.comAnother demo web storefront (Swag Labs) useful for testing login and shopping cart flows. A key distinction on this site is that it has several different logins that give you different experiences on the same site: standard, locked out, problem user, performance glitch, error user, and visual user. Maintained by the folks at Sauce Labs.
OrangeHRM
OrangeHRM demoA live demo of the open source OrangeHRM human resources system. I've used it in the past and it's pretty complete, and a little more polished than ParaBank. It's a full business application with modules for admin, employee records (PIM), leave, time, recruitment, performance, claims, and more, so it's a realistic target for practicing page objects and multi-page workflows. The demo login credentials are shown on the login page.
ParaBank
ParaBankA demo online bank maintained by Parasoft. Register an account and you can practice realistic banking workflows like transferring funds, bill pay, and checking account history.
GlobalsQA Angular Banking Site
GlobalsQAVery small example bank website written in Angular for testing your automation framework against a website written in Angular. The site has login scenarios as well as transaction listing, deposits, and withdrawal behavior workflows.
AutomateNow Forms Sandbox
AutomateNowSmall, straight-forward single page site for practicing interactions with typical form controls, search, pop up dialogs, and a map.
QA-Practice
QA-PracticeClean site that combines several different testing exercises in a small e-commerce site:
- Common web elements
- API with Swagger documentation
- Buggy web form you can use to challenge candidates to see how many bugs they can discover.
The Sweet Shop
sweetshop.netlify.appThe Sweet Shop is a fake e-commerce front end for a candy store with hidden defects and opportunity to automate:
- Account login
- Shopping cart
- Product pages
- Non-US currency
Recommended API Testing Sites
If you are learning API test automation with Playwright's request fixture, SuperTest + Mocha, or Postman, the following sites are handy REST APIs to practice tests against.
Swagger Petstore
petstore.swagger.ioManage an example pet store inventory through this API. This site shows off the usefulness in Swagger when documenting REST APIs, but you can also practice API testing with it.
Restful Booker
restful-booker.herokuapp.comTest all kinds of CRUD (Create, Read, Update, Delete) REST API scenarios using this example booking API, including creating an auth token for updates and deletes.
FakeRestAPI
fakerestapi.azurewebsites.netMore practice REST endpoints around a book store inventory API. This one lacks Auth operations so you can't practice token creation. However, Restful Booker (above), does support this.
Star Wars API
SWAPIA well-documented public API for Star Wars data that can be used for practicing building your own Postman collection or automated API test suite.
Other Lists / More Reading
Butch Mayhew maintains a list of more sites categorized by security, mobile, performance, and web.
Recommended sites by Andrew Knight.
Frequently Asked Questions
Know of a good one?
If you know of any other good sites I should include please reach out through my social links below 👇