
Mend is an AI agent that repairs Playwright E2E tests broken by selector drift. It investigates the live DOM via tool calling, proposes a fix, and only accepts it after re-executing the test — never on the model's word alone. Low-confidence fixes route to human review instead of auto-merging.