TestDriver Playground

Demo pages for UI testing

Small pages that each show one kind of UI element. Point a TestDriver test at any of them. They run in your browser, with no backend, and look the same on every load.

Try it with TestDriver

Each test describes elements the way a user sees them. No selectors.

await testdriver.provision.chrome({
  url: 'https://testdriver.ai/playground/login/',
});
await testdriver.find('Username field').click();
await testdriver.type('demo');
await testdriver.find('Password field').click();
await testdriver.type('testdriver');
await testdriver.find('Log in button').click();

const result = await testdriver.assert('the page says Welcome, demo!');
expect(result).toBeTruthy();

New to TestDriver? Start with the docs.