This is a demo to show how to use @midscene/computer to control PC desktop with JavaScript.
Create .env file:
# Replace with your own API key
OPENAI_API_KEY="sk-your-api-key"
# Or use other models like Qwen
MIDSCENE_MODEL_NAME="qwen3-vl-plus"Refer to this document if you want to use other models: https://midscenejs.com/model-provider.html
npm install
npm run test