ai-wright
Vision-enabled AI steps for Playwright tests. Bring your own LLM.
...Screenshots are annotated with Set-of-Marks overlays and combined with DOM element maps, so the model can work through complex UIs. Keep most of each test as deterministic Playwright code and use AI only on the brittle steps.
It is for teams writing Playwright end-to-end tests who want AI help on dynamic interfaces such as chat widgets, canvas dashboards and multi-step wizards, without vendor lock-in. Bring your own OpenAI, Google Gemini or Anthropic Claude key, or use a TestChimp key. Install with npm install ai-wright, then import { ai } from 'ai-wright' in your tests. ...