Skip to content
Eugene Lazutkin edited this page May 30, 2026 · 6 revisions

tape-six-playwright is a helper for tape-six to run tests in a headless browser via Playwright. It works with Node, Deno, and Bun.

Each test file runs in its own browser context — a separate page and iframe with isolated cookies and storage — in a headless engine, providing full browser environment isolation. Chromium runs by default; Firefox and WebKit are available via --browser. The runner requires tape6-server to serve test files.

See the tape-six wiki for details on writing tests and configuration.

How to use

  1. Install tape-six-playwright in your project: npm i -D tape-six-playwright.
  2. Write tests using tape-six.
  3. Configure your tests: set-up tests.
  4. Run tests: npm test.

Available utilities

This package provides one utility:

  • tape6-playwright — run tests in a headless browser (Chromium, Firefox, or WebKit) via Playwright.

AI agents

If you are an AI coding agent, see AGENTS.md for project conventions, commands, and architecture.

LLM-friendly documentation:

Formalities

The project is distributed under the 3-clause BSD license.

Other pages:

Clone this wiki locally