You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`*-mcp` and `*-playground` packages live alongside them. The package names are `@midscene/android`, `@midscene/ios`, `@midscene/computer`, `@midscene/harmony`.
90
+
`*-playground` packages live alongside them. The package names are `@midscene/android`, `@midscene/ios`, `@midscene/computer`, `@midscene/harmony`.
91
91
-`packages/visualizer` and `apps/report`: report rendering and viewer UI.
92
92
-`apps/site`: documentation site. The Nx project name is `doc`, not `site`.
*[robotic arm + vision + voice for in-vehicle testing](https://midscenejs.com/showcases#community-showcases)
45
44
46
45
## 💡 Why Midscene
@@ -50,13 +49,13 @@ Most UI automation — including AI tools that read the DOM or the accessibility
50
49
-**Less maintenance** — no selectors to chase when the UI changes.
51
50
-**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.
52
51
-**Assert what users actually see** — verify colors, highlights, layout, and rendered state, not just whether a DOM node exists.
53
-
-**Two ways to test** — add Midscene to your [Playwright](https://midscenejs.com/integrate-with-playwright) / Vitest suite, or let an AI agent test autonomously via [Skills](https://midscenejs.com/skills) and [MCP](https://midscenejs.com/mcp).
52
+
-**Two ways to test** — add Midscene to your [Playwright](https://midscenejs.com/integrate-with-playwright) / Vitest suite, or let an AI agent test autonomously via [Skills](https://midscenejs.com/skills).
54
53
55
54
Midscene is built for UI testing first, but the same vision-driven engine handles any UI automation task.
56
55
57
56
## 💡 What you can automate
58
57
59
-
Midscene works anywhere you can take a screenshot — web browsers, Android, iOS, HarmonyOS, desktop apps, and [any custom interface](https://midscenejs.com/integrate-with-any-interface) — all through one API. Write automation with the JavaScript SDK or in YAML, hand it to AI agents via [Skills](https://midscenejs.com/skills) and [MCP](https://midscenejs.com/mcp), and look up every method (`aiAct`, `aiQuery`, `aiAssert`, and more) in the [API reference](https://midscenejs.com/api).
58
+
Midscene works anywhere you can take a screenshot — web browsers, Android, iOS, HarmonyOS, desktop apps, and [any custom interface](https://midscenejs.com/integrate-with-any-interface) — all through one API. Write automation with the JavaScript SDK or in YAML, hand it to AI agents via [Skills](https://midscenejs.com/skills), and look up every method (`aiAct`, `aiQuery`, `aiAssert`, and more) in the [API reference](https://midscenejs.com/api).
Copy file name to clipboardExpand all lines: apps/site/docs/en/api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ All agents share these base options:
39
39
- For mobile devices, setting `screenshotShrinkFactor` to 2 can reduce token consumption while maintaining clarity, but it is not recommended to set it higher than 3, as this may cause the image to be too blurry and affect the AI model's understanding.
40
40
- For web pages, if the content is complex or contains a lot of details, it is not recommended to set `screenshotShrinkFactor` to avoid overly blurry screenshots. Additionally, if you want higher clarity for web page screenshots, you can configure Puppeteer or Playwright's `deviceScaleFactor` to 2, which will allow Puppeteer or Playwright to render the page as if it were a high-definition screen.
41
41
42
-
The MCP tools and device CLIs expose these same Agent behavior options per call. In CLIs, convert the camelCase API option to a bare kebab-case flag, such as `waitAfterAction` -> `--wait-after-action`. In MCP calls, keep the camelCase option under the platform namespace, such as `android.waitAfterAction` or `web.waitAfterAction`. See [Configure Agent behavior per call](./mcp#configure-agent-behavior-per-call) for examples.
42
+
The device CLIs expose these same Agent behavior options per call. Convert the camelCase API option to a bare kebab-case flag, such as `waitAfterAction` -> `--wait-after-action`. See [Skills](./skills) for the platform CLI entry points.
Copy file name to clipboardExpand all lines: apps/site/docs/en/changelog.mdx
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,26 @@ Midscene now includes an AndroidWorld benchmark report. With v1.9.5, Midscene ac
14
14
15
15
### Model and Planning Updates
16
16
17
+
-`aiAct` now supports image prompts.
17
18
-`MIDSCENE_MODEL_REASONING_ENABLED` now supports `default`, so Midscene can follow each model family's default thinking behavior.
19
+
- Gemini thinking content and GPT-5 reasoning configuration are now handled more completely.
18
20
-`aiAct` falls back to model planning when a cached plan becomes invalid, and clears the corresponding cache entry.
21
+
- AI request errors now include retry-attempt details, parse failures preserve raw model responses, and parsed locate results are validated before use.
22
+
- Model dumps now expose more model response metadata, including raw choice messages and response model names in usage data.
19
23
- The `deepLocate` search area is now displayed in reports.
20
24
21
25
### Chrome Extension
22
26
23
27
- Chrome extension Bridge mode now supports file upload.
28
+
- Bridge-mode file uploads now honor file chooser accept filters and WSL file paths.
24
29
25
30
### YAML, CLI, and MCP
26
31
32
+
-`1.9.8` is the final Midscene version that includes MCP support. Later versions retire MCP server packages in favor of Skills and the platform CLIs.
33
+
- Platform CLIs now accept agent behavior init args.
27
34
- YAML scripts now support the HarmonyOS target in the CLI, so HarmonyOS automation can be driven through the same script runner workflow as Web, Android, iOS, and Computer. See: [Automate with Scripts in YAML](./automate-with-scripts-in-yaml), [HarmonyOS API](./harmony-api-reference)
28
35
- YAML Web config supports custom HTTP headers for browser automation.
36
+
- YAML Web config supports `downloadPath` for browser downloads.
29
37
- YAML runs now surface real execution errors instead of ending as a silent "not executed" case.
30
38
- YAML batch runs can retry failed cases.
31
39
- Successful YAML runs now print the report path.
@@ -36,13 +44,26 @@ Midscene now includes an AndroidWorld benchmark report. With v1.9.5, Midscene ac
36
44
37
45
### Reports
38
46
47
+
-`recordToReport` now supports custom screenshots.
39
48
- Report exports keep image paths aligned with exported screenshots.
40
49
- Reports include a JSON tree view for inspecting structured task and model data.
50
+
- Report screenshots, labels, playground server origin handling, and context spacing were refined.
51
+
52
+
### Studio and Recorder
53
+
54
+
- Studio recorder descriptions and preview input coalescing were stabilized.
55
+
- Studio now handles invalid model environment configuration more safely.
56
+
- Recorder workflows can generate Markdown replay output.
41
57
42
58
### Android Automation
43
59
44
60
- Android action controls and planning guidance were improved for native mobile automation flows.
45
61
62
+
### Computer Automation
63
+
64
+
- Computer desktop automation now ships Intel packaging.
65
+
- Libnut scrolling now emits one full wheel delta per scroll tick.
66
+
46
67
### Bug Fixes
47
68
48
69
- Fixed `longPress` duration in Web integration being capped at 600ms.
0 commit comments