更新日志
v1.16.1
完整变更
新特性 🎉
- feat(test): add file concurrency with maxConcurrentFiles by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3259
问题修复 🐞
- fix(playground): isolate reports between executions by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3252
文档 📖
- docs(site): add GitHub Actions guide for Midscene Test by @await-ovo in https://github.com/web-infra-dev/midscene/pull/3263
- docs(site): simplify GitHub Actions docs and link to Marketplace by @await-ovo in https://github.com/web-infra-dev/midscene/pull/3276
- docs(site): clarify Jev setup with combined model configuration by @ottomao in https://github.com/web-infra-dev/midscene/pull/3277
- docs(site): update introduction of GUI Agent by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3278
- docs(site): clarify Midscene Test terminology and release status by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3279
- docs(site): migrate introduction to the homepage by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3282
测试 🧪
- test(report): migrate report app e2e tests to midscene-test and publish CI reports by @await-ovo in https://github.com/web-infra-dev/midscene/pull/3275
新贡献者
- @await-ovo made their first contribution in https://github.com/web-infra-dev/midscene/pull/3263
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.16.0...v1.16.1
v1.16.0
亮点
接入 Jev 1.4:更快、更低成本的视觉 E2E 测试
Midscene 现已接入 Jev 1.4,继续沿着视觉理解的道路推进 UI 自动化。通过此次接入,开发者可以体验更快、更低成本的 E2E 测试。接入步骤和当前的实验性限制详见 Jev 配置指南。
在下方 Demo 的连连看游戏测试中,共进行了 28 次模型调用,平均每次模型推理耗时 393.57 ms(约 0.39 秒)。平均每次输入 5,025 Token、输出 67 Token,模型调用费用约 $0.000211/次。费用按输入 $0.042 / 百万 Token 计算,输出免费。
<video src="https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/showcases/jev/tile-matching-jev.mp4" controls></video>
完整变更
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.6...v1.16.0
v1.15.6
完整变更
新特性 🎉
- feat(llm): add dedicated locate model configuration by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3268
- feat(llm): add experimental Jev model support by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3271
CI 与维护 ⚙️
- chore(core): redesign introduction page by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3267
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.5...v1.15.6
v1.15.5
完整变更
新特性 🎉
- feat(web): add Puppeteer test runner nodes by @quanru in https://github.com/web-infra-dev/midscene/pull/3160
- feat(report): redesign test report workspace and clarify execution details by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3245
问题修复 🐞
- fix(core): preserve aiAct reference images for independent locating by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3257
- fix(ios): wait for input readiness and restore focus after clearing by @quanru in https://github.com/web-infra-dev/midscene/pull/3239
- fix(shared): preserve empty string CLI argument values by @quanru in https://github.com/web-infra-dev/midscene/pull/3260
- fix(core): align default scrolling across Android, iOS, and HarmonyOS by @resonlei in https://github.com/web-infra-dev/midscene/pull/3225
- fix(web-integration): preserve CLI viewport after disconnect by @quanru in https://github.com/web-infra-dev/midscene/pull/3261
- fix(test): validate wait options and preserve cross-module screenshots by @quanru in https://github.com/web-infra-dev/midscene/pull/3246
- fix(web-integration): launch cookie tests without sandbox on Linux CI by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3269
CI 与维护 ⚙️
- chore(core): add a highlight section to release note by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3256
新贡献者
- @resonlei made their first contribution in https://github.com/web-infra-dev/midscene/pull/3225
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.4...v1.15.5
v1.15.4
完整变更
2026-10-14 · GitHub Release
新功能 🎉
- feat(test): add TodoMVC create starters and example sync by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3210
问题修复 🐞
- fix(site): restore x profile link in ios showcases by @ottomao in https://github.com/web-infra-dev/midscene/pull/3145
- fix(core): clarify planning cycle limit error by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3251
文档 📖
- docs(core): guide to use chatgpt subscription by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3248
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.3...v1.15.4
v1.15.3
完整变更
2026-10-13 · GitHub Release
新功能 🎉
- feat(test): generate Markdown results after each test run by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3240
问题修复 🐞
- fix(test): clarify project creation guidance and test reference by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3229
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.2...v1.15.3
v1.15.2
完整变更
2026-10-12 · GitHub Release
问题修复 🐞
- fix(core): drain cancelled operations before runner continuation by @codeestX in https://github.com/web-infra-dev/midscene/pull/3216
- fix(site): redirect historical documentation URLs by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3237
- fix(workflow): centralize AI CI connection timeout by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3238
- fix(report): retain test evidence and clarify execution failures by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3226
文档 📖
- docs(site): add Rome OS and reorder homepage users by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3231
CI 与维护 ⚙️
- ci(workflow): increase AI network connection attempt timeout by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3230
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.1...v1.15.2
v1.15.1
完整变更
2026-10-12 · GitHub Release
问题修复 🐞
- fix(test): load tsx through its ESM entry for project configs by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3227
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.15.0...v1.15.1
v1.15.0
完整变更
2026-10-10 · GitHub Release
新功能 🎉
- feat(core): add custom action readiness hook by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3133
- feat(test): add model verification command and setup guidance by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3209
- feat(llm): configure model streaming and record call metadata by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3214
- feat(cli): add ChatGPT SIWC login and refresh by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3215
问题修复 🐞
- fix(report): prepare timeline screenshots in atomic groups by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3211
- fix(test): preserve CLI error stacks and causes by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3212
重构 ♻️
- refactor(cli): nest SIWC credentials with file metadata by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3220
文档 📖
- docs(site): refresh homepage messaging and layout by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3204
CI 与维护 ⚙️
- chore(docs): update homepage by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3219
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.14.0...v1.15.0
v1.14.0
完整变更
2026-09-29 · GitHub Release
新功能 🎉
- feat(web-integration): add BrowserAgent page selection actions by @quanru in https://github.com/web-infra-dev/midscene/pull/2774
- feat(test): add setAIContext node for midscene/test by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3188
- feat(ios): support gateway WDA base URLs by @quanru in https://github.com/web-infra-dev/midscene/pull/3187
- feat(core): support Responses API with configuration and documentation by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3161
问题修复 🐞
- fix(core): record HTTP responses on model parsing failures by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3185
- fix(site): restore legacy URLs and refresh favicon cache by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3198
- fix(site): redirect retired documentation URLs by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3202
- fix(cli): upgrade yargs for Node.js 26 compatibility by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3203
重构 ♻️
- refactor(core): configure locate result keys and aliases by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3189
文档 📖
- docs(site): consolidate images under a dedicated directory by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3186
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.13.3...v1.14.0
v1.13.3
完整变更
2026-09-23 · GitHub Release
新功能 🎉
- feat(test): expose run health metrics and inline report assets by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3172
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.13.2...v1.13.3
v1.13.2
完整变更
2026-09-23 · GitHub Release
问题修复 🐞
- fix(computer): avoid encoded PowerShell transport on Windows by @quanru in https://github.com/web-infra-dev/midscene/pull/3166
文档 📖
- docs(site): add GPT-6 Sol and Luna model guidance by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3182
- docs(site): add midscene-android and midscene-jev-runner to Awesome Midscene by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3179
CI 与维护 ⚙️
- chore(test): generate separate node references for each project by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3181
- chore(test): update spec for midscene test by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3184
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.13.1...v1.13.2
v1.13.1
完整变更
2026-09-22 · GitHub Release
新功能 🎉
- feat(report): redesign test reports and unify timeline interactions by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3174
问题修复 🐞
- fix(cli): allow sequential YAML files to reuse one page by @quanru in https://github.com/web-infra-dev/midscene/pull/3164
文档 📖
- docs(site): update Xiaomi MiMo model guidance by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3176
CI 与 维护 ⚙️
- chore(workflow): upgrade rstest to 0.12.0 by @fi3ework in https://github.com/web-infra-dev/midscene/pull/3178
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.13.0...v1.13.1
v1.13.0
完整变更
2026-09-20 · GitHub Release
新功能 🎉
- feat(test): unify native Test and legacy YAML execution and reporting by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3139
问题修复 🐞
- fix(report): support dark mobile tabs by @quanru in https://github.com/web-infra-dev/midscene/pull/3162
- fix(shared): enable declaration maps by @Amour1688 in https://github.com/web-infra-dev/midscene/pull/3165
文档 📖
- docs(site): generalize GPT original detail limitations by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3163
新贡献者
- @Amour1688 made their first contribution in https://github.com/web-infra-dev/midscene/pull/3165
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.9...v1.13.0
v1.12.9
完整变更
2026-09-17 · GitHub Release
新功能 🎉
- feat(computer): support desktop swipe gestures by @quanru in https://github.com/web-infra-dev/midscene/pull/3144
- feat(core): expose device adapter schema and types by @quanru in https://github.com/web-infra-dev/midscene/pull/3153
- feat(report): support mobile steps and player views by @quanru in https://github.com/web-infra-dev/midscene/pull/3155
- feat(report): support portable step selectors by @quanru in https://github.com/web-infra-dev/midscene/pull/3159
- feat(test): support native ESM project configs by @quanru in https://github.com/web-infra-dev/midscene/pull/3154
问题修复 🐞
- fix(harmony): convert swipe duration to HDC speed by @quanru in https://github.com/web-infra-dev/midscene/pull/3149
重构 ♻️
- refactor(core): centralize model request lifecycle and protocol calls by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3147
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.8...v1.12.9
v1.12.8
完整变更
2026-09-16 · GitHub Release
问题修复 🐞
- fix(core): retry invalid planning action parameters by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3138
- fix(core): retry incomplete planning responses by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3146
- fix(core): clarify scroll and swipe intent in planning by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3136
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.7...v1.12.8
v1.12.7
完整变更
2026-09-15 · GitHub Release
问题修复 🐞
- fix(core): clarify and validate scroll and swipe actions by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3134
- fix(computer): improve modifier-key input compatibility in desktop clients by @quanru in https://github.com/web-infra-dev/midscene/pull/3124
- fix(web-integration): reuse static UI context by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3089
- fix(android-playground): preserve scrcpy GOP integrity by @quanru in https://github.com/web-infra-dev/midscene/pull/3142
- fix(core): record YAML sleep in reports without model dependencies by @quanru in https://github.com/web-infra-dev/midscene/pull/3118
- fix(shared): preserve schema-typed CLI strings by @quanru in https://github.com/web-infra-dev/midscene/pull/3135
- fix(computer): capture reliable opaque RDP screenshots by @quanru in https://github.com/web-infra-dev/midscene/pull/3140
文档 📖
- docs(site): add application knowledge guide and update context examples by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3143
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.6...v1.12.7
v1.12.6
完整变更
2026-09-10 · GitHub Release
新功能 🎉
- feat(report): add unified Midscene Test reports with visual debugging by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3109
- feat(test): support project-scoped node registration by @LawisChen in https://github.com/web-infra-dev/midscene/pull/3111
问题修复 🐞
- fix(core): collect streaming usage through stream completion by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3117
- fix(core): preserve global model config with custom clients by @linhongyu510 in https://github.com/web-infra-dev/midscene/pull/3094
重构 ♻️
- refactor(core): split model service caller by protocol by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3116
- refactor(test): align platform test exports and clarify project docs by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3123
文档 📖
- docs(site): fix reference callout boundary and section headings by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3121
- docs(site): update DeepSeek Flash model configuration by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3131
CI 与维护 ⚙️
- chore(test): add model configuration template to .env.example and update README; adjust create command tests by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3115
新贡献者
- @LawisChen made their first contribution in https://github.com/web-infra-dev/midscene/pull/3111
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.5...v1.12.6
v1.12.5
完整变更
2026-09-08 · GitHub Release
新功能 🎉
- feat(test): add 'create' command to create testing project by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3102
- feat(core): add GPT-6 adapter and model-specific Codex parameters by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3110
问题修复 🐞
- fix(computer): smooth native drag trajectory by @quanru in https://github.com/web-infra-dev/midscene/pull/3098
- fix(studio): restrict file exports and default local services to loopback by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3103
- fix(visualizer): show aiAct output alongside report by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3091
- fix(core): unify normalized coordinate mapping and rounding by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3113
重构 ♻️
- refactor(core): use authoritative centers throughout localization by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3100
文档 📖
- docs(site): unify Midscene Test branding by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3106
- docs(workflow): organize readmes around GUI Agent and Testing Kit by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3108
- docs(site): clarify execution records and reorder testing kit by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3112
CI 与维护 ⚙️
- ci(workflow): add
notify_stable_releasedispatch option to toggle IM notifications by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3107
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.4...v1.12.5
v1.12.4
完整变更
2026-09-07 · GitHub Release
新功能 🎉
- feat(core): support scoped AI contexts and stateless Test Runner workflows by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3065
问题修复 🐞
- fix(computer): handle Linux delayed input by @simplyme0823 in https://github.com/web-infra-dev/midscene/pull/3081
- fix(cli): honor HarmonyOS batch target overrides by @quanru in https://github.com/web-infra-dev/midscene/pull/3082
- fix(core): retry locate responses with missing coordinates by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3095
- fix(test): settle running steps on cancellation by @quanru in https://github.com/web-infra-dev/midscene/pull/3088
- fix(core): avoid duplicate YAML assertion errors by @quanru in https://github.com/web-infra-dev/midscene/pull/3044
性能优化 🚀
- perf(shared): cache system Chrome path resolution by @quanru in https://github.com/web-infra-dev/midscene/pull/3052
- perf(visualizer): memoize selected action lookup by @quanru in https://github.com/web-infra-dev/midscene/pull/3054
文档 📖
- docs(core): update overview for test runner by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3092
- docs(site): use official Doubao pricing by @simplyme0823 in https://github.com/web-infra-dev/midscene/pull/3093
测试 🧪
- test(web-integration): expand input E2E coverage by @quanruzhuoxiu in https://github.com/web-infra-dev/midscene/pull/2953
CI 与维护 ⚙️
- chore(test): align node contracts with agent APIs by @yuyutaotao in https://github.com/web-infra-dev/midscene/pull/3101
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.3...v1.12.4
v1.12.3
完整变更
2026-09-02 · GitHub Release
新功能 🎉
- feat(core): add configurable text input strategies by @quanruzhuoxiu in https://github.com/web-infra-dev/midscene/pull/3042
问题修复 🐞
- fix(android): recover static scrcpy screenshots in-band by @quanru in https://github.com/web-infra-dev/midscene/pull/3074
- fix(ios): make keyboard auto-dismiss best effort by @quanru in https://github.com/web-infra-dev/midscene/pull/3075
- fix(android): harden scrcpy freshness recovery by @quanru in https://github.com/web-infra-dev/midscene/pull/3080
- fix(studio): restore packaged Android device preview by @quanru in https://github.com/web-infra-dev/midscene/pull/3077
- fix(core): make JSON object validation explicit by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3076
- fix(computer): use physical pixels for Windows DPI scaling by @quanru in https://github.com/web-infra-dev/midscene/pull/3064
- fix(core): use rstest mock API in core tests by @quanru in https://github.com/web-infra-dev/midscene/pull/3084
重构 ♻️
- refactor(core): decouple model interaction protocols by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3070
- refactor(core): simplify planning locate parameters by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3073
文档 📖
- docs(site): refresh homepage model strategy cards by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3035
CI 与维护 ⚙️
- chore(workflow): migrate core to rstest by @fi3ework in https://github.com/web-infra-dev/midscene/pull/3033
其他变更
- style(site): polish homepage toolkit cards and dividers by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3078
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.2...v1.12.3
v1.12.2
完整变更
2026-08-28 · GitHub Release
新功能 🎉
- feat(core): apply preferred language to planning details by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3062
问题修复 🐞
- fix(android): avoid scrcpy server upload memory leak by @quanru in https://github.com/web-infra-dev/midscene/pull/3048
- fix(web-integration): validate CDP endpoint protocol by @quanru in https://github.com/web-infra-dev/midscene/pull/3051
- fix(android-playground): correct dev:server bin path by @quanru in https://github.com/web-infra-dev/midscene/pull/3050
- fix(shared): preserve recorder artifacts during signal shutdown by @quanru in https://github.com/web-infra-dev/midscene/pull/3049
重构 ♻️
- refactor(core): organize DeepSeek model files by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3059
文档 📖
- docs(site): add appcontrolbench by @simplyme0823 in https://github.com/web-infra-dev/midscene/pull/3031
- docs(site): clarify preferred language behavior by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3061
- docs(site): clarify AppControlBench chart grouping by @simplyme0823 in https://github.com/web-infra-dev/midscene/pull/3063
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.1...v1.12.2
v1.12.1
完整变更
2026-08-27 · GitHub Release
新功能 🎉
- feat(site): implement the V4 homepage design by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3025
- feat(test): add P0 platform preset nodes by @quanru in https://github.com/web-infra-dev/midscene/pull/3026
问题修复 🐞
- fix(android): adopt upstream ADB disconnect fix by @quanru in https://github.com/web-infra-dev/midscene/pull/3016
- fix(core): make task execution errors transport-safe by @quanru in https://github.com/web-infra-dev/midscene/pull/3000
- fix(ios): make keyboard dismissal deterministic by @quanru in https://github.com/web-infra-dev/midscene/pull/3017
- fix(site): restore docs header alignment and update AVATR logo by @xiong35 in https://github.com/web-infra-dev/midscene/pull/3032
- fix(android): constrain replanning screenshots to scrcpy max size by @quanru in https://github.com/web-infra-dev/midscene/pull/3021
- fix(android): configure bitrate and harden scrcpy recovery by @quanru in https://github.com/web-infra-dev/midscene/pull/3009
- fix(core): deduplicate multimodal reference images in reports by @quanru in https://github.com/web-infra-dev/midscene/pull/3019
- fix(cli): restore YAML task progress output by @quanru in https://github.com/web-infra-dev/midscene/pull/3028
- fix(cli): preserve serial YAML config order by @quanru in https://github.com/web-infra-dev/midscene/pull/2972
- fix(workflow): replace simple-git-hooks with husky by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3037
- fix(cli): isolate shared-browser YAML tabs by @quanru in https://github.com/web-infra-dev/midscene/pull/2967
- fix(android): avoid unreliable select-all when clearing inputs by @quanru in https://github.com/web-infra-dev/midscene/pull/3018
- fix(test): load TypeScript configs on Windows by @dajiaohuang in https://github.com/web-infra-dev/midscene/pull/3030
- fix(core): omit DeepSeek temperature in thinking mode by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3043
- fix(shared): remove Canvas image fallback by @quanruzhuoxiu in https://github.com/web-infra-dev/midscene/pull/2888
文档 📖
- docs(site): update DeepSeek card description by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3036
- docs(site): add v1.11 and v1.12 changelogs by @quanruzhuoxiu in https://github.com/web-infra-dev/midscene/pull/3034
- docs(site): move DeepSeek guidance into model notes by @EAGzzyCSL in https://github.com/web-infra-dev/midscene/pull/3039
测试 🧪
- test(report): verify screenshot pixel integrity by @linhongyu510 in https://github.com/web-infra-dev/midscene/pull/2976
CI 与维护 ⚙️
- chore(workflow): migrate cli and web-integration to rstest by @fi3ework in https://github.com/web-infra-dev/midscene/pull/3007
其他变更
- 支持bridge 模式创建不打扰用户的 tab by @RainMountainCao in https://github.com/web-infra-dev/midscene/pull/3038
新贡献者
- @RainMountainCao made their first contribution in https://github.com/web-infra-dev/midscene/pull/3038
- @dajiaohuang made their first contribution in https://github.com/web-infra-dev/midscene/pull/3030
- @linhongyu510 made their first contribution in https://github.com/web-infra-dev/midscene/pull/2976
Full Changelog: https://github.com/web-infra-dev/midscene/compare/v1.12.0...v1.12.1
v1.12 - DeepSeek V4、Midscene Test 与报告耗时汇总
v1.12 支持 DeepSeek V4 视觉模型,推出Midscene Test(Beta),并为报告增加耗时汇总。
DeepSeek V4 视觉模型支持
- 支持
deepseek-v4-flash-vision-exp。配置方法参见常用模型配置,更多信息参见Midscene 1.12 支持 DeepSeek V4 Flash Vision Exp。
Midscene Test(Beta)
- 新增
@midscene/test,支持使用 YAML 编写自然语言测试,也可通过 TypeScript Node 扩展。Midscene Test 将逐步替代旧版 YAML 自动化方案,协议和 API 目前仍处于 Beta 阶段。详见 Midscene Test 概览。
报告与稳定性
- Report 侧边栏新增总耗时和模型调用耗时,Markdown 报告也会按模型汇总耗时和 Token 用量。
- 截图处理流程会把观察帧统一保存为 JPEG,减少运行产物占用的空间。
- 修复 Electron ASAR 包中的资源路径解析问题。受影响的资源包括 yadb 和 scrcpy 外部二进制文件。
v1.11 - 多平台稳定性改进
v1.11 提高了模型验证、移动端输入和报告生成的稳定性。
稳定性与文档
- 修复模型验证回调丢失 Playground SDK 方法上下文的问题。
- 修复 HarmonyOS 无法正确解析应用启动目标的问题。该问题会影响已声明的 ability 和经过映射的目标。
- Android 和 HarmonyOS 清空输入框前会先全选文本,以兼容更多输入法和控件。
- Playwright 报告文件名增加长度限制和重名规避,避免长标题触发
ENAMETOOLONG错误。 - 补充 Doubao Seed Android showcase 的执行成本数据。
v1.10 - BDD 风格脚本、Doubao-Seed-2.1 与 MCP 下线
v1.10 新增 BDD 风格的 Gherkin 脚本执行能力,升级推荐模型到 Doubao-Seed-2.1,并正式下线 MCP server 包,后续推荐通过 Skills 与各平台 CLI 让 AI Agent 驱动 Midscene。
BDD 风格脚本(Gherkin)
- 新增
agent.runGherkinScenario(),可在 JavaScript / TypeScript 中直接运行 Gherkin 场景。 - YAML flow 新增
runGherkinScenario步骤,可把自然语言场景写成Given/When/Then结构并按步骤执行。 Given/When会映射为aiAct,Then以及跟随它的And/But会映射为aiAssert,让测试用例既保持自然语言可读性,又有稳定的步骤结构。- 当前支持围绕单个
Scenario的 Gherkin 子集,BDD 相关能力仍处于 Beta 阶段。详见:BDD 风格脚本(Gherkin)
新增模型支持
- 推荐并支持
Doubao-Seed-2.1-turbo,在当前私有测评集中具备很快的定位速度和良好的定位效果。 - 豆包 Seed 系列统一使用
MIDSCENE_MODEL_FAMILY="doubao-seed",同时继续兼容旧的doubao-visionfamily。详见:常用模型配置、模型策略
MCP 下线
- Midscene 不再发布 MCP server 包,包括
@midscene/web-bridge-mcp、@midscene/android-mcp、@midscene/ios-mcp、@midscene/harmony-mcp、@midscene/computer-mcp和@midscene/mcp。 - 需要 AI 编程 Agent 操作浏览器、移动设备或桌面应用时,请改用 Skills 与各平台 CLI。
- 如果仍依赖 MCP server,请将 Midscene 固定在
1.9.8。这是最后一个包含 MCP 支持的版本。详见:MCP 集成已下线
v1.9 - 新增模型 支持、YAML 自动化与 AndroidWorld Benchmark
v1.9 版本扩展了模型支持,改进了 YAML 自动化,并提升了报告查看、Android 自动化、Web 输入和桌面自动化的稳定性。
AndroidWorld Benchmark
Midscene 新增 AndroidWorld benchmark 报告。使用 v1.9.5 测试时,Midscene 达到 Pass@1 93.10%、Pass@2 95.69%、Pass@3 97.41%。详见:AndroidWorld Benchmark 报告
新增模型支持
- 新增 Kimi 和 Xiaomi MiMo 模型支持。详见:常用模型配置
模型与规划更新
aiAct支持图片提示。MIDSCENE_MODEL_REASONING_ENABLED支持default,适配模型默认思考行为。- Gemini thinking content 与 GPT-5 reasoning 配置处理更完整。
aiAct在缓存失效时会回退到模型规划,并清空对应缓存。- AI 请求错误会包含重试次数信息;模型响应解析失败时会保留原始响应;解析后的 locate 结果会先校验再使用。
- 模型 dump 会暴露更多模型响应元数据,包括 raw choice message,以及 usage 中的响应模型名。
deepLocate的搜索区域会显示在报告上。
Chrome 扩展
- Chrome 扩展 Bridge mode 支持文件上传。
- Bridge mode 文件上传支持 file chooser accept 过滤与 WSL 文件路径。
YAML、CLI 与 MCP
1.9.8是最后一个包含 MCP 支持的 Midscene 版本。后续版本会下线 MCP server 包,改为推荐 Skills 与各平台 CLI。- 各平台 CLI 支持传入 agent behavior init args。
- CLI 的 YAML 脚本新增 HarmonyOS target,HarmonyOS 自动化可以通过与 Web、Android、iOS、Computer 一致的脚本运行器流程执行。详见:YAML 脚本自动化、HarmonyOS API
- YAML Web config 支持自定义 HTTP headers。
- YAML Web config 支持通过
downloadPath指定浏览器下载目录。 - YAML 执行会暴露真实错误,不再只落到静默的 "not executed" 结果。
- YAML 批量执行支持重试失败用例。
- YAML 成功执行后会打印报告路径。
- 显式指定的 YAML report 文件名会被正确保留。
- CLI / MCP / Skill 流程可以通过共享参数暴露
deepLocate/deepThink控制项。 - Assert CLI / MCP 工具会转发自定义失败信息,让断言失败更清晰。
- CLI 会从 CLI 包自身解析
@rstest/core,并延迟加载 Rstest core,让外部启动路径下的 framework 执行更稳定。
报告
recordToReport支持自定义截图。- Report 导出会让图片路径与导出的截图保持一致。
- Report 新增 JSON tree view,方便查看结构化任务和模型数据。
- 优化 Report 截图、标签、Playground server origin 处理与上下文间距。
Studio 与 Recorder
- 稳定 Studio recorder 描述与预览输入合并行为。
- Studio 会更安全地处理无效的模型环境变量配置。
- Recorder 工作流支持生成 Markdown replay output。
Android 自动化
- 改进 Android action controls 和规划提示,提升原生移动端自动化流程的稳定性。
Computer 自动化
- Computer desktop automation 新增 Intel packaging。
- Libnut 滚动现在每个 tick 会发出完整的一次 wheel delta。
问题修复
- 修复 Web integration 中
longPress时长被限制在 600ms 的问题。 - 修复 Web 输入框在输入过程中重新渲染时可能丢字符的问题。
- 修复部分环境下 HarmonyOS MCP 因
photon/sharpWASM 初始化失败而无法启动的问题。 - 修复 Computer RDP 首帧空白截图问题。
- 自动修复 Computer phased-scroll helper 缺失可执行权限的问题。
- 补充 elevated Windows 应用输入丢失警告。
- 补充 Computer 自动化的 IPv6 RDP host 支持。
文档更新
- 补充 Azure OpenAI-compatible endpoint 配置说明。
v1.8 - Midscene Studio 桌面端与多平台增强
v1.8 版本带来全新的桌面端应用 Midscene Studio,新增长按/清空输入等多项 API,并对模型规划行为、设备集成、报告系统和 MCP 工具集进行了全面升级。
全新桌面端应用 Midscene Studio(Beta)
Midscene Studio 是一个基于 Electron 的桌面应用,把多平台 Playground 整合进一个原生界面,开箱即用。当前处于 Beta 阶段,可从 latest release 页面 选择 midscene-studio-beta-* 资源下载最新版 Studio,欢迎试用并反馈问题:
- 多平台 Playground:Web、Android、iOS、HarmonyOS、Computer 在同一个 Studio 应用中无缝切换
- 设备交互预览:Android / iOS / HarmonyOS 设备预览支持手动鼠标和触控控制;Web 预览支持实时画面流式渲染
下一步:在 Studio 中录制生成可回放的 Midscene 脚本
我们正在 Studio 中打造一条「录制 → 脚本 → 回放」的闭环工作流:直接在 Studio 里对真实设备进行操作录制,自动生成结构化的 Midscene 脚本,并能即时在 Studio 内重新回放、调试、导出。该能力将在后续版本中陆续开放,敬请 期待。
YAML 工作流增强
- Android runAdbShell timeout:在 JavaScript API 和 YAML 脚本中都支持
timeout选项。详见:Android API、YAML 脚本自动化
新增交互 API
agent.aiLongPress():对指定元素执行长按操作,适用于触发长按菜单等场景。详见 API 文档agent.aiClearInput():清空指定输入框的内容,适合把清空当作独立一步的场景。详见 API 文档
设备与平台集成
- iOS 连接外部 WDA 会话:iOS 支持连接已有的 WebDriverAgent 会话,方便复用外部 WDA 环境
- iOS 设备实现可覆盖:允许使用自定义 iOSDevice 实现,便于深度扩展或定制
- Computer 远程桌面:Computer MCP / CLI 连接工具支持传入 RDP 连接选项,可直接接管远程 Windows 桌面
agentForComputer命名修正:新增agentForComputer作为主推 API,原有agentFromComputer保留为向后兼容别名- Puppeteer CLI viewport 选项:Puppeteer CLI 新增窗口尺寸配置,方便在命令行中指定运行时的浏览器视口
模型与规划行为
- 使用意图与配置槽位分离:模型使用意图与实际解析到的配置槽位分离,多模型 Planning、定位和报告展示更清晰
- 默认关闭原生思考:对于已支持的模型系列,Midscene 默认关闭模型原生思考,以提升执行速度和稳定性。详见:模型原生的思考模式
- 豆包低延迟模式:支持豆包低延迟模式配置方式,可通过
MIDSCENE_MODEL_EXTRA_BODY_JSON={"service_tier":"fast"}开启。详见:常用模型配置 - GLM-5V-Turbo 支持:新增智谱 GLM-5V-Turbo 模型支持。详见:常用模型配置
- 滚动选择规划优化:优化滚动选择(scrollable select)的规划流程,提升复杂下拉与滚轮选择场景的成功率
MCP 与平台 CLI
- 新增
assertMCP 工具:MCP 新增基于aiAssert的断言工具,AI 助手可以直接调用断言能力。详见:MCP 服务 - Assert 支持图片提示:Assert CLI / MCP 工具支持传入图片作为提示词,便于结合参考图进行断言
- 平台 CLI 接受裸初始化参数:各平台 CLI 简化参数传递方式,直接接受平台 Agent 构造参数
- Playwright fixture 透传 Agent 选项:
PlaywrightAiFixture支持透传PlaywrightAgent构造参数,便于复用 fixture 时自定义 Agent 配置
报告系统
- CLI 合并报告:CLI 新增
report-tool merge子命令,可将多份报告文件合并为一个,便于集中查看 - 报告中记录截图工具调用:截图工具(
take_screenshot)的调用现在会在报告中显示,便于排查截图相关问题
Chrome 扩展
- Chrome Web Store 发布自动化:扩展发布到 Chrome Web Store 的流程已自动化,缩短发布周期
问题修复
- 修复
aiAct在动作真正执行前就触发完成状态的问题 - 修复 Insight prompt 在部分场景下优先使用参考图而不是当前截图的问题
- 修复新标签页导航后的 Bridge 连接问题
- 修复 iOS / HarmonyOS / Computer Playground 点击投影问题
- 修复 HarmonyOS 单次调用
autoDismissKeyboard的配置不生效问题 - 修复 Android Playground 视频流内存占用过高的问题
- 修复 Computer 滚动默认距离与 Web 不一致的问题
- 修复部分模型返回归一化 [0,1000] 坐标超出范围的边界问题
- 修复 Bridge 模式下
aiAct选项未被继承的问题 - 修复 Action API 返回值与文档不一致的问题
- 修复
maxTokens与意图模型配置不匹配的问题 - 修复服务端端口探测时未使用
0.0.0.0与实际监听 host 不一致的问题 - 修复
aiAct中 deepThink 标记在报告中丢失的问题 - 修复 iOS 输入时偶发的字符丢失问题
- 修复 HarmonyOS system action 延迟覆盖逻辑
v1.7 - 灵活处理报告文件、支持 Qwen 3.6 模型
灵活处理报告文件
从 v1.7.0 开始,你可以把报告文件中的原始截图和 JSON 数据提取出来,或者把报告转录为 Markdown,方便其他工具继续消费这些内容。
示例
你可以把报告文件解析为这样一份 Markdown 文件:
进一步,你可以结合 Remotion Skill 解析这份 Markdown 文件,并生成一个个性化的回放视频。
视频生成结果如下:
Midscene 支持通过命令行工具或者 JavaScript SDK 来解析报告文件,使用方法详见:解析报告文件
新增 Qwen 3.6 模型支持
适配了 Qwen 3.6 模型,可以在 Midscene 中使用最新的通义千问模型。详见:模型配置
Chrome 扩展录制语言设置
Chrome 扩展的录制设置中新增了 YAML 输出语言选项,支持 English、Chinese、Japanese 等多种语言,也可设为 Auto 自动跟随系统语言。
Android / 鸿蒙端改进
- Android 和鸿蒙端新增
terminate操作,支持强制停止指定应用,方便在测试中重置应用状态。详见:Android API、鸿蒙 API - 修复 Android 端在 X/Twitter 上输入时 placeholder 文本被意外保留的问题
- 修复 Android Playground 局域网访问问题
调试体验改进
- 执行日志支持保存到磁盘,便于事后排查问题
- Playground 配置页面保存模型配置时,可运行连通性测试,及时发现配置错误
- Skill CLI 的
run命令支持通过--image参数传入图片作为提示
问题修复
- 修复文件选择器缺失文件时错误提示不清晰的问题
- 修复 CLI 批量运行时错误信息汇总不完整的问题
- 修复 YAML 脚本中
aiScroll缩进格式错误的问题 - 修复
aiLocate元素定位框不准确的问题 - 修复截图失败时缺少降级方案的问题
- 修复部分模型返回空响应时未正确处理的问题
- 修复 CDP 连接模式下标签页复用问题
- 修复
aiQuery在特定数据结构下结果缺失的问题 - 修复 AutoGLM 启动应用时参数格式不正确的问题
- 修复 Playground 中部分下拉菜单显示异常的问题
- 修复模型配置中自定义请求头别名不生效的问题
v1.6 - CDP 连接、双指缩放与多模型增强
v1.6 版本新增了 CDP 浏览器连接模式、跨平台双指缩放手势、GPT-5/GPT-5.4 模型支持,同时对元素定位、报告系统、Chrome 扩展等进行了多项改进。
新增 CDP 浏览器连接模式
支持通过 CDP (Chrome DevTools Protocol) 直接连接已有的浏览器实例进行自动化,无需由 Midscene 启动浏览器,适用于需要复用已有浏览器会话的场景。详见:Skills - Browser Automation、YAML 脚本运行器 - CDP 连接模式
新增跨平台双指缩放手势
在 Android、iOS、鸿蒙等移动端平台支持 pinch/zoom 双指缩放操作,可用于地图缩放、图片预览等场景。详见:API 文档 - aiPinch
新增 GPT-5 / GPT-5.4 与 Codex app-server provider 支持
适配了 GPT-5 和 GPT-5.4 模型,同时新增 Codex app-server provider,开发者可以使用最新的 OpenAI 模型进行视觉理解与自动化操作。详见:模型配置、模型策略
新增模型请求 extraBody 参数
新增 extraBody 配置,开发者可以在模型 API 请求中传递额外的自定义参数,满足特定模型或部署环境的需求。详见高阶配置中的 MIDSCENE_MODEL_EXTRA_BODY_JSON 环境变量
deepThink 更名为 deepLocate
元素定位相关 API 中的 deepThink 参数正式更名为 deepLocate,更准确地表达其"深度定位"的含义。原 有 deepThink 参数仍可使用,但建议逐步迁移。详见:API 文档
Skill CLI 与平台工具增强
- Skill CLI 自定义接口:Skill CLI 支持自定义接口,开发者可以更灵活地扩展 Skill 能力。详见:Skills 文档
- 统一 MCP 工具导出:所有平台包(Web、Android、iOS 等)统一导出 MidsceneTools,在 MCP 场景下集成更简单。详见:MCP 服务
- iOS 终止指定应用:iOS 端支持通过 bundleId 终止指定应用,方便测试流程中重置应用状态。详见:iOS API
- CLI 版本查看:CLI 新增版本查看功能,健康检查中显示各包版本信息,便于排查环境问题
任务取消支持
aiAct 新增 AbortSignal 支持,开发者可以在任务执行过程中随时取消操作,避免长时间等待。详见:API 文档 - aiAct
元素定位优化
优化了 deepLocate 的定位流程,在复杂界面下的定位效率和准确率均有提升。
报告与回放改进
- 大型报告加载更快:报告中的截图支持懒加载,包含大量步骤的报告打开速度显著提升
- 移动端报告更直观:报告回放时展示设备外壳,更直观地还原移动端操作场景
- 时序信息更精确:报告中 AI 调用和操作执行的时序信息精度更高,便于定位性能瓶颈
稳定性改进
- AI 规划偶发解析失败时自动重试一次,减少因网络抖动导致的测试中断
- 设备健康检查新增监控器检测,帮助排查无头环境下的显示问题
Chrome 扩展改进
- 修复录制停止后生成脚本时的崩溃问题
- 修复长时间录制时因消息序列化性能问题导致的卡顿
- Bridge 模式新增启停控制按钮,修复确认操作时连接断开的问题
问题修复
- 修复 MCP 服务在某些情况下变成僵尸进程占用 100% CPU 的问题
- 修复页面跳转过程中截图失败未重试的问题
- 修复 Android 端部分场景下文字输入丢失的问题
- 修复
aiNumber在某些格式下提取结果不正确的问题 - 修复
aiScroll不传参数时的调用异常 - 修复使用 AutoGLM 模型时返回/主页操作在不同平台上的兼容问题
- 修复报告中模型名称包含
/时显示异常的问题 - 修复报告回放结束后播放器未正确重置的问题
- 修复 Playground 中 Deep Think 开关未正确读取环境变量配置的问题
- 修复高分辨率设备截图中光标大小显示不正确的问题
- 修复 Linux 环境下 Chrome 启动路径解析失败的问题
- 修复页面包含 iframe 时元素定位不准确的问题
- 修复鸿蒙端在特定渲染分辨率下屏幕信息解析错误的问题
- 修复 Playground 中取消任务后设备方向显示不正确的问题
v1.5 - HarmonyOS(鸿蒙)自动化支持
v1.5 版本新增了 HarmonyOS 自动化支持,新增 Qwen3.5 和 doubao-seed 2.0 模型支持,同时对桌面自动化、报告系统、Chrome 扩展等进行了多项改进。
新增 HarmonyOS(鸿蒙)自动化支持
新增 @midscene/harmony 包,正式支持 HarmonyOS 平台自动化。Midscene 的自动化能力从 Web、Android、iOS、桌面进一步扩展到鸿蒙生态。
新增 Qwen3.5 与 doubao-seed 2.0 模型支持
适配了通义千问 Qwen3.5 和豆包 doubao-seed 2.0 模型,开发者可以使用更新的模型获得更好的视觉理解效果。
新增通用模型推理配置
新增 MIDSCENE_MODEL_REASONING_EFFORT 环境变量,作为通用的模型推理强度配置参数,方便开发者在不同模型间统一控制推理行为。
桌面自动化改进
- Xvfb 虚拟显示器支持:在无头 Linux 环境下支持 Xvfb 虚拟显示器,适用于 CI/CD 服务器等无 GUI 环境的桌面自动化
- 连接健康检查:桌面自动化连接时新增健康检查,提升连接可靠性
- macOS 输入优化:macOS 上所有文本输入改用剪贴板方式,避免输入法(IME)导致的输入异常
- 鼠标控制失败检测:自动检测鼠标控制失败并提示管理员权限需求
- 停止执行优化:在停止执行时通过检查 destroyed 状态及时中断截图操作,避免无效等待
截图与显示优化
- 自定义截图缩放:支持自定义截图缩放比例(screenshot shrink),在保证识别准确性的前提下优化性能
- Android 缩放比解耦:将 scalingRatio 从 size() 方法中解耦,提升灵活性
报告系统改进
- 时序信息更详细:报告中的时序信息粒度更细,帮助开发者更精确地分析性能瓶颈
- 合并报告支持目录模式:
mergeReports支持目录模式的报告文件
Chrome 扩展改进
- 新增始终拒绝选项:Chrome 扩展新增"始终拒绝"选项,并修复确认弹窗的竞态条件
- CLI 结束后关闭 Bridge 服务:CLI 命令完成后自 动关闭 Bridge 服务器,避免残留进程
问题修复
- 修复表单渲染中 input mode schema 的
z.preprocess处理问题 - 修复 Android 滑动参数传递问题
- 修复 Web 端尺寸计算问题
- 修复
BASE_URL_FIX_SCRIPT闭合标签未被 HTML 解析器识别的问题 - 修复 PlaywrightAgent/PuppeteerAgent 构造函数中 page 为 undefined 的保护处理
v1.4 - Skills:让 AI 助手直接操控你的设备
v1.4 版本推出了 Midscene Skills —— 一套可安装到 Claude Code、OpenClaw 等 AI 助手中的技能包,让 AI 助手直接操控浏览器、桌面、Android 和 iOS 设备。同时本版本还包含独立桌面 MCP 服务、各平台 CLI 独立入口、AI 规划增强等多项改进。
Midscene Skills —— AI 助手的设备操控技能包
Midscene Skills 是一套可安装到 Claude Code、OpenClaw 等 AI 助手中的技能包。安装后,AI 助手可以通过自然语言直接操控浏览器、桌面、Android 和 iOS 设备。
各平台包(@midscene/android、@midscene/ios、@midscene/web 等)现在各自暴露了独立的 CLI 入口,Skills 正是基于此能力构建。
覆盖平台:
- 浏览器(Puppeteer 无头模式)
- Chrome Bridge(用户自己的桌面 Chrome)
- 桌面(macOS、Windows、Linux)
- Android(通过 ADB)
- iOS(通过 WebDriverAgent)
独立桌面自动化 MCP 包
新增 @midscene/computer-mcp 包,将 PC 桌面自动化能力以独立 MCP 服务的形式提供。开发者可以直接在 Cursor、Trae 等支持 MCP 的工具中使用桌面自动化能力,无需额外集成。
详见文档:PC 桌面自动化
Chrome 扩展支持 MCP 后台连接
Chrome 扩展新增后台 Bridge 模式的 MCP 连接支持,可以将桌面浏览器作为 MCP 工具暴露给 AI 助手,进一步打通 MCP 生态。
AI 规划能力增强
aiAct新增deepLocate选项:在执行操作时启用深度定位,提升复杂界面下的元素定位准确率- Swipe 与 DragAndDrop 语义区分:模型现在能更精确地区分滑动和拖放操作,减少手势规划错误
- LLM 规划增加页面导航限制:防止模型在规划时生成不合理的页面跳转操作,提升任务执行稳定性
- macOS 键盘输入改用 AppleScript:提升桌面自动化中键盘输入的稳定性和兼容性
- 鼠标移动操作:新增 cursor move 动作支持
YAML 脚本与文件上传增强
- YAML
aiTap支持fileChooserAccept:在 YAML 脚本中可直接处理文件上传对话框 - 支持目录上传:Web 端支持
webkitdirectory类型的文件夹选择上传
Chrome 扩展 Bridge 模式缓存
Bridge 模式下新增缓存支持,复用已有的 AI 规划结果,减少重复调用,提升调试效率。
Android 改进
- 优化文字输入逻辑,提升输入稳定性
iOS 改进
- Playground 实时画面流:iOS Playground 新增实时画面展示,调试时可实时预览设备屏幕。
v1.3 - PC 桌面自动化支持
v1.3 版本带来了全新的 PC 桌面自动化能力,大幅优化了 Android 截图性能,并对报告系统和稳定性进行了多项改进。
全新 PC 桌面自动化支持
Midscene 现在支持 PC 桌面自动化,在 Windows、macOS 和 Linux 上驱动原生键盘和鼠标。无论是 Electron、Qt、WPF 还是原生桌面应用,都可以通过视觉模型方案进行自动化。
核心能力:
- 鼠标操作:单击、双击、右键、移动鼠标、拖放
- 键盘输入:文本输入、组合键(Cmd/Ctrl/Alt/Shift)
- 屏幕截图:捕获任意显示器的截图
- 多显示器支持:同时操作多个显示器
使用方式:
- 支持使用 Computer Playground 零代码试用
- 支持 JavaScript SDK 脚本编写
- 支持 YAML 格式的自动化脚本和命令行工具
- 支持 HTML 报告回放所有操作路径
详见文档:PC 桌面自动化
Android 截图性能大幅提升
开启 Scrcpy 截图模式后,截图耗时从原来的 500–2000ms 降低到 100–200ms,显著提升 Android 自动化的响应速度,特别适用于远程设备调试和高帧率场景。
详见文档:Scrcpy 截图模式
深度思考模式增强
aiAct 的深度思考(deepThink)模式现在不仅用于元素定位,还能优化整体任务规划,在复杂表单、多步骤流程等场景下获得更好的执行效果。
报告体验优化
- 时间线折叠:新增折叠切换按钮,方便查看长任务流程
- 时间单位改为秒

