For developersPlaywright, without owning the framework

Real Playwright specs out. No framework to babysit.

You get standard Playwright TypeScript you can read, diff, and run under your own config. One test definition executes on Selenium or Playwright, exports to a real .spec.ts with no TestInspector dependency, and repairs its own selectors on retry. Keep your CI. Skip the maintenance treadmill.

Auto-wait, video, and traceRuns in your pipelineNo lock-in export
The export

Steps in. Playwright out. One to one.

Every command maps to a line you would have written yourself. Read the table on the left, read the spec on the right, and confirm the mapping row by row.

Login / Smoke — stored steps
#CommandTargetValue
1openhttps://app.acme.com/login
2assign#email{{QA_USER}}
3assign#password{{QA_PASSWORD}}
4clickbutton[type='submit']
5assertElementVisible[data-testid='dashboard-root']
6assertTexth1.greetingWelcome back
7extract.account-id->accountId
8requestGET/api/v1/accounts/{{accountId}}status_equals 200
login-smoke.spec.ts — client-side export
import { test, expect } from '@playwright/test';

test('Login / Smoke', async ({ page }) => {
  await page.goto('https://app.acme.com/login');
  await page.locator('#email').fill(process.env.QA_USER);
  await page.locator('#password').fill(process.env.QA_PASSWORD);
  await page.locator("button[type='submit']").click();
  await expect(page.locator("[data-testid='dashboard-root']")).toBeVisible();
  await expect(page.locator('h1.greeting')).toHaveText('Welcome back');
  const accountId = await page.locator('.account-id').textContent() ?? '';
  const res = await page.request.get(`/api/v1/accounts/${accountId}`);
  expect(res.status()).toBe(200);
});
{{QA_USER}} resolves to process.env.QA_USERextract becomes a real const a later step can read
Dual engines

One definition. Two engines. Switched per run.

Because tests are stored as structured steps rather than engine-specific code, the same definition runs on Selenium WebDriver or Playwright. Pick the engine from a dropdown per run, or set a per-suite default.

Auto-waiting

The Playwright engine waits for elements and assertions to settle before acting, which removes most timing flakes without explicit sleeps.

Video on every run

Each Playwright run records video, so a failure two weeks ago is still something you can watch rather than reconstruct.

Step-level trace

Trace files capture DOM snapshots per step, so you debug the exact action that broke instead of guessing from a stack trace.

engine: seleniumengine: playwrightsame steps, same assertions, chosen at run time.
UI and API in one test

A UI step can feed an API assertion.

36 commands cover clicks, form input, navigation, assertions, and HTTP requests in a single flow. Read a value off the rendered page, then assert the backend agrees, without leaving the test.

  • extract captures rendered text; a later requestGET uses it in the URL.
  • Assert on status code and on the parsed JSON body in the same step sequence.
ui-feeds-api.spec.ts
// One test. A UI step feeds an API assertion.
const orderId = await page.locator('[data-order-id]').textContent() ?? '';
const res = await page.request.get(`/api/v1/orders/${orderId}`);
expect(res.status()).toBe(200);
expect((await res.json()).status).toBe('confirmed');
Honest comparison

Hand-rolled Playwright vs TestInspector

A hand-rolled suite wins where arbitrary code matters. TestInspector wins on maintenance and engine flexibility. Here is the split, without the marketing.

ConcernHand-rolled PlaywrightTestInspector
Who maintains broken selectorsYou, per failing specSelf-healing on retry, change reported
Where tests liveFiles in your repoStructured steps + client-side export to your repo
Engine flexibilityPlaywright onlySelenium or Playwright, chosen per run
Video + trace on every runYesYes
Auto-wait on actionsYesOn the Playwright engine
UI and API assertions in one testHand-wiredYes
Author tests from plain EnglishNoGrounded against the live DOM
Full arbitrary code / custom fixturesYeseval / extractEval escape hatches only
Export and walk away, no dependencyAlready yoursReal .spec.ts, runs with no TI runtime

If your suite depends on arbitrary fixtures and custom code paths, a hand-rolled suite is the right tool. TestInspector covers the flows that are mostly clicks, assertions, and HTTP checks, and hands you the Playwright file when you want it.

No lock-in

Export in the format you already run.

Export happens client-side. The generated files carry no TestInspector runtime, so leaving is a download, not a migration.

Playwright TypeScript.spec.ts

Runs under @playwright/test with no TI dependency.

Selenium IDE.side

Import straight into Selenium IDE 2.0.

Legacy Selenium IDE.html

Old XHTML format for existing pipelines.

Selenium Builder.json

Legacy Builder JSON export.

Native JSON.json

The structured step definition itself.

Trigger over APIREST

Run from your own CI and read results back.

ci.yml — trigger a run from your pipeline
# Trigger a run from your own pipeline over the API.
curl -X POST https://api.testinspector.ai/api/v1/suites/tests/run/ \
  -H "Authorization: Bearer $TI_TOKEN" \
  -d '{ "suite": "checkout", "test": "login-smoke", "engine": "playwright" }'
FAQ

Questions a developer actually asks

Get the Playwright file. Keep your CI.

Author a flow, run it on either engine, and export a real .spec.ts the moment you want to own the code. No dependency follows it out the door.