What this site is for

The practice page is a deliberately plain page of HTML fixtures — elements with known ids, names, classes, link text, lists, and form inputs — for anyone learning or exercising browser automation tools such as Selenium WebDriver, WebdriverIO, or Playwright. It is meant to be a stable target: the same markup, the same identifiers, the same visible text, every time.

Name
Testing Examples
Licence
MIT OR Apache-2.0 OR GPL-2.0-only OR GPL-3.0-only OR BSD-3-Clause
Author
Joel Parker Henderson
Fixture contract
spec/index.md in the repository

47 demo repos, three tools times up to four languages times up to four targets

Every sibling repo pairs one browser-automation tool (Selenium, WebdriverIO, or Playwright) with one language (JavaScript, Python, Rust, or TypeScript) against one target. Two targets are real, runnable demos: this site's own fixture page (five of these repos — the ones whose exact ids, names, classes, and text this site's AGENTS.md and spec/index.md treat as a contract) and the real, public nhs.wales government site. The other two targets, Google Search and Google Maps, are illustrative only — each such repo's own AGENTS.md states plainly that its code must never be executed against the live site, since Google's Terms of Service restrict automated querying; see Google Search examples and Google Maps examples for the same pattern shown directly on this site. Two cells are empty on purpose — Selenium TypeScript and WebdriverIO TypeScript have no NHS Wales variant.

The complete demo repo family, one row per tool and language, one column per target
ToolLanguageThis siteGoogle SearchGoogle MapsNHS Wales
PlaywrightJavaScriptjoelparkerhenderson/demo-playwright-javascripttestingexamples/demo-playwright-javascript-for-google-searchtestingexamples/demo-playwright-javascript-for-google-mapsjoelparkerhenderson/demo-playwright-javascript-for-nhs-wales
PlaywrightPythonjoelparkerhenderson/demo-playwright-pythontestingexamples/demo-playwright-python-for-google-searchtestingexamples/demo-playwright-python-for-google-mapsjoelparkerhenderson/demo-playwright-python-for-nhs-wales
PlaywrightRusttestingexamples/demo-playwright-rusttestingexamples/demo-playwright-rust-for-google-searchtestingexamples/demo-playwright-rust-for-google-mapstestingexamples/demo-playwright-rust-for-nhs-wales
PlaywrightTypeScripttestingexamples/demo-playwright-typescripttestingexamples/demo-playwright-typescript-for-google-searchtestingexamples/demo-playwright-typescript-for-google-mapstestingexamples/demo-playwright-typescript-for-nhs-wales
SeleniumJavaScriptjoelparkerhenderson/demo-selenium-javascripttestingexamples/demo-selenium-javascript-for-google-searchtestingexamples/demo-selenium-javascript-for-google-mapsjoelparkerhenderson/demo-selenium-javascript-for-nhs-wales
SeleniumPythontestingexamples/demo-selenium-pythontestingexamples/demo-selenium-python-for-google-searchtestingexamples/demo-selenium-python-for-google-mapsjoelparkerhenderson/demo-selenium-python-for-nhs-wales
SeleniumRusttestingexamples/demo-selenium-rusttestingexamples/demo-selenium-rust-for-google-searchtestingexamples/demo-selenium-rust-for-google-mapstestingexamples/demo-selenium-rust-for-nhs-wales
SeleniumTypeScripttestingexamples/demo-selenium-typescripttestingexamples/demo-selenium-typescript-for-google-searchtestingexamples/demo-selenium-typescript-for-google-mapstestingexamples/demo-selenium-typescript-for-nhs-wales
WebdriverIOJavaScriptjoelparkerhenderson/demo-webdriverio-javascripttestingexamples/demo-webdriverio-javascript-for-google-searchtestingexamples/demo-webdriverio-javascript-for-google-mapsjoelparkerhenderson/demo-webdriverio-javascript-for-nhs-wales
WebdriverIOPythontestingexamples/demo-webdriverio-pythontestingexamples/demo-webdriverio-python-for-google-searchtestingexamples/demo-webdriverio-python-for-google-mapsjoelparkerhenderson/demo-webdriverio-python-for-nhs-wales
WebdriverIORusttestingexamples/demo-webdriverio-rusttestingexamples/demo-webdriverio-rust-for-google-searchtestingexamples/demo-webdriverio-rust-for-google-mapstestingexamples/demo-webdriverio-rust-for-nhs-wales
WebdriverIOTypeScripttestingexamples/demo-webdriverio-typescripttestingexamples/demo-webdriverio-typescript-for-google-searchtestingexamples/demo-webdriverio-typescript-for-google-maps Not built for this language

Locator-strategy walkthroughs (target this site)

A worked real-world example (targets nhs.wales)

How the site is built

This site is a SvelteKit project using @sveltejs/adapter-static, prerendered to plain HTML and deployed to GitHub Pages by GitHub Actions on every push to main.

The one exception is the practice page's fixture section (Id Examples through Input Submit Example): those elements are kept as plain HTML, not Lily components, so their ids, names, classes, and text stay exactly what the sibling demo repos expect.

git clone https://github.com/testingexamples/testingexamples.github.io
cd testingexamples.github.io
pnpm install
pnpm dev

The repository on GitHub