Skip to main content
Testplane v9

From code
to confidence.

Build and ship better web apps with end-to-end tests in real browsers. Compare screenshots and rewind to the step that failed.

Testplane UI
Orbital Atlas
Visual checks show you the page as your users see it.

One suite, any browser

Test in any browser, including mobile browsers on Android emulators and iOS devices. Run the same tests locally, in a container, or on a remote grid.

Explore browser environments
Chrome×12Firefox×12Edge×12Safari×12
testplane.config.tsgridUrl: process.env.GRID_URL

A browser test, line by line

Use built-in browser commands to navigate, click, and type. Add your own commands for interactions specific to your app.

Write a test
catalogue.testplane.ts
it("opens Saturn’s field notes", async ({ browser }) => {
await browser.url("/");
await browser.$('[data-planet="Saturn"]').click();

await expect(browser.$("h1")).toHaveText("Saturn");
await browser.assertView("saturn-field-notes", "#catalogue");
});
Orbital Atlas showing Jupiter

Rerun only the affected tests

Selectivity tracks the Node.js modules each test loads and the source files it executes in the browser.

Explore Selectivity
Selectivity1 of 3 tests selected
Changed filesNext run
  • Open homeSkip
  • Visit About from homeRun
  • Open ContactSkip

Inside a test run

Run tests in parallel

Each worker can run several browser sessions at once. Set concurrency limits per browser and shard large suites across CI jobs.

Explore parallelism
SuiteWorkersBrowser sessionsWorker 1Worker 2Worker 3ChromeFirefoxFirefoxSafariSafariChrome
Current Saturn field card

Click the image to circle the change

Catch the visual change

Compare an element or the whole viewport against a reference screenshot with assertView. Ignore dynamic regions, review changed pixels, and approve new references in Testplane UI.

Explore visual testing
url('/catalog')

Rewind to a command

Time Travel saves DOM snapshots so you can inspect the state of the page at each test step.

Explore Time Travel

A CLI for coding agents

The CLI gives AI agents browser access and compact DOM snapshots. Agents can check selectors, get the equivalent Testplane code, and use the HTML report from CI to see why a test failed.

Explore Testplane CLI
@testplane/cli
npx @testplane/cli navigate http://localhost:3000
npx @testplane/cli snapshot
npx @testplane/cli click '[data-planet=Saturn]'
Testplane Code
await browser.$("[data-planet=Saturn]").click();

Run your first test

npm init testplane@latest
Follow the quickstart