AI Agent NewsAI-AGENT.NEWS
Visual interface testing← All discoveriesMy favourites

Loading your favourites…

GitHub Summary · Repository

Midscene.js

web-infra-dev/midscene

AI editorial summary

Midscene.js tests web, mobile and desktop interfaces using instructions you write in everyday language. An AI model looks at screenshots to find controls and check visible results. Test teams can write cases in YAML, a plain-text format, or add the visual agent to existing tests, then inspect screenshots and step results in a report. documented capabilities · Reference source.

The configured model and platform integration shape what the test can see and do. GitHub Project guide.

What it does

A test engineer could ask Midscene.js to search a sample shop for headphones, apply a price filter and check whether the visible results meet it. The guide shows this workflow in YAML and in JavaScript with Playwright. The report helps the engineer check what the agent clicked and what it saw before trusting the verdict. documented example with an editorial verification step · Reference source.

Developer relevance

The agent uses screenshots to find and act on visual controls, including icons and custom-drawn elements. Midscene Test also lets developers keep precise operations such as preparing records and cleaning up after a test in reusable TypeScript functions. Step reports expose screenshots, actions and verdicts, with results, caches and logs saved under midscene_run/. documented test mechanisms · Reference source.

GitHub Project guide · Workspace package manifest.

Primary use cases

End-to-end interface tests, visual assertions and scripted UI automation.

Documented · Source. Checked 2026-11-22 UTC.

Next investigation

Try one price-filter test against a staging shop with fixed test data. Include a case where a result visibly exceeds the limit. Repeat the cases and compare the agent's verdicts with a known list of prices and the report screenshots. editorial inference · Reference source.

Developer references.

Risks and limits

A plausible verdict can still be wrong. Model-based clicks and assertions need checks against known outcomes. A wrong click can change records, so use test data and accounts for an initial trial. Source.

Screenshots may expose sensitive data. A hosted model can receive screen content, and reports store screenshots and step details. Check what the service retains and who can open the reports. Model usage costs depend on the configuration and workload. Source.

How to set it up

Start with the Setup Guide.

The GitHub Project guide shows the browser route using a configured model and a Playwright page inside an existing JavaScript test, or Midscene Test with a Web runtime for YAML cases. Android uses ADB, iOS uses WebDriverAgent and HarmonyOS NEXT uses HDC.

The root workspace declares Node.js ^20.19.0 || ^22.12.0 || >=24.0.0 and pnpm >=9.3.0, with pnpm 9.3.0 pinned. These are checkout requirements. Check your model access and usage charges before running a test. documented setup and root workspace requirements · Reference source · Package manifest.

GitHub activity: 15,686 stars · Forks unavailable · Watchers unavailable · Contributors unavailable. Known figures checked 2026-11-22 UTC. GitHub counts measure visible activity. User numbers and reliability require separate evidence. Contributors can include bots and anonymous authors. GitHub metadata · Contributors · Release page.

Editorial source snapshot: 15,686 stars, 1,229 forks and 70 watchers. Contributor count unavailable in the snapshot. Last push 2026-11-20 UTC. Latest published release observed v1.18.2 (2026-11-20 UTC). Repository licence MIT. Snapshot dated 2026-11-22 UTC.

Technical profile and use cases

Draft classifications from public sources checked . Suggested uses are editorial interpretation; uncertain values are marked Not established.

ClassificationDetailsEvidence
Target platformWeb, mobile, desktop and custom interfaces.Documented · Source for Target platform
Operating systemDesktop targets include macOS, Windows and Linux. Mobile targets include Android, iOS and HarmonyOS NEXT.Documented · Source for Operating system
DeploymentRuns through a test framework or SDK with a configured platform runtime and model.Documented · Source for Deployment
Intended usersTest engineers and developers automating user interface workflows.Editorial classification · Source for Intended users
Primary use casesEnd-to-end interface tests, visual assertions and scripted UI automation.Documented · Source for Primary use cases
Project typeVisual GUI automation SDK and end-to-end test framework.Editorial classification · Source for Project type
User interfaceYAML cases, JavaScript APIs, interactive playgrounds and HTML reports.Documented · Source for User interface
Integration interfaceAgent APIs, reusable TypeScript Nodes and a custom screenshot-and-action interface.Documented · Source for Integration interface
UI technologyHTML reports and a Chrome extension are described. Their frontend frameworks were not established.Not established · Source for UI technology
AI model executionUses a configured vision-capable model, with hosted and self-hosted choices documented.Documented · Source for AI model execution
Level of autonomyThe visual agent chooses UI actions for a supplied step. The test case sets the workflow and assertions.Documented · Source for Level of autonomy
Access and pricingModel charges depend on provider and workload. A general per-test price was not established.Not established · Source for Access and pricing
LicenceMIT for the captured repository, subject to its notice requirement.Documented · Source for Licence
Data handlingScreenshots are model inputs. Reports, results, caches and logs are saved under midscene_run/.Documented · Source for Data handling
IntegrationsPlaywright, Puppeteer, desktop Chrome, Rstest, Vitest, ADB, WebDriverAgent, HDC and remote RDP.Documented · Source for Integrations
Project maturityPublished v1.18.2 observed. The captured root manifest also declares 1.18.2.Review status · Source for Project maturity
Evidence levelPinned README, licence and root workspace manifest, plus dated GitHub metadata and release notes.Review status · Source for Evidence level
Relevance to Autonomous Desktop Agents (ADA)

A desktop agent test could use Midscene.js to locate a control from a screenshot, perform one approved action and check the visible result. This is a proposed use of documented platform APIs. A person would still need to validate the result and set access limits for the session.

editorial inference · Developer references.

Evidence: AI-generated editorial based on the supplied pinned README, licence and workspace manifest, plus GitHub activity and release data captured 2026-11-22 UTC. No app, model or test case was run for this summary. · Editorial reviewed . This dated editorial may lag upstream changes.

AI-generated editorial: This summary is based on the cited public sources and may contain errors or become outdated. Refer to the original project documentation and form your own opinion. The application has not been independently tested. About AI summaries.

Read the cited public source

YouTube reference

The supplied material covers written examples and links to showcases.

No YouTube watch-page metadata was supplied or verified.