AI Compare
โ€‹
โ€‹
ToolsArticlesServices
Best for
    All tools

    Sales

    AI tools for finding leads, qualifying them, preparing quotes, following up and keeping the CRM up to date.

    Marketing

    AI tools for content, social media, images, video, SEO and campaigns.

    Customer service

    AI tools for answering customer emails, chats and calls, handling requests and escalating the hard cases.

    Operations

    AI tools for running the daily work: workflows, scheduling, projects, purchasing and delivery.

    Finance

    AI tools for invoices, bookkeeping, reconciliation, spreadsheets and financial reporting.

    Management & Admin

    AI tools for owners, managers and office staff: planning, reports, documents, meetings, scheduling and everyday admin.

    HR

    AI tools for hiring, screening candidates, onboarding, training and answering employee questions.

    Legal & Compliance

    AI tools for reviewing contracts, tracking deadlines and preparing compliance work for a qualified person to check.

    IT & Development

    AI tools for developers and IT teams: coding, AI models, agents, infrastructure and integrations.

Find AI tools for your team
AllAssistantsWriting & DocsImagesVideoAudioAI AgentsAutomationCode
โ† Back to tools

โ€ข

2024-07-23

midscene logo

midscene

Not rated yet

14.4K GitHub stars

Type:

Tool

Platforms:

Github

Task:

Automate browser tasksChat with AIConnect AI to apps

Best for:

IT & Development
Visit websiteView on GitHub

Pricing


Starting price

$0

Type

Freemium

Overview

midscene is aI-powered, vision-driven UI automation for every platform. Most UI automation โ€” including AI tools that read the DOM or the accessibility tree โ€” depends on page structure. That structure is fragile and incomplete: selectors break on every refactor, elements without semantic markup (icon-only buttons, custom controls, ) are invisible to it, native apps and cross-origin iframes are out of reach, and it cannot tell whether something actually looks right. Midscene works from the screenshot alone, and you describe each step in natural language.

Midscene is built for UI testing first, but the same vision-driven engine handles any UI automation task.

README

Midscene.js

Midscene.js

GUI Agent for E2E Testing
AI-powered vision. Cross-platform. Batteries included.

English | ็ฎ€ไฝ“ไธญๆ–‡

Official Website: https://midscenejs.com/

web-infra-dev%2Fmidscene | Trendshift

npm version hugging face model downloads License discord twitter Ask DeepWiki.com

๐Ÿ“ฃ Midscene Skills is here!

Use Midscene Skills with OpenClaw to test and automate web, mobile, and desktop interfaces.

Showcases

  • Web Automation - Automatically register the GitHub form in a web browser and pass all field validations
  • iOS Automation - Meituan coffee order
  • iOS Automation - Auto-like the first @midscene_ai tweet
  • Android Automation - DCar: Xiaomi SU7 specs
  • Android Automation - Booking a hotel for Christmas
  • robotic arm + vision + voice for in-vehicle testing

๐Ÿ’ก Why Midscene

Most UI automation โ€” including AI tools that read the DOM or the accessibility tree โ€” depends on page structure. That structure is fragile and incomplete: selectors break on every refactor, elements without semantic markup (icon-only buttons, custom controls, <canvas>) are invisible to it, native apps and cross-origin iframes are out of reach, and it cannot tell whether something actually looks right. Midscene works from the screenshot alone, and you describe each step in natural language:

  • Less maintenance โ€” no selectors to chase when the UI changes.
  • Reach every element and surface โ€” if a human can see it, Midscene can target it, even with no semantic annotations, on <canvas>, native apps, and cross-origin iframes.
  • Assert what users actually see โ€” verify colors, highlights, layout, and rendered state, not just whether a DOM node exists.
  • Two ways to test โ€” add Midscene to your Playwright / Vitest suite, or let an AI agent test autonomously via Skills.

Midscene is built for UI testing first, but the same vision-driven engine handles any UI automation task.

๐Ÿ’ก What you can automate

Midscene works anywhere you can take a screenshot โ€” web browsers, Android, iOS, HarmonyOS, desktop apps, and any custom interface โ€” all through one API. Write automation with the JavaScript SDK or in YAML, hand it to AI agents via Skills, and look up every method (aiAct, aiQuery, aiAssert, and more) in the API reference.

๐Ÿš€ Get started

  • Try Midscene in Chrome โ€” use the Quick start to configure a model, install the Chrome extension, and run your first natural-language instruction.
  • Write your first script โ€” create an Agent and run a complete browser script with Playwright or Puppeteer.
  • Other platforms โ€” getting-started guides for Android, iOS, HarmonyOS, and desktop.

โœจ Driven by Multimodal Models

Midscene is all-in on pure vision for UI actions: element localization is based on screenshots only. It runs on multimodal models with strong UI localization, such as Qwen3.x, Doubao-Seed-2.1, GLM-4.6V, gemini-3.5-flash, and UI-TARS, including open-source options you can self-host. For data extraction and page understanding, you can still opt in to include DOM when needed.

Read more about Model Strategy.

๐Ÿ“„ Resources

  • Documentation: https://midscenejs.com
  • Sample projects: midscene-example
  • API reference: https://midscenejs.com/reference/#common

๐Ÿค Community

  • Discord
  • Follow us on X
  • Lark Group (้ฃžไนฆไบคๆต็พค)

๐ŸŒŸ Awesome Midscene

Community projects that extend Midscene.js capabilities:

  • midscene-ios - iOS Mirror automation support for Midscene
  • midscene-pc - PC operation device for Windows, macOS, and Linux
  • midscene-pc-docker - Docker image with Midscene-PC server pre-installed
  • Midscene-Python - Python SDK for Midscene automation
  • midscene-java by @Master-Frank - Java SDK for Midscene automation
  • midscene-java by @alstafeev - Java SDK for Midscene automation

๐Ÿ“ Credits

We would like to thank the following projects:

  • Rsbuild and Rslib for the build tools.
  • UI-TARS for the open-source agent model UI-TARS.
  • Qwen-VL for the open-source multimodal model Qwen-VL.
  • scrcpy and yume-chan for browser-based Android device control.
  • appium-adb for its JavaScript bridge to ADB.
  • appium-webdriveragent for controlling XCTest from JavaScript.
  • YADB for improving text input performance.
  • libnut-core for cross-platform native keyboard and mouse control.
  • Puppeteer for browser automation and control.
  • Playwright for browser automation, control, and testing.

๐Ÿ“– Citation

If you use Midscene.js in your research or project, please cite:

@software{Midscene.js,
  author = {Xiao Zhou, Tao Yu, YiBing Lin},
  title = {Midscene.js: GUI Agent for E2E Testing.},
  year = {2025},
  publisher = {GitHub},
  url = {https://github.com/web-infra-dev/midscene}
}

โœจ Star History

Star History Chart

๐Ÿ“ License

Midscene.js is MIT licensed.


If this project helps you or inspires you, please give us a star

Releases

Release information has not been added yet.

Related articles

Guides and news that mention this tool.

Z
M
n8n logo

AI Agents in Zapier vs Make vs n8n: Which Is Best?

Comparison
n8n logo

What Is n8n? The Open-Source Workflow Automation Tool Explained

Get started
G
Z
M

AI Email Labeling in Gmail with OpenAI

Use cases
W
n8n logo

AI WhatsApp Customer Support Agent

Use cases
G
n8n logo
Gemini logo

Build a RAG Chatbot over Your Google Drive Documents

Use cases
T
n8n logo
ChatGPT logo

Build an AI Assistant on Telegram (Voice + Text) with n8n

Use cases
Complete your AI stack

Add specialist tools for research, coding, visual content, video, and automation.

Perplexity logo
Perplexity
Research

AI-powered search and research assistant

View tool
Cursor logo
Cursor
Coding

AI coding editor and autonomous software development platform

View tool
Midjourney logo
Midjourney
Images

AI image and video generation with advanced personalization

View tool
Runway logo
Runway
Video

AI video generation and creative production platform

View tool
n8n logo
n8n
Automation

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

View tool
Best alternatives

Compare similar tools in the same category.

OpenClaw logo

OpenClaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. ๐Ÿฆž

Cursor logo

Cursor

AI coding editor and autonomous software development platform

Hermes Agent logo

Hermes Agent

The agent that grows with you

Firecrawl logo

Firecrawl

The API to search, scrape, and interact with the web at scale. ๐Ÿ”ฅ

Copilot logo

Copilot

AI assistant for creating, searching, communicating, and automating work across Microsoft 365 apps.

View all in this category
Help
Pick an answer below
Hi! I can point you to the right tool or guide. What are you looking for?
Browse all articles