Table of contents
BlockFlow wiki
BlockFlow is a browser extension for automating web pages (testing, forms, scraping, monitoring) by connecting blocks in a visual editor or by writing the same workflow as a JSON script. The aim is Playwright-compatible automation in your browser, usable by people through the editor and by LLMs through well-defined scripts.
Status: v1.0.0 (M3 network and environment, M4 outside access, M5 debugging and visual, M6 encrypted secrets, per-workflow site access, store packaging). 53 blocks, editor, recorder and reports; verified in Chromium, Brave and Firefox, with e2e tests for every block. See the Roadmap.
Using BlockFlow
| Page | For |
|---|---|
| What is BlockFlow | The idea, how it compares to Playwright, when to use which |
| Installing | Build and load the extension, permissions |
| Getting Started | Your first workflow, step by step |
| Concepts | Blocks, data, triggers, tabs, locators, templates, runs |
| Using the Editor | A tour of the editor: canvas, picker, recorder, reports, data, secrets |
| Workflows as Scripts | Writing workflows as JSON, for LLMs and developers; Playwright mapping and export |
| Recipes | Login tests, data-driven tests, scraping, monitoring, forms, popups |
| Capabilities and Limitations | What works, what doesn't yet, what no extension can do |
| Troubleshooting | Common errors and how to fix them |
| Roadmap | What's planned |
The detailed reference stays in the repo: the usage guide (also written for AI tools) and the generated block reference.
Internals (for contributors)
What every module does, how the pieces talk, and how to change them safely. Read Contributing and Architecture first.
Editor (React, src/entrypoints/editor) Background worker (src/entrypoints/background.ts) Web pages
───────────────────────────────────── ────────────────────────────────────────────────── ─────────
edit workflows ───────▶ storage ──────────▶ diff workflows, start/stop triggers
Run / Stop / Pick ────▶ messages ─────────▶ WorkflowRunner (src/core) ──▶ Host (src/browser) ──▶ page agent (src/dom)
run log, reports ◀───── storage ◀────────── runs, logs, datasets alarms, tabs, CDP, offscreen
| Area | Pages |
|---|---|
Engine (src/core) |
Core Engine · Core Modules · Page Protocol · Block Internals · Adding a Block |
Browser side (src/browser, src/shared) |
Background Worker · Browser Host · Scheduling and Timers · Message Protocol · Storage Keys |
In the page (src/dom) |
Page Agent · Locators · Picker and Recorder |
Editor (src/entrypoints/editor) |
Editor · Editor Components |
Outside access (packages/) |
Bridge · MCP Server · CLI |
| Project | Testing · Build and Release · Tooling and Scripts |
Before you touch anything, know these rules from CLAUDE.md:
src/corenever imports browser APIs; it reaches the outside only throughHost.- Blocks never use
setTimeoutfor workflow timing, because the MV3 worker sleeps. - Payloads stay JSON-serialisable.
- After changing blocks, run
npm run guide:sync.npm run checkmust pass.
About this wiki
It lives in the repo at docs/wiki and is published to the Forgejo and GitHub wikis with
npm run wiki:publish. Edit the repo files, never the web pages (the next publish overwrites them).
Using BlockFlow
- What is BlockFlow
- Installing
- Getting Started
- Concepts
- Using the Editor
- Workflows as Scripts
- Recipes
- Capabilities and Limitations
- Troubleshooting
- Roadmap
Reference
Internals: engine
Internals: browser
Outside access (M4)
Internals: page and editor
Project
Generated from docs/wiki in the repo by npm run wiki:publish. Edit the repo files, not this wiki.