This is a demo to show how to use Puppeteer with Vitest to test AI actions and assertions.
create .env
file
# replace by your own
OPENAI_API_KEY="YOUR_TOKEN"
run demo
npm install
npm run test
https://midscenejs.com/integrate-with-puppeteer.html https://midscenejs.com/api.html