Skip to content
Eugene Lazutkin edited this page Jul 5, 2026 · 8 revisions

tape-six-puppeteer

Node.js CI NPM version

tape-six-puppeteer is a helper for tape-six to run tests in a headless browser via Puppeteer. 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 is 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-puppeteer in your project: npm i -D tape-six-puppeteer.
  2. Write tests using tape-six.
  3. Configure your tests: set-up tests.
  4. Run tests: npm test.

Search

🔍 Search this wiki — ranked, deep-linked search via wiki-search; install the bookmarklet to search in place. Fallback: GitHub wiki search.

Documentation

  • tape6-puppeteer — the CLI reference: options, environment variables, browser selection, server handshake. Read this to run or script the utility.
  • Release notes — what changed in each version.

Writing tests, configuration, flags, and reporters are tape-six topics — see its wiki: set-up tests, Puppeteer environment.

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.

Clone this wiki locally