If you're new to browser automation, you're in the right place. Testing Examples is a small, free, open source site built for anyone learning to make a browser do things automatically — click, type, search, wait, assert — whether you've never written a line of code or you already know the ropes and just want a quick reference or somewhere reliable to try something out.

Learn

Related concepts

Examples

Examples as repositories

Practice on this page

Everything below is a stable fixture playground: fixed ids, names, classes, and text that automation tools can reliably find every time, which is exactly what makes it useful to practice on directly — point your script at it, find an element, interact with it, and see what happens. The exact contract this page keeps is documented in this repo's spec/index.md.


Id Examples

Id Example 1

Id Example 2

Id Example 3

Name Examples

Name Example 1

Name Example 2

Name Example 3

Class Examples

Class Example 1

Class Example 2

Class Example 3

Link Examples

Link Example 1

Link Example 2

Link Example 3

Ordered List Example

  1. alfa
  2. bravo
  3. charlie

Unordered List Example

  • alfa
  • bravo
  • charlie

Input Text Example

Input Checkbox Example

Input Radio Example

1 2 3

Input Select Example

Input Select Multiple Example

Input Color Example

Input Date Example

Input Date and Time Example

Input Email Example

Input File Example

Input Hidden Example

Input Image Example

Input Month Example

Input Number Example

Input Password Example

Input Slider Example

Input Search Example

Input Telephone Example

Input Time Example

Input URL Example

Input Week Example

Input Button Example

Input Reset Example

Input Submit Example