This is a demo to show how to use Android to do some automation tasks.
If you want to use Android with Vitest, please refer to android-with-vitest-demo.
create .env file
# replace by your gpt-4o api key
OPENAI_API_KEY="YOUR_TOKEN"Refer to this document if your want to use other models like Qwen: https://midscenejs.com/choose-a-model
npm install
# run demo.ts
npx tsx demo.ts
# run demo with a `.runYaml` call
npx tsx demo-run-yaml.tshttps://midscenejs.com/integrate-with-puppeteer.html https://midscenejs.com/api.html