Skip to content

Testing AI tutorial (Midscene)

Introduction · Integrate with Playwright

Official: open-source vision SDK; two ways (Playwright/Vitest or Skills); APIs include aiAct, aiQuery, aiAssert (see official reference). Do not paste the old ZeroStep await ai('...') snippet as Midscene.

Copy install commands from the official Playwright page. Example repos named there: web-infra-dev/midscene-example playwright-demo and playwright-testing-demo.

Qodo / ZeroStep / Reflect stay one row on the map.

Built for frontend engineers · Powered by VitePress