#66th of 34 in Code review and testing

midscene

Vision-based E2E testing in natural language for web, mobile and desktop

Stars
15.6k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+2,958
21 Apr 2026: 12,627 stars28 Apr 2026: 12,731 stars5 May 2026: 12,777 stars12 May 2026: 12,882 stars19 May 2026: 13,023 stars26 May 2026: 13,314 stars2 Jun 2026: 13,437 stars9 Jun 2026: 13,539 stars16 Jun 2026: 13,645 stars23 Jun 2026: 13,723 stars30 Jun 2026: 13,788 stars7 Jul 2026: 13,904 stars14 Jul 2026: 13,978 stars21 Jul 2026: 14,066 stars28 Jul 2026: 14,334 stars4 Aug 2026: 14,412 stars11 Aug 2026: 14,475 stars18 Aug 2026: 14,548 stars25 Aug 2026: 14,640 stars1 Sept 2026: 14,695 stars8 Sept 2026: 14,755 stars15 Sept 2026: 14,861 stars22 Sept 2026: 14,947 stars29 Sept 2026: 15,005 stars6 Oct 2026: 15,046 stars13 Oct 2026: 15,213 stars20 Oct 2026: 15,325 stars27 Oct 2026: 15,409 stars3 Nov 2026: 15,489 stars10 Nov 2026: 15,585 stars

12,627 on 21 Apr 202615,585 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Midscene.js drives web, Android, iOS, HarmonyOS and desktop UIs from screenshots using a vision model, so tests are written as natural-language steps and assertions instead of selectors. Tests can be YAML cases run by Midscene Test (@midscene/test) or agent calls such as aiAct and aiAssert inside Playwright, Puppeteer, Vitest or Rstest. It produces HTML reports with screenshots and the model's decisions.

Who it is for: QA and frontend engineers writing E2E tests for web, mobile or desktop apps

Ranked among open-source alternatives to CodeRabbit (#6 of 10).

Strengths

  • Locates elements from screenshots, so canvas, icon-only buttons and cross-origin iframes need no selectors
  • Same agent API across web, Android, iOS, HarmonyOS and desktop
  • Step-level HTML reports with screenshots, plus summary.json for scripts and AI agents
  • Works with GPT, Qwen, Doubao, DeepSeek, Gemini, Kimi, including self-hostable models

Weaknesses

  • Requires a configured vision-capable model; runs depend on model API calls or self-hosting
  • Python and Java SDKs are community projects, not part of the main repo
  • Assertions are model judgments, so results can vary between runs and models
  • iOS needs WebDriverAgent and Android needs ADB, adding device setup

What it needs

  • Needs Vision-language model API or self-hosted model, Playwright or Puppeteer (web), ADB (Android), WebDriverAgent (iOS), HDC (HarmonyOS)
  • Models: GPT, Qwen, Doubao Seed, DeepSeek, Gemini

Quick answers

Is midscene open source?

Yes. Its code is on GitHub under the MIT license.

Head to head

Also in Code review and testing

See all 34
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit99.9k starsApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k stars+124 (+0.4%) in 30 daysMIT92 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments49.8k stars+3,715 (+8.1%) in 30 daysApache-2.091 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25k stars+1,462 (+6.2%) in 30 daysApache-2.087 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k stars+393 (+2.5%) in 30 daysApache-2.087 out of 100