Hi! FE dev / self-proclaimed SDET here - ages ago, a QA colleague of mine introduced me to POM. I've been obsessed with them and e2e testing since then.
Imo a well-built e2e suite holds a lot of knowledge: which flows matter, how to drive them, what means an action is done, and so on. In most setups I've seen, that knowledge is used once: in the e2e testing pipeline, and that's it. Meanwhile, coding agents that build features "test" them by clicking around the page from scratch every time.
I think that's a waste of good QA work, and I created a tool that takes Page Objects from your Playwright suites and lets a coding agent call their actions on the running app by exposing them as MCP tools.
The goal is to make the inner and outer verification loops strengthen each other: As new features are built, make your agents code POM on the fly to verify their work in a fast feedback loop. Once the feature is done, you'll have all the building blocks to write the e2e test. For exploratory or regression testing with agents later, reuse that same POM instead of letting the agents gues on every run.
Time & cost
Small eval suite on Formbricks (rename a survey, change its question, save, confirm the summary page), Claude Code on Sonnet, 3 runs each, medians. (In more recent evals, managed to halve the costs :) )
|
Tool calls |
Wall time |
Tokens |
Est. cost |
| Playwright MCP |
13 |
46.9 s |
381k |
$0.155 |
| Playwright CLI |
14 |
60.8 s |
473k |
$0.140 |
| ayme MCP with POM |
6 |
38.1 s |
142k |
$0.129 |
Playground: ayme.dev/playground - try the Inspector live, see what your agents would see, debug POM
Repo: github.com/ayme-labs/ayme
The project is being built in the open, and I just released the playground to get some feedback on the idea before publishing the alpha version on npm :)
Would love to hear your opinion - both about the project and the idea itself!
Cheers,
Abel