Author’s note: e2e Desktop shipped on December 2, 2026, and the team’s own claim is that the same login flow runs about 4× faster than XCUITest. This article only unpacks the release details, the conditions behind those speed numbers, the four limitations, and which model — and which price — to pick when you wire the built-in agent into APIYI.
On December 2, 2026, the @e2e account announced the release of @e2e-dev/desktop, and at the same time a blog post titled “Test your macOS app with e2e” went live. The tool’s author is DongYun Kang (kdy1), and the stable version on npm is 0.1.1, published the same day, December 2. Version 0.1.0 had already landed earlier, on November 30, while 0.1.2 is nightly-only right now and isn’t part of this release.
This isn’t a “the AI clicks the buttons for you” fantasy piece. What the team actually put on the table is one concrete login flow and a handful of seconds: with physicalInput enabled, e2e finishes the run in 1.34 seconds while XCUITest takes 5.61 seconds. Every number here is self-reported, and the test conditions are narrow enough to matter — so let’s peel them back layer by layer.
The takeaway: by the end of this, you’ll know which input mode the 1.34-second and 1.03-second figures each correspond to, how narrow the four limitations make the conclusion, and which model to choose — and what it costs — when you point the built-in agent at APIYI (apiyi.com).

What e2e Desktop Released: A Very Narrowly Scoped Experimental Release
There’s really only one subject in this release: @e2e-dev/desktop. It’s not a Mac branch of a browser automation framework, and it’s not Appium with a new wrapper. It’s a test driver written from scratch for native macOS apps. The official positioning is deliberately understated: experimental, it works, but the API will still change.
| Item | Details |
|---|---|
| Publisher | The @e2e team, author DongYun Kang (kdy1) |
| Release format | Official post + blog + docs, all published the same day |
| Package name | @e2e-dev/desktop |
| Stable version | 0.1.1, released 2026-12-02; 0.1.0 was 2026-11-30 |
| System requirements | macOS 13 and above only |
| Positioning | Experimental end-to-end testing tool for native macOS apps |
| Out of scope | Browser windows, Electron, web views |
The system bar is macOS 13 or later. Below that, it may install, but there’s no guarantee it’ll run. The second design choice is that it runs in the background by default and doesn’t hijack the real mouse. That’s worth more than any spec sheet: you can run regressions while using the same machine for other work, without waiting for the cursor to finish moving. Also, keys and model keys never enter the app under test. The process under test can’t get your API key, which is a hard requirement for security audits.
Under the hood, Rust is called directly inside the test process via napi-rs, with no separate long-running service. The upside is a shorter path and faster startup; the cost is that it’s tied to the lifecycle of the Node-side process. The team specifically stresses that this is an experimental feature and the version should be pinned. In practice, that means: put 0.1.1 in your dependencies, don’t use a ^ range, and don’t use nightly.

How the ~4× Figure Was Derived: Four Timings for the Same Login
Let’s get the numbers straight first, then talk about how to read them.
| Tool | Time for the same login | Input mode | Notes |
|---|---|---|---|
| e2e Desktop | 1.34 seconds | physicalInput enabled, key-by-key input | Self-reported by the vendor; the source of the 4× claim |
| XCUITest | 5.61 seconds | Standard | Apple’s official UI testing framework |
| Appium Mac2 | 5.70 seconds | Standard | Another implementation of the same flow |
| AppleScript | 0.93 seconds | Script-driven | Fastest, but not a test framework |
| e2e Desktop | 1.03 seconds | Default mode, no key-by-key input | Can’t be used to support the 4× claim |
The most important column in that table is input mode. The 1.34-second row assumes physicalInput is enabled—real key-by-key input. The same flow takes 1.03 seconds in default mode. In other words, 1.03 and 1.34 aren’t a comparison between two tools; they’re two modes of the same tool. If you plug 1.03 into the multiplier math, you get a number the vendor never claimed. The official ~4× figure refers only to the 1.34 vs. 5.61 pair, which works out to roughly 4.2.
There’s another row that’s easy to overlook: AppleScript comes in at 0.93 seconds, faster than e2e. But it’s not a test framework—no assertions, no wait strategy, no retry on failure, no reporting. It’s just the OS’s built-in UI scripting interface. In this table it works more as a reference point: it shows the physical floor for this flow is somewhere around 1 second, that e2e’s 1.34 seconds is not far off that floor, and that the overhead on the 5.61-second side comes mainly from the framework’s own waiting and synchronization mechanisms.
Four Limitations: How Far Can These Numbers Go?
The team listed four conditions themselves in the same blog post. Miss one, and the conclusions above don’t hold.
| Limitation | What it actually means | How it affects the conclusions |
|---|---|---|
| Covers only one AppKit form | The sample is a single login form | Can’t be extrapolated to multi-step workflows, complex lists, or drag-and-drop |
| Ran on only one machine | Single machine, single measurement | No variance data across device models or OS versions |
| Only measured speed | Doesn’t cover stability, coverage, or maintenance cost | Fast doesn’t mean it tests everything or stays stable |
| No optimization yet | The team explicitly says it’s unoptimized | Numbers may shift in later versions — what you see now is a lower-bound reference |
The first one is the big one. An AppKit login form is an ideal test subject: standard controls, shallow hierarchy, few wait points. The stuff you actually run into in real projects — tables that load on scroll, custom-drawn canvases, system permission dialogs — is all outside the scope of this measurement. The second and third are really the same point: one machine, one run, timing only. That means setting aside two dimensions that matter more — how trustworthy the results are and how many regressions you actually catch. And the fourth is a reminder not to treat 1.34 seconds as a promised value. It’s a single reading from an unoptimized state.
Install Once, That’s Enough: Installation Is Just One Paragraph
There’s no tutorial to write for installation—one paragraph covers it: install @e2e-dev/desktop on a machine running macOS 13 or later, pin the version to the stable 0.1.1 release instead of the nightly 0.1.2, then reference it in your test script and set the executable path for the app under test. Before your first run, I’d suggest keeping just one minimal login test case: first confirm the window can be recognized and controls can be located, then layer on more flows. At the experimental stage, getting one test working tells you more than writing ten.
🚀 Quick start: If you also need to call models for agent steps, it’s worth grabbing a test quota and API key from APIYI apiyi.com first, getting the whole pipeline working before worrying about cost.
Locators Don’t Burn Tokens: Models Are Only Called in Agent Steps
This is where a lot of people misjudge the cost. e2e Desktop’s locators and assertions don’t call models—finding elements, checking whether text exists, validating control state—all of that happens locally and doesn’t consume any tokens. Only the agent steps you explicitly write will request a model, and the built-in agent has hard requirements for those models: they must handle both tool calls and image understanding.
This design makes the cost structure very clean: write 100 traditional locator assertions, and the bill is 0; write 10 agent steps, and only then are you billed for 10 input/output calls. So when planning your test suite, put every assertion you can express with locators on the local side first, and save agent steps for the parts where the rules are hard to articulate and you just have to eyeball it—like verifying that a layout in a screenshot isn’t misaligned.
Configuring the model: createOpenAICompatible and the APIYI base URL
There’s no default model. If you don’t configure one, it just won’t run — the official docs are pretty blunt about that. The way to hook it up is to create a client with createOpenAICompatible, point the base URL at https://api.apiyi.com/v1, and pass the model name from the APIYI master list. There’s one gotcha: the gateway example in the e2e docs uses openai/gpt-6-luna-fast, which isn’t an APIYI model. The entry in the APIYI master list is gpt-6-luna — copy the name from the example and you’ll get a model-not-found error right away.
Prices are in USD per million tokens, per the APIYI documentation dated December 3, 2026, in the order input, output, cache read.
| Model (APIYI master list name) | Input | Output | Cache read | Notes |
|---|---|---|---|---|
| gpt-6-luna | 0.1 | 0.5 | 0.01 | Input price rises to 0.2 once input exceeds 272,000 tokens; no dedicated model page |
| claude-sonnet-5-5 | 2 | 10 | 0.1 | Vision capability docs mark it as passing every check |
| claude-opus-5-5 | 4 | 20 | 0.2 | Most expensive in its group |
| claude-haiku-5-5 | 0.1 | 0.5 | 0.01 | Becomes 0.5 once input exceeds 100,000 tokens |
Running the numbers off this table is pretty intuitive: for the same million input tokens, gpt-6-luna costs $0.1 and claude-sonnet-5-5 costs $2 — a 20x gap; on the output side it’s 0.5 versus 10, also 20x. This isn’t a quote precise to any particular use case, just the public unit prices on APIYI apiyi.com converted into a comparable order of magnitude, so you can decide which model an agent step should default to.

How Much Does It Cost to Look at Images: Model Selection and Pricing for the Screenshot Step
The most expensive part of an agent step is looking at images. Every time a screenshot goes into a model, input tokens alone run into the hundreds. Add multiple rounds of tool calls, and the cost per test case can multiply several times over. So the model-selection logic isn’t “use whichever is strongest”—it’s about dividing the work based on what you need to see.
Give the cheap work to gpt-6-luna: at $0.1 per million input tokens, it’s more than adequate for coarse judgments like whether the layout is misaligned or whether a button exists. But there’s a known issue you should know upfront—the APIYI image-recognition capabilities documentation, in its October 11, 2026 entry, notes that gpt-6-luna can see images but its OCR drops characters. That’s the doc’s test conclusion from that day, not a fresh retest today. Use it to read small, dense text on a UI, and you’ll get burned.
If you need to read small text clearly, switch to claude-sonnet-5-5. According to the e2e documentation, Sonnet 5.5 and Opus 5.5 will refuse forced tool selection. When the framework encounters this, it falls back to auto, which hands the tool decision back to the model. The practical impact: your agent steps can’t assume that “if I specify this tool, it will definitely call this tool.” Your assertions need to tolerate the model choosing its own path, otherwise you’ll see what looks like random instability. All three Claude 5.5 models are marked as passing every item in the APIYI image-understanding docs, but the trade-off is a price that’s an order of magnitude higher. So the more sensible approach is to group them: use gpt-6-luna for most screenshot steps, and only specify claude-sonnet-5-5 for the few that involve small text, terms text, or monetary figures.
Impact Analysis: What This Means for People Building Native Mac Apps
The first layer of impact is that it fills a gap. Native macOS UI automation has long had only two paths: XCUITest and Appium Mac2. The former is tied to Apple’s toolchain, while the latter is heavy to configure and slow to start. With its self-reported numbers of 1.34 seconds versus 5.61 seconds, e2e Desktop at least offers a third option on the “single-step operations are fast enough” dimension — and it runs in the background by default without hijacking your mouse, which is friendlier to the local dev loop.
The second layer of impact is a clear sense of boundaries. It explicitly doesn’t support browser windows, Electron, or web views. That’s not a to-do item — it’s a design tradeoff: put all the effort into the AppKit layer. If your product is an Electron shell, this tool can’t help you right now, so don’t get your hopes up.
The third layer of impact is in the cost structure. Because locators don’t burn tokens and only agent steps call the model, the integration cost is budgetable: first figure out how many test cases really need to “take a look,” then multiply by APIYI apiyi.com’s per-unit price. Do it the other way around and you’ll easily burn your budget on pointless screenshot judgments during the prototype phase.
FAQ
Q1: What exactly is e2e Desktop?
@e2e-dev/desktop is an end-to-end testing tool for native macOS apps. It was released on December 2, 2026, is currently experimental, has stable version number 0.1.1, and only supports macOS 13 and above.
Q2: How is the roughly 4x figure calculated? Can the 1.03 seconds be counted in?
No. The 4x refers to the officially self-reported 1.34 seconds versus XCUITest’s 5.61 seconds, and it assumes physicalInput key-by-key typing is enabled. The 1.03 seconds is a reading from the same tool’s default mode (no key-by-key input), which is a different mode and can’t be used to support that conclusion.
Q3: Does it support Electron, browser windows, or web views?
No. The official docs explicitly rule out browser windows, Electron, and web views — it only targets native AppKit interfaces. Confirm this during the selection phase, and don’t wait until you’ve finished integrating to discover the thing under test is out of scope.
Q4: Do locators and assertions consume tokens?
No. Locators and assertions run locally and don’t call the model; only the built-in agent steps request the model, and they require a model that has both tool-calling and image-understanding capabilities. There’s no default model, so you have to configure one yourself.
Q5: How do I connect a model to APIYI, and which one should I choose?
Build a client with `createOpenAICompatible`, set the base URL to `https://api.apiyi.com/v1`, and use the model name as written in the APIYI master list, such as gpt-6-luna or claude-sonnet-5-5. Note that the openai/gpt-6-luna-fast in the e2e docs example isn’t an APIYI model name. If you want cheap screenshot judgments, go with gpt-6-luna; if you need to read small print, switch to claude-sonnet-5-5.
Q6: Is it worth using in production testing right now?
The four limitations the official docs list — a single AppKit window, a single machine, speed-only testing, and not yet optimized — show that it’s currently suited for technical validation and prototypes, not for directly replacing an existing regression suite. Pin the version to 0.1.1, and consider expanding scope once the API stabilizes.
e2e Desktop Key Takeaways
- Release facts: @e2e-dev/desktop shipped on 2026-12-02 as an experimental release; the stable version number is 0.1.1.
- Speed conditions: 1.34 s vs 5.61 s, with physicalInput enabled; 1.03 s is the default mode and doesn’t count toward the 4x.
- Baseline for comparison: AppleScript at 0.93 s is faster, but it isn’t a test framework — treat it only as a lower-bound reference.
- Scope: macOS 13+ only; browser windows, Electron, and web views are not supported.
- Cost structure: locators and assertions don’t call the model — only agent steps consume tokens.
- Model choice: use gpt-6-luna for rough screenshot judgment and claude-sonnet-5-5 for small text; the latter rejects forced tool choice and falls back to auto.
- How to connect:
createOpenAICompatible+https://api.apiyi.com/v1, with model names taken from APIYI’s model list.
Summary
The information in this e2e Desktop release boils down to three things. First, it only targets native macOS apps, explicitly excluding browsers and Electron. Second, the roughly 4x figure the team reports comes from the 1.34 s vs 5.61 s comparison, and it requires physicalInput to be on — 1.03 s is the default mode, so the two can’t be mixed. Third, the four limitations are stated plainly — single form, single machine, speed-only testing, and no optimization yet — which means right now it’s a fit for validation, not replacement.
What really determines your usage cost isn’t speed, it’s the number of agent steps — locators and assertions cost no tokens, and only the parts that need to “take a look” hit the model. The cheapest path is to keep most assertions local, tier your screenshot judgments, hand the bulk to gpt-6-luna, and give the small text to claude-sonnet-5-5. If you want to get the pipeline working end to end first, you can grab a free testing quota through APIYI at apiyi.com and try a minimal test case with https://api.apiyi.com/v1 as the base URL.
References
-
@e2e official release post: Announces the launch of @e2e-dev/desktop
- Link:
x.com/e2e/status/2128170697520558373 - Description: First-hand information and the original wording from launch day
- Link:
-
e2e official blog: Test your macOS app with e2e
- Link:
e2e.com/blog/test-your-macos-app-with-e2e - Description: Source of the four limitations and the speed comparison table
- Link:
-
e2e Desktop official documentation: Usage and model configuration guide
- Link:
e2e.com/docs/desktop - Description: Records of installation, model requirements, and Claude 5.5’s tool-selection behavior
- Link:
-
Speed benchmark gist: The comparison script published by the author
- Link:
gist.github.com/kdy1/018493ab30ffaba2e92433da60097cd0 - Description: Raw material for the login flow and the four sets of timings in seconds
- Link:
-
APIYI model pricing table: Unit prices as of 2026-12-03
- Link:
docs.apiyi.com/models.md - Description: The sole source for the pricing table in this article, including notes on tiered pricing
- Link:
-
APIYI image-understanding capability documentation: Records from 2026-10-11
- Link:
docs.apiyi.com/api-capabilities/vision-understanding - Description: OCR character-omission records for gpt-6-luna and the visual conclusions for Claude 5.5
- Link:
Author: APIYI Technical Team
Technical discussion: Feel free to reach us through the APIYI website homepage; for more materials, visit the docs.apiyi.com documentation center
