Skip to content

v1.19.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 04:16

English

v1.19.0

Highlights

Grounding Benchmark for Model Selection

In real-world E2E testing, the primary bottleneck is rarely long-horizon planning—it is grounding (accurately locating target UI elements on screen). To solve this model-selection challenge, this release introduces the Midscene Grounding Benchmark (packages/benchmark-grounding) and a comprehensive Model Comparison guide covering 35 models across 10 model families:

  • Closer to real-world E2E experience: Evaluates Midscene's aiLocate() capability across 200 web and mobile test cases (visual perception, semantic/relative positioning, logical reasoning, and refusal checks), measuring Accuracy, Performance (latency), Economy (cases per dollar), and Balance.
  • Resolution-aware cost estimator: Estimate grounding token usage and API cost by platform and screenshot resolution directly on the homepage and comparison page.
  • Open-source & reproducible: All 200 test cases and the evaluation code are open-sourced in packages/benchmark-grounding. You can reproduce the benchmark locally on your own models via @midscene/cli (model benchmark-grounding) and merge your results into the official report.

Midscene Connect (@midscene/connect): Connect Any UI

We are introducing @midscene/connect to streamline connecting any screen or custom hardware to Midscene—such as robotic arms, capture cards with HID modules, in-vehicle displays, IoT devices, or remote machines:

  • Define a device in one .mjs file: Provide a screenshot source (PNG/JPEG Buffer, data URL, or base64) alongside built-in input primitives (tap, swipe, typeText, etc.) or custom parameterized actions.
  • Serve over HTTP with live preview: Start a device server with midscene-connect, inspect the live screen in Playground, and explore endpoints via built-in OpenAPI/Swagger UI.
  • Full SDK & @midscene/test integration: Connect from Node.js/TypeScript (@midscene/connect), run YAML test suites, or scaffold a new project with midscene-test create --platform connect. See the Connect any UI guide.

Redesigned Midscene Test Report Experience

This release refactors the Midscene Test HTML report across both the Overview page and the case report page for clearer inspection and faster debugging:

  • Overview page: Reorganized run summaries, project breakdowns, and case step hierarchies, with an Overview breadcrumb in the header to jump back anytime.
  • Report detail page: Redesigned the report header, step timeline, and execution detail views, added a light/dark theme toggle, and unified context naming and display in the detail side panel.
  • Keyboard shortcuts: Switch between cases (j / k), step through actions (↑ / ↓), and return to the Overview page (Esc) directly from the keyboard.

Changes

Features 🎉

  • feat(report): refine studio layout and report navigation by @xiong35 in #3449
  • feat(cli): add grounding benchmark dataset and evaluation workflow by @LawisChen in #3403
  • feat(connect): add @midscene/connect to serve any device over HTTP by @ottomao in #3430
  • feat(workflow): include localized highlights in Feishu release notifications by @yuyutaotao in #3454

Fixes 🐞

  • fix(ios): target the selected display in split view by @quanru in #3442

Refactors ♻️

  • refactor(core): unify internal user context naming and report display by @EAGzzyCSL in #3441

Documentation 📖

Testing 🧪

  • test(web-integration): reduce visual ambiguity in caret insertion fixture by @EAGzzyCSL in #3448

Full Changelog: v1.18.3...v1.19.0

中文

v1.19.0

亮点

Grounding Benchmark 与模型选型指南

在实际 E2E 测试场景中,真正困扰大家、决定执行稳定性的往往不是复杂规划(Planning),而是 Grounding(元素定位) 的准确率。针对这一核心痛点,我们推出了 Midscene Grounding Benchmark(packages/benchmark-grounding)及完整的模型对比指南,覆盖 10 个模型家族、共 35 款模型,为模型选型提供全面、客观的量化指引:

  • 更贴近真实体感的评测报告:围绕实际 E2E 场景中的 aiLocate() 定位能力,覆盖 200 道 Web 与 Mobile 题目(基础视觉、语义理解、逻辑推理及拒识边界),从准确率(Accuracy)、响应性能(Performance)、性价比(Economy)和综合平衡度(Balance)四个维度全面评估各模型表现。
  • 按分辨率估算成本:支持按平台与截图分辨率估算单步定位与 E2E 测试的调用成本,辅助在预算内选择最稳的模型。
  • 测试用例开源、支持项目内复现:全部 200 道评测用例与评测代码均已开源在 packages/benchmark-grounding。你可以通过 @midscene/cli(model benchmark-grounding)在自己的项目中复现评测、自测新模型,并将结果合并进官方报告进行对比。

Midscene Connect(@midscene/connect):连接任意界面

本次版本正式推出 @midscene/connect,全面改良了将任意屏幕与自定义硬件接入 Midscene 的体验——无论是机械臂、采集卡 + HID 模块、车载大屏、IoT 设备还是远程桌面,都能快速接入并自动化驱动:

  • 单文件定义设备:在一个 .mjs 文件中提供 screenshot 截图源(PNG/JPEG Buffer、data URL 或 base64)以及内置输入原语(tap、swipe、typeText 等)或自定义动作即可完成接入。
  • HTTP 服务与实时预览:通过 midscene-connect 一键启动 HTTP 设备服务,支持在 Playground 中实时预览设备画面,并内置 Swagger UI 接口文档。
  • 完整生态打通:支持通过 @midscene/connect SDK、YAML 用例直接驱动,也可通过 midscene-test create --platform connect 一键创建测试项目。详见连接任意界面文档。

重构 Midscene Test 报告体验

本次版本重构了 Midscene Test 测试报告的整体体验,覆盖 Overview 总览页与报告详情页,让查看结果和定位问题更直观:

  • Overview 总览页:重新梳理了运行汇总、项目分组与用例步骤的信息层级,并支持通过顶栏的 Overview 面包屑随时返回总览。
  • 报告详情页:重构了报告顶栏、步骤时间线与执行详情视图,新增深浅色主题切换,同时统一了侧边栏中的上下文命名与展示。
  • 键盘快捷导航:支持使用 j / k 切换上下用例、↑ / ↓ 切换执行步骤、Esc 返回 Overview 页面,减少频繁的鼠标操作。

完整变更

新特性 🎉

  • feat(report): refine studio layout and report navigation by @xiong35 in #3449
  • feat(cli): add grounding benchmark dataset and evaluation workflow by @LawisChen in #3403
  • feat(connect): add @midscene/connect to serve any device over HTTP by @ottomao in #3430
  • feat(workflow): include localized highlights in Feishu release notifications by @yuyutaotao in #3454

问题修复 🐞

  • fix(ios): target the selected display in split view by @quanru in #3442

重构 ♻️

  • refactor(core): unify internal user context naming and report display by @EAGzzyCSL in #3441

文档 📖

测试 🧪

  • test(web-integration): reduce visual ambiguity in caret insertion fixture by @EAGzzyCSL in #3448

Full Changelog: v1.18.3...v1.19.0