E2E has introduced E2E Core, a tool that lets developers control browsers, mobile apps, and desktop apps with code. It gives you one common API for jobs like web scraping, App Store screenshots, and checking how many items an online shop has in stock.
E2E Core works like Playwright or Puppeteer, with one big extra: an AI agent. The agent helps your script keep working when a website's layout or selectors change.
What is E2E Core?
Automation means letting code do tasks you would do by hand, such as opening a page, clicking buttons, filling forms, and copying data. E2E Core does this across several kinds of apps through one simple API. It can open a browser, move through pages, click buttons, fill in forms, and pull out large amounts of data.
Plain idea: think of a robot that can use your app like a person. You can tell it exactly what to press, or you can just tell it where you want to go.
How to get started
You install the main package, @e2e-dev/core, plus an engine for the kind of app you want to control. For a web browser, that is @e2e-dev/web. The setup uses TypeScript on Node.js 24.8 or later.
npm install @e2e-dev/core @e2e-dev/webThen you launch the engine, create a session, and open your app:
import { launch } from "@e2e-dev/core";
import { web } from "@e2e-dev/web/engine";
await using host = await launch(web(), {
app: { url: "https://app.example.com" },
});
await using session = await host.newSession();
await session.app.open("/");Same code for the web and mobile
To run against an iOS app, you install @e2e-dev/mobile, choose the iOS engine, and give the bundle ID of the app on your simulator. The rest of the flow stays the same.
import { launch } from "@e2e-dev/core";
import { mobile } from "@e2e-dev/mobile/engine";
await using host = await launch(mobile({ platform: "ios" }), {
app: { bundleId: "com.example.app" },
artifactsDir: "./artifacts",
});
await using session = await host.newSession();
await session.app.open();In both cases you get a session. A call like session.screen.getByRole("button", "Settings").tap() works anywhere the app has that button. The engine turns it into a click in the browser or a tap on the simulator. Engines are also available for Android, Electron, and a Mac app.
Let an AI agent find the way
Sometimes you know exactly which button to press. Other times you only know where you want to end up. On the web, the notification settings might be a sidebar link. On a phone, it might take three taps through a profile menu.
With E2E Core you can describe the goal in plain English and let an AI agent work out the steps. You create the agent with your existing session and a model. In the example, the model comes from Vercel AI Gateway, which needs an AI_GATEWAY_API_KEY in your environment. You also install the AI SDK and Zod.
await agent.act("Open the notification settings", { cacheKey: "open-notifications" });
await session.screen.getByText("Push notifications", { exact: true }).waitFor();You never tell the agent where the menu is. Your code only checks that "Push notifications" appears on screen.
The replay cache saves time
When that check passes and the session closes, E2E Core saves the actions the agent took. On the next run, it can replay them without asking the model how to reach the same screen. If the interface changes and a saved action stops working, the agent takes over again.
Why it matters: the AI is used only when it is needed. Repeat runs follow the saved steps, so the script stays tolerant of small changes without using the model every time.
Screenshots and structured data
Once you reach the right screen, a screenshot takes one line:
await session.app.screenshot("notification-settings");To read the settings themselves, use agent.extract with a Zod schema. A schema describes the shape of the data you want back.
const settings = await agent.extract("the notification options and which ones are enabled", {
schema: z.array(z.object({ label: z.string(), enabled: z.boolean() })),
});You get back an array you can loop over in your code. Even when the agent reached the screen by replaying yesterday's steps, extract reads what is on the screen today.
Only some steps need the agent
The author of the walkthrough points out that very little of the code needs an agent. You can open the app and save a screenshot yourself. The slow part is usually finding how to reach the right screen on each platform. With E2E Core you write "open the notification settings" and move on to the real task. To try it, pick your platform in the E2E Core docs.
What It Means for Developers
E2E Core is aimed at people who write scripts to drive apps. Here is how it may help day to day.
What It Means for Software Developers
- Write one automation flow and run it on the web or mobile by changing the engine.
- Use plain-English steps for hard-to-reach screens, and normal code for steps you already know.
- Use Zod schemas to get typed data back from a screen.
- Brush up on the basics with our JavaScript tutorial.
What It Means for Web Developers
- It covers tasks you may already use Playwright or Puppeteer for, such as scraping data and clicking through forms.
- The agent can help when selectors or layouts change, so tests and scripts may need fewer fixes.
- Keep your own checks, such as waiting for a text to appear, so you know the agent ended up in the right place.
What It Means for DevOps Engineers
- The replay cache lets repeat runs skip the model, which can reduce how often you call an AI service.
- Set the
AI_GATEWAY_API_KEYin the environment when using the example setup. - Note the stated requirements: TypeScript on Node.js 24.8 or later.
- Use the
artifactsDiroption to store output such as screenshots.
Things to keep in mind
- The announcement is a walkthrough of how E2E Core works. It does not share speed tests or pricing.
- Agent steps use an AI model, so the first run on a new screen needs one.
- Check the official docs for the engine and platform you plan to use.
Bottom line
E2E Core brings browser, mobile, and desktop automation into one API and adds an AI agent for navigation. A replay cache and self-repair keep scripts steady when the interface changes.
If you spend time on brittle automation scripts, it is worth trying on a small task first, such as a screenshot or a data-extraction flow.

