How it works
Three steps to reliable email testing in Playwright.
Install the SDK
npm install @inboxical/playwright — adds fixtures and helpers to your Playwright project.
Use fixtures in tests
The inbox fixture creates an isolated inbox per test. No shared state, no conflicts in parallel runs.
Assert with confidence
Long-poll for messages, check subjects, extract OTPs — no arbitrary waits or flaky polling loops.
Complete email verification test
A real-world Playwright test using Inboxical fixtures.
Why teams choose Inboxical for Playwright
Purpose-built for test automation — not bolted on.
First-class fixtures
Inject inbox directly into your test via Playwright's fixture system. No global setup needed.
Parallel-safe
Each test gets its own isolated inbox. Run hundreds of tests in parallel with zero interference.
Long-polling wait
waitForMessages() blocks until the email arrives. No setTimeout, no retry loops, no flakiness.
OTP extraction
Auto-extract 4-8 digit codes from email bodies. No regex parsing in your test code.
CI/CD ready
Works in GitHub Actions, GitLab CI, CircleCI — anywhere Playwright runs. Just set your API key.
Full email inspection
Check subject, from, to, body, HTML, headers, and attachments via a clean API.