Midscene.js

Active
GitHub TypeScript MIT

Description

AI-powered vision-driven UI automation that lets you describe actions in natural language instead of writing selectors, supporting browser and mobile platforms

Key Features

  • AI-powered vision-driven UI automation using natural language descriptions instead of selectors
  • Cross-platform support: Web (Puppeteer/Playwright), Android (adb), and iOS (WebDriverAgent)
  • Pure vision localization — no DOM dependency for element interaction, reducing token cost
  • Supports multiple vision-language models: Qwen3.x, Doubao-Seed-2.0, GLM-4.6V, UI-TARS
  • Three API layers: Interaction API, Data Extraction API, and Utility API (aiAssert, aiLocate, aiWaitFor)
  • MCP integration exposing Midscene Agent actions as tools for upper-layer agent orchestration

Use Cases

💡 Automating web UI testing with natural language test scripts across browsers
💡 Building cross-platform mobile automation for Android and iOS app testing
💡 Creating AI agent workflows that interact with any user interface visually
💡 Prototyping UI automation without writing fragile CSS/XPath selectors

Quick Start

npm install @midscene/web && npx @midscene/web playground

Related Projects

Related Articles