Agentic end-to-end testing framework for web and mobile apps: describe a goal in plain words and an agent drives the app
open sourceApache-2.0freeMCP
e2e is an end-to-end testing framework for web and mobile apps. In a test, agent.act describes a goal in natural language and an agent drives the app to reach it, while locators and assertions check the result in the same test. Web tests run in Chromium, Firefox and WebKit through Playwright; mobile tests run on iOS simulators and Android emulators, with Electron and a macOS desktop engine as well. For CI, agent steps record their actions so a commit replays them with no model call, and --strict-cache fails a step whose recording no longer matches. You bring your own model provider, API key, local model or coding agent subscription. npx e2e mcp is an MCP server that gives a coding agent a live session on your app and returns the test line for each action. Integrations add hosted browsers and device clouds, and reporters for pull requests and HTML.
Problems it solves
- My end-to-end tests break every time the UI changes a little
- I want to write UI tests by describing what the user does in plain English
- My coding agent should be able to click through my app and write the test for what it did
- I need one testing framework for my web app and my iOS and Android apps
- I want AI-driven UI tests that still give the same result every CI run
Features
- Natural-language agent steps beside locators and assertions
- Web tests in Chromium, Firefox and WebKit through Playwright
- iOS simulator and Android emulator tests
- Records agent steps so CI replays them with no model call
- Bring your own model provider, API key, local model or Claude Code/Codex subscription
- MCP server that gives a coding agent a live session on the app
- Integrations for hosted browsers and device clouds
- Pull request and HTML reporters
Limitations
- Still on the way to 1.0: APIs and config can change between minor releases.1
- agent.assert, agent.waitFor and agent.extract call a model on every run with the built-in agent; only recorded agent.act steps replay without one.1
- The CLI sends anonymous usage data unless you opt out with
npx e2e telemetry disableor E2E_TELEMETRY_DISABLED=1.1
Capabilities
| Has an MCP server | plan not known |
|---|
Alternatives
The same job
These do what e2e does.
- Cypress AI writes the code. Cypress proves it works.
- Testing Library Test UI components the way users use them
- Cucumber Automated acceptance tests written in plain language
- Nightwatch.js Node.js end-to-end testing framework on the W3C WebDriver API
