e2e is an end-to-end testing framework for web and mobile applications, with the core idea of making test authoring closer to natural language descriptions. Users can describe a test goal in natural language, an AI agent drives the application to complete actions, and results are verified in the same test using locators and assertions.
In terms of main capabilities, e2e supports two testing modes: first, coding agents write tests with precise locators and assertions; these tests do not require a model or key and run on the web via Playwright in Chromium, Firefox, and WebKit; second, agent.act steps record actions and subsequent assertions verify them; recordings can be committed to the .e2e/cache/ directory and replayed in CI without calling a model. When using npx e2e run --strict-cache, if a recording does not match the current application, the step fails and the model does not take over; steps that are not recorded or have gaps in their recordings still run live. expect(locator) does not call the model, whereas the built-in agent's agent.assert, agent.waitFor, and agent.extract call the model on every run.
In terms of usage, the init command asks about the engine (web or mobile) and model provider, then generates configuration and example tests. Users can bring their own subscription, API key, or local model. npx e2e mcp is a stdio-based Model Context Protocol server that provides coding agents such as Claude Code, Codex, and Cursor with a live session on a web, iOS, or Android application; the agent can see the screen, perform actions, get a test code line for each repeated action, and run the test suite; the server itself does not require a model. Official documentation is at e2e.com/docs, and the e2e package includes all documentation pages, so coding agents can read them offline in node_modules/e2e/docs.
Applicable scenarios include: providing a stable and repeatable test suite for CI release gates; letting coding agents assist in writing and running end-to-end tests; and executing natural-language-driven tests on web and mobile applications.
In terms of limitations, e2e is still under active development and has not yet reached version 1.0; APIs and configuration may change between minor versions. The CLI sends anonymous usage data (such as which commands were runand the engine, and where runs failed), but does not include test content, application content, or credentials; you can opt out via npx e2e telemetry disable or by setting E2E_TELEMETRY_DISABLED=1. Security vulnerabilities should not be reported through public issues; follow SECURITY.md and send them to security@e2e.com.