---
url: /advanced/bdd-style-scripts-with-gherkin.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# BDD-style scripts with Gherkin
> This feature is available starting in Midscene 1.10.
>
> BDD-related capabilities are still in Beta. The API may change in future releases.
Gherkin is a plain-text syntax for describing behavior examples. It is commonly used in BDD (Behavior-Driven Development) workflows. A BDD scenario usually contains three kinds of steps: `Given` describes the precondition, `When` describes the user action, and `Then` describes the expected result.
For example, when you need to test adding a todo item, you can write the case as the following Gherkin script.
```gherkin
Scenario: Add a todo item
Given the todo page is open
When I add a todo item named "Buy milk"
Then the todo list should contain "Buy milk"
```
Longer GUI cases can also be written in one `Scenario`. You can organize the steps by business phase, and each phase can use a group of `Given`, `When`, and `Then`.
```gherkin
Scenario: Place an order with a saved address
Given the shopping cart contains "Midscene Mug"
When I open the cart page
Then the cart should show "Midscene Mug"
And the subtotal should be visible
Given the checkout page is open
When I choose the saved shipping address
Then the shipping address section should show the selected address
Given the payment section is visible
When I choose the saved credit card and submit the order
Then the order confirmation page should be displayed
And the confirmation page should show an order number
```
This style is useful when one business scenario naturally contains several UI phases, such as cart review, shipping selection, payment, and final confirmation.
In AI-driven GUI automation, Gherkin is a natural fit for describing operation cases. It keeps the readability of natural language while providing a stable step structure. This structure also helps models generate more consistent cases.
See the official [Cucumber Gherkin reference](https://cucumber.io/docs/gherkin/reference) for the full Gherkin syntax.
## Supported rules
Midscene supports only a subset of Gherkin. This subset is designed around a single `Scenario`, and is suitable for describing a complete GUI operation flow.
### Step mapping
- `Given`: calls `aiAct`, and prepares the precondition.
- `When`: calls `aiAct`, and performs the user action.
- `Then`: calls `aiAssert`, and verifies the page result.
- `And`, `But`: reuse the previous primary keyword. For example, an `And` after `Then` also calls `aiAssert`.
Keyword matching is case-insensitive. Therefore, `AND`, `and`, and `And` are all recognized.
### Scenario limits
Only one `Scenario:` is supported each time. If the input contains multiple `Scenario:` blocks, Midscene throws an error.
You can also omit `Scenario:` and write the steps directly.
```gherkin
Given the todo page is open
When I add a todo item named "Buy milk"
Then the todo list should contain "Buy milk"
```
### Notes
Midscene splits each Gherkin step into an independent `aiAct` or `aiAssert` call. Each step should be complete, and should clearly describe the target, the action, and the expected result.
Do not depend on omitted information or vague references from previous steps. For example, do not write only "click it" or "check the result". Instead, write the target to click and the result to check.
The following example cannot run correctly. The steps are isolated from each other, so later steps do not know what "it" and "the result" refer to.
```gherkin
Given the todo page is open
When I add a todo item named "Buy milk"
And click it
Then check the result
```
Write it this way instead.
```gherkin
Given the todo page is open
When I add a todo item named "Buy milk"
And I click the "Buy milk" todo item
Then the "Buy milk" todo item should be marked as completed
```
### Not supported
The following Gherkin features are not supported:
- `Feature`
- `Background`
- `Scenario Outline` or `Scenario Template`
- `Examples`
- `Rule`
- data tables
- doc strings
- variable replacement, placeholder expansion, or template syntax
- multiple `Scenario:` blocks in the same input
Midscene does not extend Gherkin into a scripting language. It only reads `Scenario` and step keywords, then passes each step to the Agent.
Loops, conditions, variable replacement, and batch generation should happen before calling Midscene. If you need reusable templates, implement a Gherkin generator in your project. The generator should output the final plain-text `Scenario`, then pass it to `runGherkinScenario`.
## Use in JavaScript
In JavaScript or TypeScript scripts, call `agent.runGherkinScenario()` directly. It receives a Gherkin text string and executes the steps in order.
The following example uses the Playwright fixture to get an Agent.
```ts
import { test } from '@midscene/web/playwright';
test('add a todo item', async ({ page, agentForPage }) => {
await page.goto('http://localhost:3000/todos');
const agent = await agentForPage(page);
await agent.runGherkinScenario(`
Scenario: Add a todo item
Given the todo page is open
When I add a todo item named "Buy milk"
Then the todo list should contain "Buy milk"
And the todo count should be 1
`);
});
```
The second argument accepts runtime options. For example, you can provide temporary context for this run.
```ts
await agent.runGherkinScenario(
`
Scenario: Add a todo item
Given the todo page is open
When I add a todo item named "Buy milk"
Then the todo list should contain "Buy milk"
`,
{
context:
'This is a todo demo app. Use the input box and the add button on the page.',
},
);
```
## Use in YAML
Use the `runGherkinScenario` step in a YAML flow. The value should be a block string containing one scenario.
```yaml
web:
url: http://localhost:3000/todos
tasks:
- name: Add a todo item
flow:
- runGherkinScenario: |
Scenario: Add a todo item
Given the todo page is open
When I add a todo item named "Buy milk"
Then the todo list should contain "Buy milk"
And the todo count should be 1
```
During YAML execution, Midscene runs the scenario step by step. `Given` and `When` steps call `aiAct`, while `Then` and the following `And` step call `aiAssert`.
## Remarks
`runGherkinScenario` disables cache inside the scenario. This means that after `Given` and `When` are mapped to `aiAct`, they do not use the `aiAct` planning cache.
This makes each Gherkin step interpreted from the current page state, and avoids incorrect behavior caused by reusing stale steps.
---
url: /android-world-benchmark-report.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Midscene AndroidWorld Benchmark Report
This is Midscene's test report for the AndroidWorld benchmark. In this run, Midscene achieved **Pass\@1 93.10%**, **Pass\@2 95.69%**, and **Pass\@3 97.41%**.
:::info About AndroidWorld
[AndroidWorld](https://github.com/google-research/android_world) is an Android agent benchmark from Google Research. It runs on a live Android emulator and evaluates agents on 116 programmatic tasks across 20 real-world Android apps, with task initialization and validation handled by the benchmark.
:::
## Run Configuration
| Field | Value |
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Model Name | `Gemini-3.5-Flash` |
| Midscene version | `1.9.5` |
| DeepThink | on |
| `MIDSCENE_REPLANNING_CYCLE_LIMIT` | 120 |
| AndroidWorld setup | Stability fixes were applied to the AndroidWorld project to reduce flaky benchmark runs. See examples below. |
| Validation notes | A small number of AndroidWorld validators were aligned with the task intent. The affected cases are listed below. |
## Stability Improvements
The following changes did not change the task intent. They made benchmark execution more stable by reducing browser rendering races, stale accessibility reads, and setup timing issues.
| Change | Affected cases |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Force canvas pixels to flush after drawing, then use thicker rounded strokes so target colors remain stable in the final canvas pixels. | `BrowserDraw` |
| Retry reading the `Success!` text from the accessibility tree after browser tasks finish. | `BrowserMaze`
`BrowserMultiply`
`BrowserDraw` |
| Before SMS tasks start, prepare the required incoming messages and contacts; now verify those messages are visible in the inbox and those contacts are visible in Contacts before the agent runs. | `SimpleSmsReplyMostRecent`
`SimpleSmsSendReceivedAddress` |
| Wait for Pro Expense to create its database tables before validators write test data. | `ExpenseAddMultiple`
`ExpenseAddMultipleFromGallery`
`ExpenseAddMultipleFromMarkor`
`ExpenseAddSingle`
`ExpenseDeleteDuplicates`
`ExpenseDeleteDuplicates2`
`ExpenseDeleteMultiple`
`ExpenseDeleteMultiple2`
`ExpenseDeleteSingle` |
| Preload OsmAnd offline map files into the app data directory and wait for OsmAnd to extract its built-in basemap before map tasks run. | `OsmAndFavorite`
`OsmAndMarker`
`OsmAndTrack` |
## Validation Condition Updates
The following AndroidWorld validation checks were changed on the `main` branch used for this benchmark:
| Change | Affected cases |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Calendar "after start time" now validates against an event one minute after the boundary, avoiding ambiguity across models about whether `after` includes the boundary time. | `SimpleCalendarFirstEventAfterStartTime` |
| Expense notes imported from Markor accept the extra `Reimbursable.` suffix that Markor can include; note comparison ignores that suffix and terminal period differences. | `ExpenseAddMultipleFromMarkor` |
| Markor merged notes accept either single-newline or blank-line separation, and also accept Markor's default `.md` extension when it is auto-added. | `MarkorMergeNotes` |
| Recipe quantity fields allow omitted units while still rejecting wrong amounts or incompatible units. | `RecipeAddSingleRecipe`
`RecipeAddMultipleRecipes`
`RecipeAddMultipleRecipesFromMarkor`
`RecipeAddMultipleRecipesFromMarkor2`
`RecipeAddMultipleRecipesFromImage`
`NotesRecipeIngredientCount` |
| Minimum brightness is validated against Android's actual minimum setting value, `0`, instead of `1`. | `SystemBrightnessMin`
`SystemBrightnessMinVerify` |
## Report Files
Detailed reports are listed below for reference.
Round 1 (115 reports · 108 PASS · 7 FAIL)
| # | Task | Status | Report |
| --- | ------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | AudioRecorderRecordAudio | PASS | report |
| 2 | AudioRecorderRecordAudioWithFileName | PASS | report |
| 3 | BrowserDraw | PASS | report |
| 4 | BrowserMaze | PASS | report |
| 5 | BrowserMultiply | PASS | report |
| 6 | CameraTakePhoto | PASS | report |
| 7 | CameraTakeVideo | PASS | report |
| 8 | ClockStopWatchPausedVerify | PASS | report |
| 9 | ClockStopWatchRunning | PASS | report |
| 10 | ClockTimerEntry | PASS | report |
| 11 | ContactsAddContact | PASS | report |
| 12 | ContactsNewContactDraft | PASS | report |
| 13 | ExpenseAddMultiple | PASS | report |
| 14 | ExpenseAddMultipleFromGallery | PASS | report |
| 15 | ExpenseAddMultipleFromMarkor | FAIL | report |
| 16 | ExpenseAddSingle | PASS | report |
| 17 | ExpenseDeleteDuplicates | PASS | report |
| 18 | ExpenseDeleteDuplicates2 | PASS | report |
| 19 | ExpenseDeleteMultiple | PASS | report |
| 20 | ExpenseDeleteMultiple2 | PASS | report |
| 21 | ExpenseDeleteSingle | PASS | report |
| 22 | FilesDeleteFile | PASS | report |
| 23 | FilesMoveFile | PASS | report |
| 24 | MarkorAddNoteHeader | PASS | report |
| 25 | MarkorChangeNoteContent | PASS | report |
| 26 | MarkorCreateFolder | PASS | report |
| 27 | MarkorCreateNote | PASS | report |
| 28 | MarkorCreateNoteAndSms | PASS | report |
| 29 | MarkorCreateNoteFromClipboard | PASS | report |
| 30 | MarkorDeleteAllNotes | PASS | report |
| 31 | MarkorDeleteNewestNote | PASS | report |
| 32 | MarkorDeleteNote | PASS | report |
| 33 | MarkorEditNote | PASS | report |
| 34 | MarkorMergeNotes | PASS | report |
| 35 | MarkorMoveNote | PASS | report |
| 36 | MarkorTranscribeReceipt | PASS | report |
| 37 | MarkorTranscribeVideo | FAIL | report |
| 38 | OpenAppTaskEval | PASS | report |
| 39 | OsmAndFavorite | PASS | report |
| 40 | OsmAndMarker | FAIL | report |
| 42 | RecipeAddMultipleRecipes | PASS | report |
| 43 | RecipeAddMultipleRecipesFromImage | FAIL | report |
| 44 | RecipeAddMultipleRecipesFromMarkor | PASS | report |
| 45 | RecipeAddMultipleRecipesFromMarkor2 | PASS | report |
| 46 | RecipeAddSingleRecipe | PASS | report |
| 47 | RecipeDeleteDuplicateRecipes | PASS | report |
| 48 | RecipeDeleteDuplicateRecipes2 | FAIL | report |
| 49 | RecipeDeleteDuplicateRecipes3 | FAIL | report |
| 50 | RecipeDeleteMultipleRecipes | PASS | report |
| 51 | RecipeDeleteMultipleRecipesWithConstraint | PASS | report |
| 52 | RecipeDeleteMultipleRecipesWithNoise | PASS | report |
| 53 | RecipeDeleteSingleRecipe | PASS | report |
| 54 | RecipeDeleteSingleWithRecipeWithNoise | PASS | report |
| 55 | RetroCreatePlaylist | PASS | report |
| 56 | RetroPlayingQueue | PASS | report |
| 57 | RetroPlaylistDuration | PASS | report |
| 58 | RetroSavePlaylist | PASS | report |
| 59 | SaveCopyOfReceiptTaskEval | PASS | report |
| 60 | SimpleCalendarAddOneEvent | PASS | report |
| 61 | SimpleCalendarAddOneEventInTwoWeeks | PASS | report |
| 62 | SimpleCalendarAddOneEventRelativeDay | PASS | report |
| 63 | SimpleCalendarAddOneEventTomorrow | PASS | report |
| 64 | SimpleCalendarAddRepeatingEvent | PASS | report |
| 65 | SimpleCalendarDeleteEvents | PASS | report |
| 66 | SimpleCalendarDeleteEventsOnRelativeDay | PASS | report |
| 67 | SimpleCalendarDeleteOneEvent | PASS | report |
| 68 | SimpleDrawProCreateDrawing | PASS | report |
| 69 | SimpleSmsReply | PASS | report |
| 70 | SimpleSmsReplyMostRecent | PASS | report |
| 71 | SimpleSmsResend | PASS | report |
| 72 | SimpleSmsSend | PASS | report |
| 73 | SimpleSmsSendClipboardContent | PASS | report |
| 74 | SimpleSmsSendReceivedAddress | PASS | report |
| 75 | SystemBluetoothTurnOff | PASS | report |
| 76 | SystemBluetoothTurnOffVerify | PASS | report |
| 77 | SystemBluetoothTurnOn | PASS | report |
| 78 | SystemBluetoothTurnOnVerify | PASS | report |
| 79 | SystemBrightnessMax | PASS | report |
| 80 | SystemBrightnessMaxVerify | PASS | report |
| 81 | SystemBrightnessMin | PASS | report |
| 82 | SystemBrightnessMinVerify | PASS | report |
| 83 | SystemCopyToClipboard | FAIL | report |
| 84 | SystemWifiTurnOff | PASS | report |
| 85 | SystemWifiTurnOffVerify | PASS | report |
| 86 | SystemWifiTurnOn | PASS | report |
| 87 | SystemWifiTurnOnVerify | PASS | report |
| 88 | TurnOffWifiAndTurnOnBluetooth | PASS | report |
| 89 | TurnOnWifiAndOpenApp | PASS | report |
| 90 | VlcCreatePlaylist | PASS | report |
| 91 | VlcCreateTwoPlaylists | PASS | report |
| 92 | NotesIsTodo | PASS | report |
| 93 | NotesMeetingAttendeeCount | PASS | report |
| 94 | NotesRecipeIngredientCount | PASS | report |
| 95 | NotesTodoItemCount | PASS | report |
| 96 | SimpleCalendarAnyEventsOnDate | PASS | report |
| 97 | SimpleCalendarEventOnDateAtTime | PASS | report |
| 98 | SimpleCalendarEventsInNextWeek | PASS | report |
| 99 | SimpleCalendarEventsInTimeRange | PASS | report |
| 100 | SimpleCalendarEventsOnDate | PASS | report |
| 101 | SimpleCalendarFirstEventAfterStartTime | PASS | report |
| 102 | SimpleCalendarLocationOfEvent | PASS | report |
| 103 | SimpleCalendarNextEvent | PASS | report |
| 104 | SimpleCalendarNextMeetingWithPerson | PASS | report |
| 105 | SportsTrackerActivitiesCountForWeek | PASS | report |
| 106 | SportsTrackerActivitiesOnDate | PASS | report |
| 107 | SportsTrackerActivityDuration | PASS | report |
| 108 | SportsTrackerLongestDistanceActivity | PASS | report |
| 109 | SportsTrackerTotalDistanceForCategoryOverInterval | PASS | report |
| 110 | SportsTrackerTotalDurationForCategoryThisWeek | PASS | report |
| 111 | TasksCompletedTasksForDate | PASS | report |
| 112 | TasksDueNextWeek | PASS | report |
| 113 | TasksDueOnDate | PASS | report |
| 114 | TasksHighPriorityTasks | PASS | report |
| 115 | TasksHighPriorityTasksDueOnDate | PASS | report |
| 116 | TasksIncompleteTasksOnDate | PASS | report |
Round 2 (7 reports · 3 PASS · 4 FAIL)
| # | Task | Status | Report |
| -- | --------------------------------- | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 37 | MarkorTranscribeVideo | FAIL | report |
| 40 | OsmAndMarker | FAIL | report |
| 41 | OsmAndTrack | PASS | report |
| 43 | RecipeAddMultipleRecipesFromImage | PASS | report |
| 48 | RecipeDeleteDuplicateRecipes2 | FAIL | report |
| 49 | RecipeDeleteDuplicateRecipes3 | FAIL | report |
| 83 | SystemCopyToClipboard | PASS | report |
Round 3 (5 reports · 2 PASS · 3 FAIL)
| # | Task | Status | Report |
| -- | ----------------------------- | -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 15 | ExpenseAddMultipleFromMarkor | PASS | report |
| 37 | MarkorTranscribeVideo | FAIL | report |
| 40 | OsmAndMarker | PASS | report |
| 48 | RecipeDeleteDuplicateRecipes2 | FAIL | report |
| 49 | RecipeDeleteDuplicateRecipes3 | FAIL | report |
---
url: /app-control-bench-report.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Midscene AppControlBench Benchmark Report
This is Midscene's benchmark report for AppControlBench. In this evaluation, each model ran the same set of 60 tasks, with the following results:
| Model | Completion | Time / run | Cost / run | Task outcomes |
| --- | --- | --- | --- | --- |
| Doubao Seed 2.1 Turbo | 98% | 52s | $0.0099/¥0.0670 | Pass@1: 96.67% · Pass: 58 · Partial: 1 · Fail: 1 |
| Qwen3.7 Plus | 97% | 54s | $0.0097/¥0.0657 | Pass@1: 93.33% · Pass: 56 · Partial: 4 · Fail: 0 |
| DeepSeek V4 Flash Vision Exp | 90% | 1m 26s | $0.0045/¥0.0308 | Pass@1: 86.67% · Pass: 52 · Partial: 4 · Fail: 4 |
> Note: Doubao Seed 2.1 Turbo costs use [Volcengine's official pricing](https://ark.volcengine.com/region:cn-beijing/model/detail?name=doubao-seed-2-1-turbo): CNY ¥3 / M input tokens, ¥0.6 / M cached input tokens, and ¥15 / M output tokens. Other model costs use OpenRouter pricing. USD values use ¥6.8 per $1.
**The results show that the Midscene + GUI vision approach is highly competitive in both cost and pass rate.**


:::info About AppControlBench
[AppControlBench](https://github.com/software-mansion/app-control-bench) evaluates how well an Agent can operate real iOS apps in isolated Simulator runs. The final screenshot is graded against a task-specific solved-screen description. Each run covers 30 Bluesky tasks and 30 Element iOS tasks.
:::
## Run configuration
| Field | Value |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Test date | 2026-08-25 to 2026-08-27 |
| Model Name | Doubao Seed 2.1 Turbo, Qwen3.7 Plus, DeepSeek V4 Flash Vision Exp |
| Midscene version | `1.12.0` |
| DeepThink | off |
| Device | iOS Simulator |
| Bluesky version | `1.122.0` |
| Element iOS version | `1.11.40` |
| Number of tasks | 60 per model |
| AppControlBench project | The Midscene adapter delegated Agent execution to `@midscene/ios` while AppControlBench retained task reset, Simulator lifecycle, final screenshot capture, and grading. |
| Evaluation rules | The original target states and judge rules were retained; the action intent for 1 case was calibrated. |
## Case Intent Calibration
For this evaluation, the action-route description of 1 case was calibrated against the actual UI of the pinned Element iOS version. The calibration only removes a stale or unavailable UI-entry description; it does not change the final target state or judge rules of the case.
| Case | Before | After | Reason for change |
| ------------ | ----------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `element-07` | Open the "Project Phoenix" room and open its room-options menu (the '...' in the header). | Open the "Project Phoenix" room info/options screen. | The pinned Element iOS version does not provide a header `...`; only the action route was calibrated, while the target state and judge rules remain unchanged. |
## Report files
Doubao Seed 2.1 Turbo · Pass@1 96.67% · 58 PASS · 1 PARTIAL · 1 FAIL
| # | Task | Status | Model Cost | Report |
| --- | --- | --- | --- | --- |
| 1 | bsky-01 | PASS | $0.0038/¥0.0259 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-1-bsky-01__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 2 | bsky-02 | PASS | $0.0038/¥0.0259 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-2-bsky-02__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 3 | bsky-03 | PASS | $0.0079/¥0.0537 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-3-bsky-03__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 4 | bsky-04 | PASS | $0.0060/¥0.0405 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-4-bsky-04__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 5 | bsky-05 | PASS | $0.0039/¥0.0263 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-5-bsky-05__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 6 | bsky-06 | PASS | $0.0040/¥0.0272 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-6-bsky-06__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 7 | bsky-07 | PASS | $0.0039/¥0.0268 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-7-bsky-07__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 8 | bsky-08 | PASS | $0.0130/¥0.0884 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-8-bsky-08__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 9 | bsky-09 | PASS | $0.0081/¥0.0552 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-9-bsky-09__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 10 | bsky-10 | PASS | $0.0060/¥0.0410 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-10-bsky-10__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 11 | bsky-11 | PASS | $0.0038/¥0.0256 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-11-bsky-11__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 12 | bsky-12 | PASS | $0.0038/¥0.0258 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-12-bsky-12__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 13 | bsky-13 | PASS | $0.0038/¥0.0259 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-13-bsky-13__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 14 | bsky-14 | PASS | $0.0104/¥0.0704 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-14-bsky-14__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 15 | bsky-15 | PASS | $0.0104/¥0.0706 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-15-bsky-15__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 16 | bsky-16 | PASS | $0.0240/¥0.1631 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-16-bsky-16__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 17 | bsky-17 | PASS | $0.0059/¥0.0399 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-17-bsky-17__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 18 | bsky-18 | PASS | $0.0038/¥0.0255 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-18-bsky-18__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 19 | bsky-19 | PASS | $0.0080/¥0.0545 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-19-bsky-19__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 20 | bsky-20 | PASS | $0.0080/¥0.0547 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-20-bsky-20__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 21 | bsky-21 | PASS | $0.0059/¥0.0399 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-21-bsky-21__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 22 | bsky-22 | PASS | $0.0037/¥0.0254 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-22-bsky-22__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 23 | bsky-23 | PASS | $0.0058/¥0.0394 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-23-bsky-23__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 24 | bsky-24 | PASS | $0.0082/¥0.0554 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-24-bsky-24__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 25 | bsky-25 | FAIL | $0.0079/¥0.0535 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-25-bsky-25__group-0-39e22f33-4039-4891-854c-009333ade66f-Fail.html) |
| 26 | bsky-26 | PASS | $0.0152/¥0.1030 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-26-bsky-26__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 27 | bsky-27 | PASS | $0.0174/¥0.1183 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-27-bsky-27__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 28 | bsky-28 | PASS | $0.0080/¥0.0542 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-28-bsky-28__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 29 | bsky-29 | PASS | $0.0080/¥0.0541 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-29-bsky-29__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 30 | bsky-30 | PASS | $0.0106/¥0.0723 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-30-bsky-30__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 31 | element-01 | PASS | $0.0037/¥0.0252 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-31-element-01__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 32 | element-02 | PASS | $0.0038/¥0.0259 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-32-element-02__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 33 | element-03 | PASS | $0.0101/¥0.0686 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-33-element-03__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 34 | element-04 | PASS | $0.0057/¥0.0390 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-34-element-04__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 35 | element-05 | PASS | $0.0066/¥0.0447 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-35-element-05__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 36 | element-06 | PARTIAL | $0.0988/¥0.6720 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-36-element-06__group-0-39e22f33-4039-4891-854c-009333ade66f-Partial.html) |
| 37 | element-07 | PASS | $0.0059/¥0.0400 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-37-element-07__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 38 | element-08 | PASS | $0.0103/¥0.0700 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-38-element-08__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 39 | element-09 | PASS | $0.0040/¥0.0275 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-39-element-09__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 40 | element-10 | PASS | $0.0187/¥0.1272 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-40-element-10__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 41 | element-11 | PASS | $0.0068/¥0.0460 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-41-element-11__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 42 | element-12 | PASS | $0.0059/¥0.0404 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-42-element-12__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 43 | element-13 | PASS | $0.0106/¥0.0724 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-43-element-13__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 44 | element-14 | PASS | $0.0060/¥0.0410 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-44-element-14__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 45 | element-15 | PASS | $0.0081/¥0.0554 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-45-element-15__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 46 | element-16 | PASS | $0.0083/¥0.0567 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-46-element-16__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 47 | element-17 | PASS | $0.0080/¥0.0543 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-47-element-17__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 48 | element-18 | PASS | $0.0105/¥0.0714 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-48-element-18__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 49 | element-19 | PASS | $0.0182/¥0.1240 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-49-element-19__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 50 | element-20 | PASS | $0.0038/¥0.0256 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-50-element-20__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 51 | element-21 | PASS | $0.0119/¥0.0810 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-51-element-21__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 52 | element-22 | PASS | $0.0156/¥0.1062 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-52-element-22__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 53 | element-23 | PASS | $0.0081/¥0.0550 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-53-element-23__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 54 | element-24 | PASS | $0.0129/¥0.0880 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-54-element-24__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 55 | element-25 | PASS | $0.0059/¥0.0404 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-55-element-25__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 56 | element-26 | PASS | $0.0038/¥0.0257 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-56-element-26__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 57 | element-27 | PASS | $0.0160/¥0.1087 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-57-element-27__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 58 | element-28 | PASS | $0.0100/¥0.0683 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-58-element-28__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 59 | element-29 | PASS | $0.0102/¥0.0693 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-59-element-29__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
| 60 | element-30 | PASS | $0.0100/¥0.0680 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/doubao-20260825/Task-60-element-30__group-0-39e22f33-4039-4891-854c-009333ade66f-Pass.html) |
Qwen3.7 Plus · Pass@1 93.33% · 56 PASS · 4 PARTIAL · 0 FAIL
| # | Task | Status | Model Cost | Report |
| --- | --- | --- | --- | --- |
| 1 | bsky-01 | PASS | $0.0073/¥0.0497 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-1-bsky-01__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 2 | bsky-02 | PASS | $0.0074/¥0.0501 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-2-bsky-02__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 3 | bsky-03 | PASS | $0.0108/¥0.0736 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-3-bsky-03__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 4 | bsky-04 | PASS | $0.0092/¥0.0624 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-4-bsky-04__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 5 | bsky-05 | PASS | $0.0053/¥0.0362 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-5-bsky-05__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 6 | bsky-06 | PASS | $0.0075/¥0.0507 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-6-bsky-06__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 7 | bsky-07 | PASS | $0.0075/¥0.0507 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-7-bsky-07__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 8 | bsky-08 | PASS | $0.0170/¥0.1155 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-8-bsky-08__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 9 | bsky-09 | PASS | $0.0110/¥0.0746 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-9-bsky-09__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 10 | bsky-10 | PASS | $0.0111/¥0.0756 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-10-bsky-10__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 11 | bsky-11 | PASS | $0.0053/¥0.0360 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-11-bsky-11__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 12 | bsky-12 | PASS | $0.0053/¥0.0357 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-12-bsky-12__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 13 | bsky-13 | PASS | $0.0054/¥0.0365 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-13-bsky-13__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 14 | bsky-14 | PASS | $0.0086/¥0.0585 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-14-bsky-14__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 15 | bsky-15 | PASS | $0.0107/¥0.0724 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-15-bsky-15__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 16 | bsky-16 | PARTIAL | $0.0196/¥0.1332 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-16-bsky-16__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Partial.html) |
| 17 | bsky-17 | PASS | $0.0050/¥0.0342 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-17-bsky-17__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 18 | bsky-18 | PASS | $0.0033/¥0.0224 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-18-bsky-18__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 19 | bsky-19 | PASS | $0.0067/¥0.0457 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-19-bsky-19__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 20 | bsky-20 | PASS | $0.0068/¥0.0460 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-20-bsky-20__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 21 | bsky-21 | PASS | $0.0049/¥0.0335 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-21-bsky-21__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 22 | bsky-22 | PASS | $0.0032/¥0.0219 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-22-bsky-22__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 23 | bsky-23 | PASS | $0.0050/¥0.0340 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-23-bsky-23__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 24 | bsky-24 | PASS | $0.0069/¥0.0469 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-24-bsky-24__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 25 | bsky-25 | PARTIAL | $0.0068/¥0.0463 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-25-bsky-25__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Partial.html) |
| 26 | bsky-26 | PASS | $0.0125/¥0.0849 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-26-bsky-26__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 27 | bsky-27 | PASS | $0.0145/¥0.0988 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-27-bsky-27__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 28 | bsky-28 | PASS | $0.0068/¥0.0461 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-28-bsky-28__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 29 | bsky-29 | PASS | $0.0068/¥0.0462 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-29-bsky-29__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 30 | bsky-30 | PASS | $0.0171/¥0.1160 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-30-bsky-30__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 31 | element-01 | PASS | $0.0052/¥0.0356 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-31-element-01__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 32 | element-02 | PASS | $0.0032/¥0.0214 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-32-element-02__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 33 | element-03 | PASS | $0.0087/¥0.0593 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-33-element-03__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 34 | element-04 | PASS | $0.0048/¥0.0326 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-34-element-04__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 35 | element-05 | PASS | $0.0107/¥0.0727 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-35-element-05__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 36 | element-06 | PARTIAL | $0.0640/¥0.4355 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-36-element-06__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Partial.html) |
| 37 | element-07 | PASS | $0.0088/¥0.0600 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-37-element-07__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 38 | element-08 | PASS | $0.0086/¥0.0582 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-38-element-08__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 39 | element-09 | PASS | $0.0032/¥0.0217 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-39-element-09__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 40 | element-10 | PASS | $0.0234/¥0.1593 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-40-element-10__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 41 | element-11 | PASS | $0.0050/¥0.0341 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-41-element-11__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 42 | element-12 | PASS | $0.0050/¥0.0338 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-42-element-12__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 43 | element-13 | PASS | $0.0070/¥0.0474 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-43-element-13__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 44 | element-14 | PASS | $0.0051/¥0.0345 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-44-element-14__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 45 | element-15 | PASS | $0.0068/¥0.0461 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-45-element-15__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 46 | element-16 | PARTIAL | $0.0346/¥0.2352 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-46-element-16__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Partial.html) |
| 47 | element-17 | PASS | $0.0206/¥0.1403 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-47-element-17__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 48 | element-18 | PASS | $0.0112/¥0.0761 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-48-element-18__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 49 | element-19 | PASS | $0.0108/¥0.0738 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-49-element-19__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 50 | element-20 | PASS | $0.0032/¥0.0219 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-50-element-20__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 51 | element-21 | PASS | $0.0033/¥0.0222 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-51-element-21__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 52 | element-22 | PASS | $0.0128/¥0.0872 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-52-element-22__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 53 | element-23 | PASS | $0.0069/¥0.0466 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-53-element-23__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 54 | element-24 | PASS | $0.0109/¥0.0739 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-54-element-24__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 55 | element-25 | PASS | $0.0050/¥0.0341 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-55-element-25__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 56 | element-26 | PASS | $0.0033/¥0.0224 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-56-element-26__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 57 | element-27 | PASS | $0.0051/¥0.0344 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-57-element-27__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 58 | element-28 | PASS | $0.0106/¥0.0723 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-58-element-28__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 59 | element-29 | PASS | $0.0087/¥0.0588 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-59-element-29__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
| 60 | element-30 | PASS | $0.0087/¥0.0590 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/qwen-20260825/Task-60-element-30__group-0-2f618b11-f26d-4aeb-b861-02f7ee9795fd-Pass.html) |
DeepSeek V4 Flash Vision Exp · Pass@1 86.67% · 52 PASS · 4 PARTIAL · 4 FAIL
| # | Task | Status | Model Cost | Report |
| --- | --- | --- | --- | --- |
| 1 | bsky-01 | PASS | $0.0005/¥0.0035 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-1-bsky-01__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 2 | bsky-02 | PASS | $0.0005/¥0.0035 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-2-bsky-02__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 3 | bsky-03 | PASS | $0.0015/¥0.0100 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-3-bsky-03__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 4 | bsky-04 | PASS | $0.0009/¥0.0062 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-4-bsky-04__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 5 | bsky-05 | PASS | $0.0005/¥0.0037 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-5-bsky-05__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 6 | bsky-06 | PASS | $0.0021/¥0.0144 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-6-bsky-06__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 7 | bsky-07 | PASS | $0.0010/¥0.0066 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-7-bsky-07__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 8 | bsky-08 | PASS | $0.0019/¥0.0128 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-8-bsky-08__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 9 | bsky-09 | FAIL | $0.0155/¥0.1055 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-9-bsky-09__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Fail.html) |
| 10 | bsky-10 | PASS | $0.0018/¥0.0121 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-10-bsky-10__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 11 | bsky-11 | PASS | $0.0011/¥0.0077 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-11-bsky-11__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 12 | bsky-12 | PASS | $0.0011/¥0.0073 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-12-bsky-12__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 13 | bsky-13 | PASS | $0.0012/¥0.0082 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-13-bsky-13__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 14 | bsky-14 | PASS | $0.0029/¥0.0200 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-14-bsky-14__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 15 | bsky-15 | PASS | $0.0012/¥0.0081 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-15-bsky-15__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 16 | bsky-16 | PARTIAL | $0.0160/¥0.1085 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-16-bsky-16__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Partial.html) |
| 17 | bsky-17 | PASS | $0.0017/¥0.0114 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-17-bsky-17__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 18 | bsky-18 | PASS | $0.0011/¥0.0078 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-18-bsky-18__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 19 | bsky-19 | PASS | $0.0025/¥0.0168 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-19-bsky-19__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 20 | bsky-20 | PASS | $0.0022/¥0.0152 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-20-bsky-20__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 21 | bsky-21 | PASS | $0.0023/¥0.0156 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-21-bsky-21__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 22 | bsky-22 | PASS | $0.0011/¥0.0074 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-22-bsky-22__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 23 | bsky-23 | PASS | $0.0017/¥0.0119 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-23-bsky-23__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 24 | bsky-24 | PARTIAL | $0.0072/¥0.0493 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-24-bsky-24__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Partial.html) |
| 25 | bsky-25 | PASS | $0.0029/¥0.0199 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-25-bsky-25__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 26 | bsky-26 | PASS | $0.0025/¥0.0171 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-26-bsky-26__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 27 | bsky-27 | PASS | $0.0034/¥0.0231 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-27-bsky-27__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 28 | bsky-28 | PASS | $0.0023/¥0.0157 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-28-bsky-28__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 29 | bsky-29 | PASS | $0.0023/¥0.0159 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-29-bsky-29__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 30 | bsky-30 | FAIL | $0.0290/¥0.1970 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-30-bsky-30__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Fail.html) |
| 31 | element-01 | PASS | $0.0010/¥0.0069 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-31-element-01__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 32 | element-02 | PASS | $0.0010/¥0.0071 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-32-element-02__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 33 | element-03 | PASS | $0.0030/¥0.0201 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-33-element-03__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 34 | element-04 | PASS | $0.0038/¥0.0256 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-34-element-04__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 35 | element-05 | PASS | $0.0018/¥0.0122 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-35-element-05__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 36 | element-06 | FAIL | $0.0232/¥0.1575 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-36-element-06__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Fail.html) |
| 37 | element-07 | PASS | $0.0019/¥0.0127 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-37-element-07__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 38 | element-08 | PASS | $0.0028/¥0.0193 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-38-element-08__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 39 | element-09 | PASS | $0.0011/¥0.0077 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-39-element-09__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 40 | element-10 | PASS | $0.0024/¥0.0161 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-40-element-10__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 41 | element-11 | PASS | $0.0019/¥0.0131 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-41-element-11__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 42 | element-12 | PASS | $0.0019/¥0.0130 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-42-element-12__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 43 | element-13 | PASS | $0.0026/¥0.0176 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-43-element-13__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 44 | element-14 | PASS | $0.0020/¥0.0139 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-44-element-14__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 45 | element-15 | PASS | $0.0010/¥0.0067 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-45-element-15__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 46 | element-16 | PARTIAL | $0.0549/¥0.3734 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-46-element-16__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Partial.html) |
| 47 | element-17 | PASS | $0.0026/¥0.0178 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-47-element-17__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 48 | element-18 | PASS | $0.0027/¥0.0182 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-48-element-18__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 49 | element-19 | PARTIAL | $0.0106/¥0.0723 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-49-element-19__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Partial.html) |
| 50 | element-20 | PASS | $0.0011/¥0.0075 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-50-element-20__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 51 | element-21 | FAIL | $0.0236/¥0.1604 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-51-element-21__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Fail.html) |
| 52 | element-22 | PASS | $0.0024/¥0.0160 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-52-element-22__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 53 | element-23 | PASS | $0.0014/¥0.0094 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-53-element-23__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 54 | element-24 | PASS | $0.0020/¥0.0138 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-54-element-24__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 55 | element-25 | PASS | $0.0009/¥0.0059 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-55-element-25__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 56 | element-26 | PASS | $0.0006/¥0.0039 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-56-element-26__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 57 | element-27 | PASS | $0.0010/¥0.0065 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-57-element-27__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 58 | element-28 | PASS | $0.0016/¥0.0107 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-58-element-28__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 59 | element-29 | PASS | $0.0016/¥0.0107 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-59-element-29__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
| 60 | element-30 | PASS | $0.0016/¥0.0107 | [report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/benchmark/AppControlBench/deepseek-20260825/Task-60-element-30__group-0-7d8b44f7-2b52-4211-a922-746938a7509a-Pass.html) |
---
url: /automate-with-scripts-in-yaml.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Automate with scripts in YAML
:::info Compatibility remains; migrate to Midscene Test for new work
“Legacy YAML” specifically means the YAML automation protocol provided by `@midscene/cli`: a workflow uses top-level `tasks`, each task contains `flow`, platform and Agent runtime configuration commonly lives in YAML, and execution uses the `midscene` command or YAML batch configuration with fields such as `files`, `setup`, and `concurrent`.
The legacy path is now in maintenance mode. Existing projects remain compatible and necessary issues will be fixed, but it will not receive new syntax, capabilities, configuration fields, or CLI options. Existing cases, batch configuration, directory layout, and the `midscene` command can remain unchanged. Upgraded versions execute them through the shared kernel and generate the new Test report page. Use Midscene Test for new projects, new cases, and future capability development.
Run legacy files and YAML batch configuration with `midscene`; run native `cases/steps` files and TypeScript project configuration with `midscene-test`. The two formats may live in separate directories in one repository, but a file or command invocation must not mix them. Start with [Midscene Test overview](/midscene-test/overview.md), then follow [Migrate to Midscene Test](/migrate-to-midscene-test.md) to convert fields and switch commands.
:::
In most cases, developers write automation scripts just to perform some smoke tests, like checking for the appearance of certain content or verifying that a key user path is accessible. In such situations, maintaining a large test project is unnecessary.
Midscene offers a way to perform automation using `.yaml` files, which helps you focus on the script itself rather than the testing framework. This allows any team member to write automation scripts without needing to learn any API.
Here is an example. By reading its content, you should be able to understand how it works.
```yaml
page:
url: https://www.bing.com
tasks:
- name: Search for weather
flow:
- ai: Search for "today's weather"
- sleep: 3000
- name: Check results
flow:
- aiAssert: The results show weather information
```
:::info Sample Project
You can find a sample project that uses YAML scripts for automation here:
- [Web](https://github.com/web-infra-dev/midscene-example/tree/main/yaml-scripts-demo)
- [Android](https://github.com/web-infra-dev/midscene-example/tree/main/android/yaml-scripts-demo)
- [Computer (Mac/Windows/Linux)](https://github.com/web-infra-dev/midscene-example/tree/main/computer/yaml-scripts-demo)
:::
## Set up API keys for model
The following example uses `qwen3.7-plus` through Alibaba Cloud:
```bash
export MIDSCENE_MODEL_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
export MIDSCENE_MODEL_API_KEY="your-api-key"
export MIDSCENE_MODEL_NAME="qwen3.7-plus"
export MIDSCENE_MODEL_FAMILY="qwen3"
```
Replace `your-api-key` with your API Key.
> To use another model, such as Doubao, GLM, Gemini, or GPT-5, see [Use a model API key](/model-api-setup.md).
For all configuration options, see [Model configuration](/model-config.md).
To execute YAML workflows from the command line, install the Midscene CLI. See [YAML script runner](/yaml-script-runner.md) for installation guidance, `.env` usage, and details on the `midscene` runner.
## Script file structure
Script files use YAML format to describe automation tasks. It defines the target to be manipulated (like a webpage or an Android app) and the series of steps to perform.
A standard `.yaml` script file includes a `page`, `browser`, `web`, `android`, `ios`, `harmony`, or `computer` section to configure the environment, an optional `agent` section to configure AI agent behavior, and a `tasks` section to define the automation tasks.
```yaml
page:
url: https://www.bing.com
# The tasks section defines the series of steps to be executed
tasks:
- name: Search for weather
flow:
- ai: Search for "today's weather"
- sleep: 3000
- aiAssert: The results show weather information
```
Use `page:` for a page-level Agent. Use `browser:` when one Agent should manage a browser and its active page. `web:` remains supported as a compatibility entry; `web.mode: browser` maps to BrowserAgent and plain `web:` maps to PageAgent. Do not combine `page`, `browser`, `web`, or the deprecated `target` in the same script.
### The `agent` part
The `agent` section configures AI agent behavior and test report options. All fields are optional.
```yaml
# AI agent configuration
agent:
# Test identifier, used for reporting and cache identification, optional
testId:
# Report group name, optional
groupName:
# Report group description, optional
groupDescription:
# Whether to generate test reports, optional, defaults to true
generateReport:
# Whether to automatically print report messages, optional, defaults to true
autoPrintReportMsg:
# Custom report file name, optional
reportFileName:
# Maximum AI replanning cycle limit, optional, defaults to 20 (40 for UI-TARS model)
replanningCycleLimit:
# Additional AI guidance, optional. default is the shared fallback.
aiContexts:
default:
aiAct:
aiQuery:
# Cache configuration, optional
cache:
# Cache strategy, optional, values: 'read-only' | 'read-write' | 'write-only'
strategy:
# Cache ID, required
id:
```
:::info Agent Configuration Notes
- **Applicable environments**: Web, iOS, and Android environments all support `agent` configuration
- **testId priority**: CLI parameter > YAML agent.testId > filename
- **aiContexts**: Provides additional AI guidance such as business facts, rules, constraints, or output requirements. If `default` is configured, it is used only when neither the current call nor the matching API has its own context. A per-call `context` overrides the API value, which overrides `default`; these values are not automatically merged. Empty strings explicitly clear inherited user context. For guidance on writing and supplying context, see [Provide application knowledge to a GUI Agent](/provide-application-knowledge-to-gui-agent.md).
- **aiActContext / aiActionContext**: Deprecated compatibility fields for `aiContexts.aiAct`; both remain supported. Resolution uses `aiContexts.aiAct ?? aiActContext ?? aiActionContext`; an empty string takes precedence over lower-priority aliases. Use `aiContexts.aiAct` in new YAML scripts.
- **Cache configuration**: For detailed usage, refer to the [Caching documentation](/caching.md)
:::
#### Usage example
```yaml
# agent configuration, applies to all environments
agent:
testId: "checkout-test"
groupName: "E2E Test Suite"
groupDescription: "Complete checkout flow testing"
generateReport: true
autoPrintReportMsg: false
reportFileName: "checkout-report"
replanningCycleLimit: 30
aiContexts:
default: "Prices are displayed in USD."
aiAct: "If any popup appears, click agree. If login page appears, skip it."
cache:
id: "checkout-cache"
strategy: "read-write"
# iOS environment configuration
ios:
launch: https://www.bing.com
wdaPort: 8100
# Or Android environment configuration
android:
deviceId: s4ey59
launch: https://www.bing.com
tasks:
- name: Search for weather
flow:
- ai: Search for "today's weather"
- aiAssert: The results show weather information
```
### The web target part
Recommended page-level target:
```yaml
page:
url: https://example.com
```
Recommended browser-level target:
```yaml
browser:
url: https://example.com
autoFollowNewPage: true
```
Compatibility form:
```yaml
web:
mode: browser
url: https://example.com
autoFollowNewPage: true
```
Shared options:
```yaml
page:
# The URL to visit, required. If `serve` is provided, provide the relative path.
url:
# Serve a local path as a static server, optional.
serve:
# The browser user agent, optional.
userAgent:
# The browser viewport width, optional, defaults to 1440.
viewportWidth:
# The browser viewport height, optional, defaults to 800.
viewportHeight:
# The browser's device pixel ratio, optional, defaults to the system's value.
deviceScaleFactor:
# Path to a JSON format browser cookie file, optional.
cookie:
# Chrome download directory (Puppeteer only), optional.
# Relative paths are resolved from the current working directory.
# Not supported in bridge mode.
downloadPath:
# Extra HTTP headers sent with every request (Puppeteer only), optional.
# Useful when the server validates custom request headers.
# Values must be strings; quote values YAML would treat as a boolean or number, e.g. "true".
extraHTTPHeaders:
X-Custom-Token: my-token
Accept-Language: en-US
# The strategy for waiting for network idle in Puppeteer mode, optional.
# `timeout` applies to the initial opening of `web.url` defined in YAML and to later actions such as `aiTap` and `aiInput`.
# `continueOnNetworkIdleError` only applies to the initial opening of `web.url` defined in YAML.
waitForNetworkIdle:
# The timeout in milliseconds for each network idle wait, optional, defaults to 2000ms.
timeout:
# Whether to continue if the initial opening of `web.url` defined in YAML times out while waiting for network idle, optional, defaults to true.
# Later action-time waits always continue even if they time out.
continueOnNetworkIdleError:
# The path to the JSON file for outputting aiQuery/aiAssert results, optional.
output:
# Whether to save log content to a JSON file, optional, defaults to `false`. If true, saves to `unstableLogContent.json`. If a string, saves to the specified path. The log content structure may change in the future.
unstableLogContent:
# Whether to restrict page navigation to the current tab, optional, defaults to true.
# Page mode only. Do not use it with `browser:` or `web.mode: browser`.
forceSameTabNavigation:
# Whether BrowserAgent should automatically continue in newly opened pages, optional, defaults to false.
# Browser mode only. Use `browser:` or `web.mode: browser`.
autoFollowNewPage:
# CDP endpoint, optional. Connects to an existing browser instance via CDP instead of launching a new one.
# Mutually exclusive with bridgeMode.
cdpEndpoint: ws://localhost:9222/devtools/browser
# The bridge mode, optional, defaults to false. Can be 'newTabWithUrl' or 'currentTab'. See below for more details.
bridgeMode: false | 'newTabWithUrl' | 'currentTab'
# Whether to close newly created tabs when the bridge disconnects, optional, defaults to false.
closeNewTabsAfterDisconnect:
# Whether to ignore HTTPS certificate errors, optional, defaults to false.
acceptInsecureCerts:
# Custom Chrome launch arguments (Puppeteer only, not supported in bridge mode), optional.
# Use this to customize Chrome browser behavior, such as disabling third-party cookie blocking.
# ⚠️ Security Warning: Some arguments (e.g., --no-sandbox, --disable-web-security) may reduce browser security.
# Use only in controlled testing environments.
chromeArgs:
- '--disable-features=ThirdPartyCookiePhaseout'
- '--disable-features=SameSiteByDefaultCookies'
- '--window-size=1920,1080'
```
### Chrome Bridge {#chrome-bridge}
Complete [Chrome Bridge environment setup](/bridge-mode.md), then set `bridgeMode` in `web`:
| Value | Behavior |
| --------------- | ----------------------------------------- |
| `newTabWithUrl` | Creates and connects a new tab at `url` |
| `currentTab` | Connects the active tab and ignores `url` |
```yaml
web:
url: https://example.com
bridgeMode: newTabWithUrl
closeNewTabsAfterDisconnect: true
tasks:
- name: Check the page
flow:
- aiAssert: The page shows Example Domain
```
Run with the [YAML script runner](/yaml-script-runner.md) and authorize the connection in the extension. `closeNewTabsAfterDisconnect` defaults to `false`; setting it to `true` closes bridge-created tabs during cleanup, leaving pre-existing tabs open.
Bridge mode cannot be combined with `cdpEndpoint` or `web.mode: browser`. It reuses desktop browser settings and ignores these fields:
- `userAgent`
- `viewportWidth` / `viewportHeight`
- `deviceScaleFactor`
- `waitForNetworkIdle`
- `cookie`
- `extraHTTPHeaders`
- `downloadPath`
- `chromeArgs`
### The `android` part
```yaml
android:
# The device ID, optional, defaults to the first connected device.
deviceId:
# The launch URL, optional, defaults to the device's current page.
launch:
# The path to the JSON file for outputting aiQuery/aiAssert results, optional.
output:
# All other options supported by the AndroidDevice constructor
# For example: androidAdbPath, remoteAdbHost, remoteAdbPort,
# imeStrategy, displayId, autoDismissKeyboard, keyboardDismissStrategy,
# keyboardTypeDelay, minScreenshotBufferSize, alwaysRefreshScreenInfo, etc.
# See the AndroidDevice constructor documentation for the complete list
```
:::info View Complete Android Configuration Options
YAML scripts now support all configuration options from the `AndroidDevice` constructor. For the complete list of options, see [`AndroidDevice`](/sdk/android.md#androiddevice) in the Android API reference.
:::
#### Android Platform-Specific Actions
**`runAdbShell` - Execute ADB Shell Commands**
Execute ADB shell commands on Android devices. Pass only the shell command itself, without the `adb shell` prefix. To set a command timeout, keep `timeout` as a shallow sibling of `runAdbShell`.
```yaml
android:
deviceId: 'test-device'
tasks:
- name: Clear app data
flow:
- runAdbShell: 'pm clear com.example.app'
- name: Get battery info
flow:
- runAdbShell: 'dumpsys battery'
- name: Tap screen coordinates
flow:
- runAdbShell: 'input tap 100 200'
- name: Run command with timeout
flow:
- runAdbShell: 'dumpsys activity services'
timeout: 60000
```
**Common ADB Shell Commands:**
- `pm clear ` - Clear app data
- `dumpsys battery` - Get battery information
- `dumpsys window` - Get window information
- `settings get secure android_id` - Get device ID
- `input tap ` - Tap screen coordinates
- `input keyevent ` - Send key events
**`launch` - Launch App or URL**
Launch Android apps or open URLs.
```yaml
android:
deviceId: 'test-device'
tasks:
- name: Launch Settings app
flow:
- launch: com.android.settings
- name: Open webpage
flow:
- launch: https://www.example.com
```
**`terminate` - Terminate App**
Terminate (force-stop) a running Android app by package name.
```yaml
android:
deviceId: 'test-device'
tasks:
- name: Terminate Settings app
flow:
- terminate: com.android.settings
```
### The `ios` part
```yaml
ios:
# WebDriverAgent port, optional, defaults to 8100.
wdaPort:
# WebDriverAgent host address, optional, defaults to localhost.
wdaHost:
# For gateways with a path prefix, use wdaBaseUrl instead of wdaHost/wdaPort.
# Setting wdaBaseUrl together with either wdaHost or wdaPort causes an error.
# wdaBaseUrl:
# Optional independent MJPEG stream URL, including a gateway path if needed.
# Cannot be combined with wdaMjpegPort.
# wdaMjpegUrl:
# Local MJPEG stream port, optional. Use this or wdaMjpegUrl.
# wdaMjpegPort:
# Whether to auto dismiss keyboard, optional, defaults to false.
autoDismissKeyboard:
# Launch URL or app bundle ID, optional, defaults to the device's current page.
launch:
# The path to the JSON file for outputting aiQuery/aiAssert results, optional.
output:
# Whether to save log content to a JSON file, optional, defaults to `false`. If true, saves to `unstableLogContent.json`. If a string, saves to the specified path. The log content structure may change in the future.
unstableLogContent:
# All other options supported by the IOSDevice constructor
# See the IOSDevice constructor documentation for the complete list
```
For a gateway with a path prefix, set `wdaBaseUrl` and leave `wdaHost` and `wdaPort` unset. The MJPEG stream can use a separate URL:
```yaml
ios:
wdaBaseUrl: ${WDA_BASE_URL}
wdaMjpegUrl: ${WDA_MJPEG_URL}
```
Set both environment variables before running the script. Studio Recorder exports use these references so gateway paths and access tokens stay out of the YAML file.
:::info View Complete iOS Configuration Options
YAML scripts now support all configuration options from the `IOSDevice` constructor. For the complete list of options, see [`IOSDevice`](/sdk/ios.md#iosdevice) in the iOS API reference.
:::
#### iOS Platform-Specific Actions
**`runWdaRequest` - Execute WebDriverAgent API Requests**
Execute WebDriverAgent API requests directly on iOS devices.
```yaml
ios:
launch: 'com.apple.mobilesafari'
tasks:
- name: Press home button via WDA
flow:
- runWdaRequest:
method: POST
endpoint: /session/test/wda/pressButton
data:
name: home
- name: Get device information
flow:
- runWdaRequest:
method: GET
endpoint: /wda/device/info
```
**Parameters:**
- `method` (string, required): HTTP method (GET, POST, DELETE, etc.)
- `endpoint` (string, required): WebDriverAgent API endpoint
- `data` (any, optional): Request body data
**Common WebDriverAgent Endpoints:**
- `/wda/screen` - Get screen information
- `/wda/device/info` - Get device information
- `/session/{sessionId}/wda/pressButton` - Press hardware buttons
- `/session/{sessionId}/wda/apps/launch` - Launch apps
- `/session/{sessionId}/wda/apps/terminate` - Terminate apps
- `/session/{sessionId}/wda/apps/activate` - Activate apps
**`launch` - Launch App or URL**
Launch iOS apps or open URLs.
```yaml
ios:
wdaPort: 8100
tasks:
- name: Launch Settings app
flow:
- launch: com.apple.Preferences
- name: Open webpage
flow:
- launch: https://www.example.com
```
**`terminate` - Terminate App**
Terminate (close) a running iOS app by its bundle ID.
```yaml
ios:
wdaPort: 8100
tasks:
- name: Terminate Settings app
flow:
- terminate: com.apple.Preferences
```
### The `harmony` part
The `harmony` section is used for HarmonyOS device automation via HDC. The device is connected with `hdc`, so make sure `hdc list targets` reports your device before running.
```yaml
harmony:
# The HarmonyOS device ID to connect to, optional, defaults to the first connected device.
deviceId:
# The app to launch, optional, defaults to the device's current screen.
launch:
# The path to the HDC executable, optional.
hdcPath:
# Whether to auto dismiss keyboard after input, optional, defaults to true.
autoDismissKeyboard:
# Custom mapping of app names to bundle names or explicit bundle/ability targets, optional.
# User-provided mappings take precedence over defaults.
appNameMapping:
:
# The path to the JSON file for outputting aiQuery/aiAssert results, optional.
output:
# All other options supported by the HarmonyDevice constructor
```
#### HarmonyOS Platform-Specific Actions
**`launch` - Launch App**
Launch a HarmonyOS app by its bundle name or an explicit `bundle/Ability` target.
```yaml
harmony:
deviceId: 'test-device'
appNameMapping:
Video: com.example.video/PhoneAbility
tasks:
- name: Launch app
flow:
- launch: Video
```
**`terminate` - Terminate App**
Terminate (force-stop) a running HarmonyOS app by bundle name or mapped app name.
```yaml
harmony:
deviceId: 'test-device'
tasks:
- name: Terminate app
flow:
- terminate: com.example.app
```
**`runHdcShell` - Execute HDC Shell Command**
Execute an HDC shell command on the HarmonyOS device.
```yaml
harmony:
deviceId: 'test-device'
tasks:
- name: Dump window info
flow:
- runHdcShell:
command: 'hidumper -s WindowManagerService -a'
```
### The `computer` part
The `computer` section is used for PC desktop automation. It allows you to control the desktop environment, including mouse movements, keyboard inputs, and screen queries.
```yaml
computer:
# The display ID to use, optional, defaults to the primary display.
displayId:
# The path to the JSON file for outputting aiQuery/aiAssert results, optional.
output:
```
#### Usage example
```yaml
computer: {}
tasks:
- name: Open browser and search
flow:
- aiAct: press Cmd+Space
- sleep: 500
- aiAct: type "Safari" and press Enter
- sleep: 2000
- aiAct: press Cmd+L to focus address bar
- aiAct: type "https://www.bing.com"
- aiAct: press Enter
- sleep: 3000
- aiAct: type "weather today" in the search box and press Enter
- aiAssert: The results show weather information
```
:::info Platform Notes
The demo scripts above use macOS commands. For Windows, modify the scripts to use:
- `press Windows key` instead of `press Cmd+Space`
- `type "Chrome"` instead of `type "Safari"`
- `press Ctrl+L` instead of `press Cmd+L`
:::
### The `tasks` part
The `tasks` part is an array that defines the steps of the script. Remember to add a `-` before each step to indicate it's an array item.
The interfaces in the `flow` section are almost identical to the [API](/reference.md#common), with some differences in parameter nesting levels.
```yaml
tasks:
- name:
continueOnError: # Optional, whether to continue to the next task on error, defaults to false.
flow:
# Auto Planning (.ai)
# ----------------
# Perform an interaction. `ai` is a shorthand for `aiAct`.
- ai:
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
deepThink: # Optional, guide aiAct to focus on task decomposition and separate planning from UI element locating. Defaults to false.
deepLocate: # Optional, enable Deep Locate for UI element locating during aiAct execution. Defaults to false.
# This usage is the same as `ai`.
# Note: In earlier versions, this was also written as `aiAction`. The current version supports both names.
- aiAct:
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
deepThink: # Optional, guide aiAct to focus on task decomposition and separate planning from UI element locating. Defaults to false.
deepLocate: # Optional, enable Deep Locate for UI element locating during aiAct execution. Defaults to false.
# Instant Action (.aiTap, .aiHover, .aiInput, .aiKeyboardPress, .aiScroll)
# ----------------
# Tap an element described by a prompt.
- aiTap:
deepLocate: # Optional, whether to enable Deep Locate for this element. Defaults to False.
xpath: # Optional, the xpath of the target element for the operation. If provided, Midscene will prioritize this xpath to find the element before using the cache and the AI model. Defaults to empty.
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
fileChooserAccept: | [, ] # Optional, file path(s) to upload when the tap triggers a file chooser; only available on web
# Hover over an element described by a prompt.
- aiHover:
deepLocate: # Optional, whether to enable Deep Locate for this element. Defaults to False.
xpath: # Optional, the xpath of the target element for the operation. If provided, Midscene will prioritize this xpath to find the element before using the cache and the AI model. Defaults to empty.
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
# Input text into an element described by a prompt.
- aiInput: # The element to input text into.
value:
deepLocate: # Optional, whether to enable Deep Locate for this element. Defaults to False.
xpath: # Optional, the xpath of the target element for the operation. If provided, Midscene will prioritize this xpath to find the element before using the cache and the AI model. Defaults to empty.
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
# Press a key (e.g., Enter, Tab, Escape) on an element described by a prompt.
- aiKeyboardPress: # The element to press the key on.
keyName:
deepLocate: # Optional, whether to enable Deep Locate for this element. Defaults to False.
xpath: # Optional, the xpath of the target element for the operation. If provided, Midscene will prioritize this xpath to find the element before using the cache and the AI model. Defaults to empty.
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
# Scroll globally or on an element described by a prompt.
- aiScroll: # Optional, the element to scroll on.
scrollType: 'singleAction' # or 'scrollToBottom' | 'scrollToTop' | 'scrollToRight' | 'scrollToLeft'. Defaults to 'singleAction'.
direction: 'down' # or 'up' | 'left' | 'right'. Defaults to 'down'. Only effective when scrollType is singleAction.
distance: # Optional, scroll distance in device logical pixels, meaning the coordinate units used by
# the width and height returned by size() in a custom device integration. Use null to let Midscene decide automatically.
# At runtime, this distance is converted into a swipe gesture travel distance on touch devices
# or a wheel scroll delta on Web and desktop platforms. The actual content displacement is not guaranteed to match this value.
deepLocate: # Optional, whether to enable Deep Locate for this element. Defaults to False.
xpath: # Optional, the xpath of the target element for the operation. If provided, Midscene will prioritize this xpath to find the element before using the cache and the AI model. Defaults to empty.
cacheable: # Optional, whether to cache the result of this API call when the [caching feature](./caching.mdx) is enabled. Defaults to True.
# Log the current screenshot with a description in the report file.
- recordToReport: # Optional, the title of the screenshot. If not provided, the title will be 'untitled'.
content: # Optional, the description of the screenshot.
# Data Extraction
# ----------------
# Perform a query that returns a JSON object.
- aiQuery: # Remember to describe the format of the result in the prompt.
name: # The key for the query result in the JSON output.
# More APIs
# ----------------
# Wait for a condition to be met, with a timeout (in ms, optional, defaults to 30000).
- aiWaitFor:
timeout:
# Perform an assertion.
- aiAssert:
errorMessage: # Optional, the error message to print if the assertion fails.
name: # Optional, give the assertion a name, which will be used as a key in the JSON output.
- aiBoolean:
name: # Optional, give the boolean result a name for JSON output.
# Run one Gherkin Scenario. This is a Beta feature available starting in Midscene 1.10.
- runGherkinScenario: |
Scenario: Add a todo item
Given the todo page is open
When I add a todo item named "Buy milk"
Then the todo list should contain "Buy milk"
# Wait for a specified amount of time.
- sleep:
# Execute a piece of JavaScript code in the web page context.
- javascript:
name: # Optional, assign a name to the return value, which will be used as a key in the JSON output.
- name:
flow:
# ...
```
`runGherkinScenario` is a Beta feature available starting in Midscene 1.10. For supported rules and limitations, see [BDD-style scripts with Gherkin](/advanced/bdd-style-scripts-with-gherkin.md).
#### Step Result Names
Steps that write a result with `name` save that value into the YAML run result and the JSON output. Use `name` to label values that should appear in the run output.
```yaml
tasks:
- name: Save extracted data
flow:
- aiString: Get the product id shown on the page
name: product_id
- aiQuery: Get the search result after submitting the product id
name: search_result
```
#### Upload Files With `aiTap`
When clicking a button opens a file chooser, you can set `fileChooserAccept` directly on the `aiTap` step. It accepts either a single path or an array of paths.
```yaml
tasks:
- name: upload single file
flow:
- aiTap: Choose file button
fileChooserAccept: ./fixtures/document.pdf
- name: upload multiple files
flow:
- aiTap: Upload images button
fileChooserAccept:
- ./fixtures/image1.jpg
- ./fixtures/image2.png
```
If you are already using a `locate` object for `prompt`, `images`, or other locate options, keep `fileChooserAccept` at the same level as `locate`. Do not nest it inside `locate` or inside the `aiTap` object:
```yaml
tasks:
- name: upload file with locate
flow:
- aiTap:
locate:
prompt: Click the upload button
fileChooserAccept: ./fixtures/document.pdf
```
Notes:
- `fileChooserAccept` is only available for web pages (Playwright, Puppeteer, or Chrome extension Bridge mode).
- Relative paths are resolved from the current command working directory, not from the YAML file directory.
- If a file does not exist, the script throws before the tap is executed.
- In Chrome extension Bridge mode, local file uploads require the Midscene extension's "Allow access to file URLs" permission. Enable it in `chrome://extensions` > Midscene > "Details", then reconnect Bridge mode from the target `http(s)://` page.
- Chrome extension Bridge mode does not support directory upload inputs (`webkitdirectory` / `directory`). Use Playwright for directory uploads.
#### Prompting with images
For steps whose prompt accepts images, you can attach images to the prompt by setting the `images` field to an array of objects, each containing a `name` and a `url`. (see the [API reference](/reference.md#prompting-with-images)), replace the string value with an object that contains:
- `prompt`: The text prompt.
- `images`: (Optional) The reference images used in the prompt. Each image needs a `name` and a `url`.
- `convertHttpImage2Base64`: (Optional) Converts HTTP image links to Base64 before sending them to the model, which is useful when the link is not publicly accessible.
Image URLs can be local paths, Base64 strings, or remote links. When using image links that cannot be accessed for the model, set `convertHttpImage2Base64: true` so Midscene will download the image and send the base64 string to the model.
For interactions like `aiTap`, `aiHover`, `aiDoubleClick`, `aiRightClick`, put the text and images in the `locate` field as a sibling of the action key.
```yaml
tasks:
- name: Verify branding
flow:
- aiHover:
locate:
prompt: Move the cursor to the region containing the GitHub logo.
images:
- name: GitHub logo
url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
convertHttpImage2Base64: true
- aiTap:
locate:
prompt: Tap the region containing the GitHub logo.
images:
- name: GitHub logo
url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
convertHttpImage2Base64: true
```
> The legacy nested format (where `locate` is indented under the action key, e.g. `aiTap: \n locate: ...`) is still supported but not recommended.
For `aiAct` (and its `ai` shorthand), and for insight steps like `aiAsk`, `aiQuery`, `aiBoolean`, `aiNumber`, `aiString`, and `aiAssert`, you can set the `prompt` and `images` fields directly under the action key.
```yaml
tasks:
- name: Verify branding
flow:
- aiAssert:
prompt: Check whether the image appears on the page.
images:
- name: target logo
url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
convertHttpImage2Base64: true
```
## Notes
### `agent.runYaml` only parses the `tasks` field
When using the `agent.runYaml()` API, only the `tasks` field in the YAML file is parsed and executed.
At that point the agent has already been initialized in the JS script, so it cannot be reinitialized based on the `agent` configuration in the YAML file.
---
url: /awesome-midscene.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Awesome Midscene
A curated list of community projects that extend Midscene.js capabilities across different platforms and programming languages.
For official icons and brand colors, see [Brand resources](/brand-resources.md).
## Community projects
New additions appear at the top of the list.
### [KiritoKing/midscene-jev-runner](https://github.com/KiritoKing/midscene-jev-runner)
Browser automation with the [Jev](https://typesafe.ai/) decision model for Playwright and Midscene Test
- Turns page controls and available operations into candidates for Jev to choose the next action and target; calls a text generation model when text input is needed
- Works with an existing Playwright page or as a `jevAct` step in Midscene Test, with support for custom task completion checks
### [lhuanyu/midscene-android](https://github.com/lhuanyu/midscene-android)
An Android app that runs Midscene automation directly on the device, without connecting to it from a PC via ADB
- Operate apps with natural-language instructions, edit and run YAML scripts, and review execution reports and history on the device
- Follow task progress through a floating overlay and interrupt execution when needed
- The Agent and runtime run on the device; prompts and screenshots are sent to the model endpoint you configure
### [lhuanyu/midscene-ios](https://github.com/lhuanyu/midscene-ios)
iOS Mirror automation support for Midscene
- Enables automated testing and interaction with iOS applications
- Extends Midscene's cross-platform capabilities to Apple's mobile ecosystem
### [Mofangbao/midscene-pc](https://github.com/Mofangbao/midscene-pc)
PC operation device for Windows, macOS, and Linux
- Enables automated testing and interaction with desktop applications across all major platforms
- Supports both local and remote operation capabilities
### [Mofangbao/midscene-pc-docker](https://github.com/Mofangbao/midscene-pc-docker)
Docker container image with Midscene-PC server pre-installed
- Based on Ubuntu 20 with GNOME desktop for maximum application compatibility
- Includes built-in VNC service for browser-based desktop monitoring
- Deploy automation client directly on standard servers with a single command
### [Python51888/Midscene-Python](https://github.com/Python51888/Midscene-Python)
Python SDK for Midscene automation
- Brings Midscene's AI-powered automation capabilities to Python developers
- Allows integration with existing Python testing and automation workflows
### [Master-Frank/midscene-java](https://github.com/Master-Frank/midscene-java)
Java SDK for Midscene automation
- Offers a JVM-friendly way to script Midscene experiences similar to the Python SDK
- Fits easily into existing Java automation or testing pipelines
### [alstafeev/midscene-java](https://github.com/alstafeev/midscene-java)
Java SDK for Midscene automation
- Provides a JVM-native interface for scripting Midscene
- Integrates seamlessly into established Java testing frameworks and automation workflows
## Contributing
Have you created a project that extends Midscene.js? We'd love to feature it here!
To add your project to this list, please submit an issue to the [Midscene repository](https://github.com/web-infra-dev/midscene), and tell us your awesome midscene project.
## Criteria for inclusion
Projects featured in Awesome Midscene should:
- Extend or integrate with Midscene.js functionality
- Be actively maintained
- Have clear documentation and usage examples
- Provide value to the Midscene community
***
_Don't see your favorite platform or language supported yet? Consider creating a community project or contributing to existing ones!_
---
url: /basics.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# The Basics
This page explains Midscene's vision-based approach, usage options, and key APIs to help you understand and use the GUI Agent. To try it first, go to [Get started](/get-started.md).
## A vision-based approach to automation
Midscene interprets screenshots, locates targets, performs actions, and observes the result. UI localization and actions do not depend on DOM data, selectors, or extra annotations. This has four main advantages:
- **Serve the purpose of E2E testing**: Operate software as a user would and verify complete workflows from their perspective. Act on visible text, icons, and layout, then check the rendered result, including selected states, error messages, and obscured elements.
- **Work across UI stacks**: HTML, Canvas, mobile, and desktop apps all appear as screenshots. Once a platform provides screenshots and actions, the same Agent APIs apply, reducing dependence on application internals.
- **Align with mainstream model approaches**: [Gemini Computer Use](https://ai.google.dev/gemini-api/docs/computer-use) and [UI-TARS](https://github.com/bytedance/UI-TARS) both use screenshot-driven interaction. Midscene's model adapters let users choose models through a consistent API and benefit from improvements in model capabilities.
- **Affordable model costs**: In the [AppControlBench evaluation](/app-control-bench-report.md), Doubao Seed 2.1 Turbo ran 60 tasks and passed 58, with a total model API cost of about $0.59. Actual costs vary with the model, task, and cache usage.
This approach requires a model with UI localization capabilities; see [supported models](/model-selection.md). Data extraction and page understanding can still include DOM data when needed; see the [API reference](/reference.md#extraction-location-assertion).
## Choose how to use Midscene {#choose-your-path}
Midscene provides a cross-platform GUI Agent for web, mobile, and desktop apps. It follows natural-language instructions to interact with interfaces, check results, and extract data. For testing, choose an integration approach based on your existing project setup and how you prefer to write test cases.
If you prefer YAML-based testing, use **Midscene Test**, an E2E testing framework for web, mobile, and desktop apps. Describe test steps and expected results in YAML, extend business operations with TypeScript, and let the framework handle setup, cleanup, retries, and execution reports.
If you already have a JavaScript/TypeScript test project or prefer writing tests in code, use the SDK to integrate the GUI Agent into frameworks such as Playwright Test, Rstest, or Vitest to add visual actions and assertions to your test cases.
| Your goal | Start here |
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Try natural-language actions and assertions | [Get started](/get-started.md) |
| Organize web, mobile, or desktop tests in YAML | [Create a test project](/midscene-test/use.md) |
| Write tests in a JavaScript/TypeScript project | [Integrate with Playwright Test](/integrate-with-playwright.md), [Rstest](/sdk/rstest.md), or [Vitest](/sdk/vitest.md) |
| Run standalone automation workflows | [Standalone scripts](/sdk/standalone.md) |
| Let an AI coding agent operate apps | [Midscene Skills](/skills.md) |
## Key APIs {#javascript-orchestration}
### Plan and interact
**`aiAct`**
[`aiAct`](/reference.md#agentaiact) accepts a goal described in natural language. It observes the interface, plans the next steps, locates the target elements, and executes the actions until the goal is complete. The prompt can also include assertions. Midscene verifies these assertions during execution and throws an error promptly if one fails.
`aiAct` is flexible and autonomous, so it works well when a task has multiple steps, conditional branches, or an uncertain execution path. During execution, `aiAct` continuously uses AI to plan from the latest interface state, which means it usually takes more time and tokens than an instant interaction.
Typical usage:
```typescript
await agent.aiAct(
'Search for headphones, add the first item to the cart, and confirm that the cart count changes to 1',
);
```
### Instant interactions
Instant interaction APIs perform one specified action. Their main job is to locate a UI element and execute a fixed operation on it.
These APIs do not plan a sequence of steps. A request such as “close the popup if it appears, then click the checkout button” should use `aiAct`; an instant interaction treats its prompt as a description of the target element, not as a workflow.
**`aiTap`**
[`aiTap`](/reference.md#agentaitap) locates and taps or clicks one element.
Typical usage:
```typescript
await agent.aiTap('The checkout button in the shopping cart');
```
**`aiInput`**
[`aiInput`](/reference.md#agentaiinput) locates an input field and enters a specified value. Its default `replace` mode clears the existing content before entering the new value.
Typical usage:
```typescript
await agent.aiInput('The email address input', {
value: 'user@example.com',
});
```
Other input modes are `typeOnly`, which preserves the existing content, and `clear`, which only clears the field.
Other instant interaction APIs include `aiHover`, `aiClearInput`, `aiKeyboardPress`, `aiScroll`, `aiPinch`, `aiLongPress`, `aiDoubleClick`, and `aiRightClick`. Platform support varies; see [Planning and interaction](/reference.md#planning-interaction) in the API reference.
### Insight
Insight APIs observe the interface and return an analysis result without interacting with it. They use the current screenshot by default. On web pages, you can also pass `domIncluded` when the task requires DOM information that is not visible in the screenshot.
**`aiAssert`**
[`aiAssert`](/reference.md#agentaiassert) checks a condition described in natural language. It resolves when the condition is true. When the condition is false, it throws an error that includes the reason returned by the model.
Typical usage:
```typescript
await agent.aiAssert('The shopping cart contains one item and shows a subtotal');
```
**`aiQuery`**
[`aiQuery`](/reference.md#agentaiquery) extracts structured data from the interface. Describe both the required data and its expected type or shape in the prompt.
Typical usage:
```typescript
const items = await agent.aiQuery<
Array<{ name: string; price: number }>
>('The products in the shopping cart, {name: string, price: number}[]');
// Example items value: [{ name: 'Wireless headphones', price: 99.9 }]
```
**`aiBoolean`**
[`aiBoolean`](/reference.md#agentaiboolean) answers a question about the interface and returns a boolean.
Typical usage:
```typescript
const loginDialogVisible = await agent.aiBoolean(
'Is the login dialog visible?',
);
// Example loginDialogVisible value: true
```
Related convenience methods include [`aiNumber`](/reference.md#agentainumber) for numbers and [`aiString`](/reference.md#agentaistring) or [`aiAsk`](/reference.md#agentaiask) for strings.
### Improve planning and localization when needed
- **`deepThink`: enhance planning**. Available on `aiAct`, it focuses on task decomposition and separates planning and element localization into different model calls. Use it for complex, multi-step tasks. See [`deepThink` planning mode](/reference.md#aiact-deepthink).
- **`deepLocate`: enhance localization**. Available on APIs that locate elements, such as `aiAct` and `aiTap`, it uses an additional model call to improve accuracy for small or visually ambiguous targets. See [deep localization](/reference.md#deep-locate-deeplocate).
Both options are off by default. Enable them independently or combine them in `aiAct`. They add model-call overhead, so start with the defaults and enable them when you encounter planning or localization problems.
```typescript
await agent.aiAct('Complete the checkout form and stop before placing the order', {
deepThink: true,
});
await agent.aiTap('The cart icon in the upper-right corner', { deepLocate: true });
```
## Next steps
- [Model Selection Guide](/model-selection.md): Learn when to use one Default model and when to combine models.
- [Get started](/get-started.md): Set up your platform and model, then complete a first run.
- [Create a test project](/midscene-test/use.md): Write and run YAML tests.
- [API reference](/reference.md): Look up full options and platform support.
---
url: /blog-introducing-instant-actions-and-deep-think.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Introducing Instant Actions and Deep Think
From Midscene v0.14.0, we have introduced two new features: Instant Actions and Deep Think.
## Instant Actions - a more predictable way to perform actions
You may have already been familiar with our `.ai` interface. It's an auto-planning interface to interact with web pages. For example, when performing a search, you can do this:
```typescript
await agent.ai('type "Headphones" in search box, hit Enter');
```
Behind the scene, Midscene will call the LLM to plan the steps and execute them. You can see the report file to see the process. It's a very common way for AI agents to these kinds of tasks.

In the meantime, there are many testing engineers who want a faster way to perform actions. When using AI models with complex prompts, some of the LLM models may find it hard to plan the proper steps, or the coordinates of the elements may not be accurate. It could be frustrating for debugging the unpredictable process.
To solve this problem, we have introduced the `aiTap()`, `aiHover()`, `aiInput()`, `aiKeyboardPress()`, `aiScroll()` interfaces. They are call the **"instant actions"**. These interfaces will directly perform the specified action as the interface name suggests, while the AI model is responsible for the easier tasks such as locating elements. The whole process can be obviously faster and more reliable after using them.
For example, the search action above can be rewritten as:
```typescript
await agent.aiInput('Headphones', 'search-box');
await agent.aiKeyboardPress('Enter');
```
The typical workflow in the report file is like this, as you can see there is no planning process in the report file:

The scripts with instant actions seems a little bit redundant (or not 'ai-style'), but we believe these structured interfaces are a good way to save time debugging when the action is already clear.
## Deep Think - a more accurate way to locate elements
When using Midscene with some complex widgets, the LLM may find it hard to locate the target element. We have introduced a new option named `deepThink` to the instant actions.
The signature of the instant actions with `deepThink` is like this:
```typescript
await agent.aiTap('target', { deepThink: true });
```
`deepThink` is a strategy of locating elements. It will first find an area that contains the target element, then "focus" on this area to search the element again. By this way, the coordinates of the target element will be more accurate.
Let's take the workflow editor page of Coze.com as an example. There are many customized icons on the sidebar. This is usually hard for LLMs to distinguish the target element from its surroundings.

After using `deepThink` in instant actions, the yaml scripts will be like this (of course, you can also use the javascript interface):
```yaml
tasks:
- name: edit input panel
flow:
- aiTap: the triangle icon on the left side of the text "Input"
deepThink: true
- aiTap: the first checkbox in the Input form
deepThink: true
- aiTap: the expand button on the second row of the Input form (on the right of the checkbox)
deepThink: true
- aiTap: the delete button on the second last row of the Input form
deepThink: true
- aiTap: the add button on the last row of the Input form (second button from the right)
deepThink: true
```
By viewing the report file, you can see Midscene has found every target element in the area.

Just like the example above, the highly-detailed prompt for `deepThink` is the key to keeping results stable.
`deepThink` is only available with the models that support visual grounding like qwen2.5-vl. If you are using LLM models like gpt-4o, it won't work.
---
url: /brand-resources.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Brand resources
This page provides the official Midscene.js icon and brand color for documentation, integrations, and badges.
## Icon
- Monochrome SVG
- Color icon
- [All brand assets on GitHub](https://github.com/web-infra-dev/midscene/tree/main/apps/site/docs/public/images/brand)
The monochrome SVG uses a 24 × 24 viewBox and a single compound path. It has a transparent background and no explicit fill color, so it defaults to black. Set the fill color when rendering it.
## Brand color
The Midscene.js brand color is dark gray:
| Format | Value |
| ------ | ------------ |
| HEX | `#3F464C` |
| RGB | `63, 70, 76` |
This is the outline color of the color logo. Use `3F464C` when an icon library requires a six-digit hexadecimal value without the hash.
For monochrome presentations, use the brand color on a light background or white on a dark background. Preserve the icon's proportions.
## Source and project information
- [Monochrome SVG source](https://github.com/web-infra-dev/midscene/blob/main/apps/site/docs/public/images/brand/midscenedotjs.svg)
- [Midscene.js repository](https://github.com/web-infra-dev/midscene)
- [Project license](https://github.com/web-infra-dev/midscene/blob/main/LICENSE)
---
url: /bridge-mode.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Chrome Bridge environment setup
Chrome Bridge enables Node.js scripts to control your desktop Chrome browser through the Midscene Chrome extension, allowing you to reuse existing login sessions, cookies, and browser extensions. The Node.js process runs the Bridge Server and handles AI model calls, while the Chrome extension connects to that server and executes operations on browser tabs.

## Installation and permissions
1. Install the [Midscene Chrome extension](https://chromewebstore.google.com/detail/midscene/gbldofcpkknbggpkmbdaefngejllnief). Once installed, it automatically listens for local connection requests in the background.
2. (Optional) If your script needs to upload local files, open `chrome://extensions`, go to the Midscene extension details, and enable **Allow access to file URLs**. Switch back to your target `http(s)://` tab before connecting.
## Validate model calls and page interactions in Playground
In [Get started](/get-started.md?platform=web\&scene=playground), choose Web and Playground to save your model settings in the extension, run an `aiAct` action and an `aiAssert` assertion in TodoMVC, and inspect the steps and screenshots.
The extension Playground controls the current page without a Node.js Bridge Server. After trying it, run the connection check below to verify that a script process can control Chrome through the extension.
[](#)
## Verify the connection {#verify-connection}
The minimal script below verifies the connection between your Node.js environment and the Chrome extension. It does not invoke any AI methods, so no model configuration is required.
### 1. Install dependencies
Install Node.js (`^20.19.0 || ^22.12.0 || >=24.0.0`), install pnpm, and run `pnpm init` in your project directory (skip if `package.json` already exists). Then install the dependencies:
```sh [npm]
npm install @midscene/web tsx --save-dev
```
```sh [yarn]
yarn add @midscene/web tsx --save-dev
```
```sh [pnpm]
pnpm add @midscene/web tsx --save-dev
```
```sh [bun]
bun add @midscene/web tsx --save-dev
```
```sh [deno]
deno add npm:@midscene/web npm:tsx --save-dev
```
### 2. Write the code
Save the following code as `bridge-check.ts`:
```typescript title="bridge-check.ts"
import { AgentOverChromeBridge } from '@midscene/web/bridge-mode';
async function main() {
const agent = new AgentOverChromeBridge();
try {
await agent.connectNewTabWithUrl('https://example.com');
console.log('Chrome Bridge connected');
console.log(await agent.getBrowserTabList());
} finally {
await agent.destroy();
}
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});
```
### 3. Run and authorize
```bash
pnpm exec tsx bridge-check.ts
```
When prompted by the Chrome extension, click **Allow** to approve the connection (choose **Always Allow** to automatically approve future connections; you can reset this anytime in the extension's Bridge Mode panel).
Once connected, Chrome opens `example.com` in a new tab, and the terminal prints `Chrome Bridge connected` followed by the current tab list. The script then finishes and disconnects, leaving the newly opened tab in Chrome. On the extension icon badge, a yellow dot indicates that it is listening for connections, while a green dot indicates an active connection (because this check script disconnects immediately after completion, the badge will briefly turn green and then return to yellow).

## Next steps
After validating the environment and Playground, choose how to continue:
- **Write YAML tests**: create a project, run cases, and inspect reports with [Midscene Test](/midscene-test/use.md).
- **Write automation workflows**: follow [Standalone automation scripts](/sdk/standalone.md) and select the Chrome Bridge example.
- **Look up platform APIs**: see the [Chrome Bridge SDK API reference](/sdk/chrome-bridge.md) for constructor options, platform methods, and cleanup.
Model settings saved in Playground are not automatically shared with test or script processes. Copy the validated settings into your project’s `.env` and load them as described in the integration guide. Keep the device connection tools, services, and permissions available.
The Midscene Test Web template uses Playwright by default. To use Bridge, adapt [the project configuration](/midscene-test/configuration.md) to connect and destroy an `AgentOverChromeBridge` and register it with `createMidsceneNodes()`. Replace the template’s Playwright page initialization.
Chrome Bridge does not expose a Playwright `Page`. To integrate with Playwright Test, follow [Web environment setup](/platforms/web.md).
## Remote access configuration {#remote-access-configuration}
By default, the Bridge Server binds to `127.0.0.1` and only accepts connections from a Chrome extension on the same machine. For cross-machine setups (for example, running the script on Machine A and Chrome on Machine B), enable remote access on both sides:
**1. Server side (Node.js script)**
```typescript
// Option 1: Listen on all network interfaces (0.0.0.0:3766)
const agent = new AgentOverChromeBridge({
allowRemoteAccess: true,
});
// Option 2: Bind to a specific network interface IP
const agent = new AgentOverChromeBridge({
host: '192.168.1.100',
port: 3766,
});
```
**2. Client side (Chrome extension)**
1. Open the Chrome extension side panel and switch to **Bridge Mode**.
2. Enter the server address in the **Bridge Server URL** field:
- Local connection: `ws://localhost:3766` (default)
- Remote connection: `ws://192.168.1.100:3766` (replace with the IP address of the machine running the script)
3. Run your script and click **Allow** in the extension's confirmation dialog.

:::warning Security Notice
Enabling remote access exposes the Bridge Server over the network. Make sure to:
- Use it only within trusted private networks;
- Restrict incoming connections with firewall rules;
- Never expose the Bridge Server port to the public internet.
:::
## Troubleshooting {#faq}
### The extension fails to connect
Verify that Chrome is open, the Midscene extension is enabled, and the **Bridge Server URL** in the extension's Bridge Mode panel matches the address and port your script is listening on (local default: `ws://127.0.0.1:3766`). For remote connections, also verify that the script has `allowRemoteAccess: true` or the appropriate `host` configured, and that the port is reachable through your firewall.
### How do I re-prompt for connection authorization?
Reset the saved permissions in the extension's Bridge Mode panel, then rerun the script to trigger the confirmation dialog again.
### Where should I configure model credentials?
When calling AI methods such as `aiAct` or `aiAssert`, [configure your model credentials](/model-api-setup.md) in the Node.js environment running the script. Model settings entered in the extension's Playground apply only to the Playground itself and are not shared with Node.js scripts. Also note that passing the connection check above only verifies bridge communication, not your model configuration.
---
url: /caching.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Caching AI Planning and DOM Localization
Midscene supports caching two kinds of data: AI Planning steps and matched element localization information. The former can be used across automation workflows to reduce AI model calls and improve execution efficiency; for web automation, the DOM localization part (XPath) in the latter can significantly reduce repeated locating overhead, but it is currently web-only and has [certain limitations](#limitations-of-xpath-in-caching-element-location).
**Effect**
With caching hit, time cost is significantly reduced. For example, in the following case, execution time was reduced from 51 seconds to 28 seconds.
- **before**

- **after**

## Cache files and storage
Midscene's caching mechanism is based on input stability and output reusability. When the same task instructions are repeatedly executed in similar page environments, Midscene will prioritize using cached results to avoid repeated AI model calls, significantly improving execution efficiency.
The core caching mechanisms include:
- **Task instruction caching**: For planning operations (such as `ai`, `aiAct`), Midscene uses the prompt instruction as the cache key to store the execution plan returned by AI
- **Element location caching (web only)**: For location operations (such as `aiLocate`, `aiTap`), the system uses the location prompt as the cache key to store element XPath information, and verifies whether the XPath is still valid on the next execution
- **Invalidation mechanism**: When cache becomes invalid, the system automatically falls back to AI model for re-analysis
- **Plan cache fallback**: If a cached `aiAct` plan fails at runtime, for example because an optional popup no longer appears, Midscene falls back to normal AI planning for the current run and clears the stale cache record's flow
- **Never cache query results**: The query results like `aiBoolean`, `aiQuery`, `aiAssert` will never be cached.
When this fallback path is used, Midscene does not write the fallback-generated flow back to the original prompt's plan cache, even if the current run succeeds. The cached steps may have already changed the page state before failing, so the fallback plan may only describe the remaining work and may not be valid from the initial page state. On the next run with the same prompt, the empty flow is treated as an unavailable cache entry and Midscene regenerates a complete plan cache from the initial state.
Cache contents will be saved in the `./midscene_run/cache` directory with the `.cache.yaml` as the extension name.
## Cache strategies
By configuring the `cache` option, you can enable caching for your agent.
### Disable cache
Configuration: `cache: false` or not configuring the `cache` option
Completely disable cache functionality, always call AI model for every operation. Suitable when you need real-time results or for debugging. By default, if you don't configure the `cache` option, caching is disabled.
```javascript
// Direct Agent creation
const agent = new PuppeteerAgent(page, {
cache: false,
});
```
```yaml
# YAML configuration
agent:
cache: false
```
### Read-write mode
Configuration: `cache: { id: "my-cache-id" }` or `cache: { strategy: "read-write", id: "my-cache-id" }`
Automatically read existing cache and update cache files during execution. The default value of `strategy` is `read-write`.
```javascript
// Direct Agent creation - explicit cache ID
const agent = new PuppeteerAgent(page, {
cache: { id: "my-cache-id" },
});
// Explicitly specify strategy
const agent = new PuppeteerAgent(page, {
cache: { strategy: "read-write", id: "my-cache-id" },
});
```
```yaml
# YAML configuration - explicit cache ID
agent:
cache:
id: "my-cache-test"
# Explicitly specify strategy
agent:
cache:
id: "my-cache-test"
strategy: "read-write"
```
YAML mode also supports `cache: true` to automatically use the file name as the cache ID.
### Read-only, manual write
Configuration: `cache: { strategy: "read-only", id: "my-cache-id" }`
Only read cache, no automatic writing to cache files. Requires manual `agent.flushCache()` call to write cache files. Suitable for production environments to ensure cache consistency.
```javascript
// Direct Agent creation
const agent = new PuppeteerAgent(page, {
cache: { strategy: "read-only", id: "my-cache-id" },
});
// Manual cache write required
await agent.flushCache();
```
```yaml
# YAML configuration
agent:
cache:
id: "my-cache-test"
strategy: "read-only"
```
### Write-only mode
Configuration: `cache: { strategy: "write-only", id: "my-cache-id" }`
Only write to cache, do not read existing cache contents. Always call AI model for each execution and write results to cache file. Suitable for initially building cache or updating cache.
```javascript
// Direct Agent creation
const agent = new PuppeteerAgent(page, {
cache: { strategy: "write-only", id: "my-cache-id" },
});
```
```yaml
# YAML configuration
agent:
cache:
id: "my-cache-test"
strategy: "write-only"
```
### Compatibility mode (not recommended)
Configuration via `MIDSCENE_CACHE=1` environment variable with cacheId, equivalent to read-write mode.
```javascript
// Old way, requires MIDSCENE_CACHE=1 environment variable and cacheId
const agent = new PuppeteerAgent(originPage, {
cacheId: 'puppeteer-swag-sab'
});
```
```bash
MIDSCENE_CACHE=1 tsx demo.ts
```
## Using Playwright AI Fixture from `@midscene/web/playwright`
When using `PlaywrightAiFixture` from `@midscene/web/playwright`, pass the same `cache` options to control caching behaviour.
### Disable cache
```typescript
// fixture.ts in sample code
export const test = base.extend(
PlaywrightAiFixture({
cache: false,
}),
);
```
### Read-write mode
```typescript
// fixture.ts in sample code
// Auto-generate cache ID from test metadata
export const test = base.extend(
PlaywrightAiFixture({
cache: true,
}),
);
// fixture.ts in sample code
// Explicitly provide cache ID
export const test = base.extend(
PlaywrightAiFixture({
cache: { id: "my-fixture-cache" },
}),
);
```
### Read-only, manual write
```typescript
// fixture.ts in sample code
export const test = base.extend(
PlaywrightAiFixture({
cache: { strategy: "read-only", id: "readonly-cache" },
}),
);
```
When you run the fixture in read-only mode you need to manually persist the cache after your test steps. Use the `agentForPage` helper provided by the fixture to fetch the underlying agent, then call `agent.flushCache()` at the point where you want to write the cache file:
```typescript
test.afterEach(async ({ page, agentForPage }, testInfo) => {
// Only flush cache if the test passed
if (testInfo.status === 'passed') {
console.log('Test passed, flushing Midscene cache...');
const agent = await agentForPage(page);
await agent.flushCache();
} else {
console.log(`Test ${testInfo.status}, skipping Midscene cache flush.`);
}
});
test('manual cache flush', async ({ agentForPage, page, aiTap, aiWaitFor }) => {
const agent = await agentForPage(page);
await aiTap('first highlighted link in the hero section');
await aiWaitFor('the detail page loads completely');
await agent.flushCache();
});
```
### Write-only mode
```typescript
// fixture.ts in sample code
export const test = base.extend(
PlaywrightAiFixture({
cache: { strategy: "write-only", id: "write-only-cache" },
}),
);
```
In write-only mode, each test will call the AI model and automatically write results to cache file without reading existing cache.
## Cache Cleaning
Midscene supports cleaning unused cache records when flushing cache to file, ensuring cache files stay lean and maintainable. This feature is **completely manual** and requires explicit call to `agent.flushCache({ cleanUnused: true })`.
### Manual Cleaning Mechanism
When calling `agent.flushCache({ cleanUnused: true })`, the system will:
1. **Keep used caches**: Cache records that were matched and used in the current run will be retained
2. **Keep new caches**: Cache records newly generated in the current run will be retained
3. **Remove unused caches**: Old cache records that were not accessed will be automatically deleted
4. **Write to file**: The cleaned cache will be written to file
### Usage
**Call in test afterEach:**
```javascript
describe('test suite', () => {
let resetFn: () => Promise;
let agent: PuppeteerAgent;
afterEach(async () => {
// Clean cache and write to file
if (agent) {
await agent.flushCache({ cleanUnused: true });
}
// Then close the page
if (resetFn) {
await resetFn();
}
});
it('test case', async () => {
const { originPage, reset } = await launchPage('https://example.com/');
resetFn = reset;
agent = new PuppeteerAgent(originPage, {
cache: { id: 'my-cache-id' },
});
// ... test logic
});
});
```
**For Playwright AI Fixture users:**
```typescript
test.afterEach(async ({ page, agentForPage }) => {
const agent = await agentForPage(page);
await agent.flushCache({ cleanUnused: true });
});
```
### Cleanup Behavior by Mode
- **read-write mode**: Calling `flushCache({ cleanUnused: true })` will clean and write to file
- **read-only mode**: Calling `flushCache({ cleanUnused: true })` will also clean and write to file (manual flush overrides read-only restriction)
- **write-only mode**: No cleanup (does not read cache)
**Note**: If you don't pass `cleanUnused: true` parameter, `flushCache()` will only write to file without cleaning unused caches.
## FAQ
### No cache file is generated
Please ensure you have correctly configured caching:
1. **Direct Agent creation**: Set `cache: { id: "your-cache-id" }` in the constructor
2. **Playwright AI Fixture mode**: Set `cache: true` or `cache: { id: "your-cache-id" }` in fixture configuration
3. **YAML script mode**: Set `agent.cache.id` in the YAML file
4. **Read-only mode**: Ensure you called the `agent.flushCache()` method
5. **Legacy approach**: Set `cacheId` and enable `MIDSCENE_CACHE=1` environment variable
### How to check if the cache is hit?
You can view the report file. If the cache is hit, you will see the `cache` tip and the time cost is obviously reduced.
### Why the cache is missed on CI?
You need to commit the cache files to the repository in CI and recheck the cache hit conditions.
### Does it mean that AI services are no longer needed after using cache?
No. Caching is the way to accelerate the execution, but it's not a tool for ensuring long-term script stability. We have noticed many scenarios where the cache may miss when the DOM structure changes. AI services are still needed to reevaluate the task when the cache miss occurs.
### How to manually remove the cache?
You can remove the cache file in the `./midscene_run/cache` directory, or edit the contents in the cache file.
### How to disable the cache for a single API?
You can use the `cacheable` option to disable the cache for a single API.
Please refer to the documentation of the corresponding [API](/reference.md#common) for details.
### Limitations of XPath in caching element location
Midscene uses [XPath](https://developer.mozilla.org/en-US/docs/Web/XML/XPath) to cache the element location. We are using a relatively strict strategy to prevent false matches. In these situations, the cache will not be accessed:
1. The text content of the new element at the same XPath is different from the cached element.
2. The DOM structure of the page is changed from the cached one.
Additionally, since element location caching relies on DOM structure, caching is not available in the following scenarios:
1. **Canvas elements**: Graphics content inside Canvas does not have DOM nodes and cannot be located via XPath.
2. **Cross-origin iframes**: Browser security policies restrict access to the internal DOM of cross-origin iframes.
3. **Shadow DOM (closed mode)**: Closed Shadow DOM cannot be accessed from outside.
4. **WebGL / Dynamic SVG content**: Dynamically generated graphics may not have a stable DOM structure.
When the cache is not hit or not available, the process will fall back to using AI services to find the element.
### Get more debug logs for caching
You can set the `DEBUG=midscene:cache:*` environment variable to get more debug logs for caching.
---
url: /changelog.md
---
> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.
# Changelog
## v1.18.2
### Changes
#### Features 🎉
- feat(android): expose an optional scrcpy encoder frame-rate hint by @quanruzhuoxiu in [https://github.com/web-infra-dev/midscene/pull/3416](https://github.com/web-infra-dev/midscene/pull/3416)
#### Fixes 🐞
- fix(core): scale model scroll distances from input image pixels by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3392](https://github.com/web-infra-dev/midscene/pull/3392)
- fix(site): use www documentation domain and repair outdated links by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3412](https://github.com/web-infra-dev/midscene/pull/3412)
- fix(core): reuse Jev reference images across planning rounds by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3407](https://github.com/web-infra-dev/midscene/pull/3407)
- fix(core): distinguish request and parse retry counts by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3417](https://github.com/web-infra-dev/midscene/pull/3417)
- fix(core): honor planner cache policy throughout aiAct by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3418](https://github.com/web-infra-dev/midscene/pull/3418)
#### Refactors ♻️
- refactor(core): reuse OpenRouter detection for Jev by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3405](https://github.com/web-infra-dev/midscene/pull/3405)
- refactor(core): clarify UI context naming by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3410](https://github.com/web-infra-dev/midscene/pull/3410)
#### Documentation 📖
- docs(site): document Ling 3.2 Flash model configuration by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3406](https://github.com/web-infra-dev/midscene/pull/3406)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.18.1...v1.18.2](https://github.com/web-infra-dev/midscene/compare/v1.18.1...v1.18.2)
## v1.18.1
### Changes
#### Features 🎉
- feat(core): add observe test runner node by @codeestX in [https://github.com/web-infra-dev/midscene/pull/3393](https://github.com/web-infra-dev/midscene/pull/3393)
#### Fixes 🐞
- fix(core): unwrap Qwen3 locate response arrays by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3400](https://github.com/web-infra-dev/midscene/pull/3400)
#### Documentation 📖
- docs(site): add Hy4 flash to model configuration by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3399](https://github.com/web-infra-dev/midscene/pull/3399)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.18.0...v1.18.1](https://github.com/web-infra-dev/midscene/compare/v1.18.0...v1.18.1)
## v1.18.0
### Highlights
#### Many new model integrations
This release includes support for three models for UI automation:
- **Qwen4-Max** (`qwen4-max`), with model family `qwen4`. [Qwen configuration guide](https://www.midscenejs.com/model-api-setup#qwen)
- **Tencent Hunyuan 4** (`hy4`), with model family `tencent-hy`. [Tencent Hunyuan configuration guide](https://www.midscenejs.com/model-api-setup#tencent-hy)
- **StepFun Step 3.7 Flash** (`step-3.7-flash`), with model family `step`. [StepFun configuration guide](https://www.midscenejs.com/model-api-setup#stepfun)
### Changes
#### Features 🎉
- feat(core): add OpenRouter reasoning parameter support by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3375](https://github.com/web-infra-dev/midscene/pull/3375)
- feat(core): add StepFun model adapter by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3391](https://github.com/web-infra-dev/midscene/pull/3391)
- feat(core): add Qwen4 model adapter by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3397](https://github.com/web-infra-dev/midscene/pull/3397)
#### Fixes 🐞
- fix(test): keep failure frames from the project's own packages folders by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3377](https://github.com/web-infra-dev/midscene/pull/3377)
- fix(test): escape Case and project names in the GitHub job summary by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3378](https://github.com/web-infra-dev/midscene/pull/3378)
- fix(core): clarify pinch distance semantics and API distance documentation by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3386](https://github.com/web-infra-dev/midscene/pull/3386)
- fix(core): include execution ID in Jev requests by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3389](https://github.com/web-infra-dev/midscene/pull/3389)
#### Refactors ♻️
- refactor(core): centralize OpenRouter reasoning parameters by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3388](https://github.com/web-infra-dev/midscene/pull/3388)
#### Documentation 📖
- docs(site): homepage copy clarity by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3382](https://github.com/web-infra-dev/midscene/pull/3382)
- docs(site): align Android preparation Node.js requirement by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3383](https://github.com/web-infra-dev/midscene/pull/3383)
- docs(site): add Tencent HY API setup and model cards by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3372](https://github.com/web-infra-dev/midscene/pull/3372)
- docs(site): add Browser Use as a CDP WebSocket URL source by @gregpr07 in [https://github.com/web-infra-dev/midscene/pull/3289](https://github.com/web-infra-dev/midscene/pull/3289)
- docs(site): clarify model initialization config overrides by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3387](https://github.com/web-infra-dev/midscene/pull/3387)
#### Other Changes
- revert(report): remove animated webp report poc by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3390](https://github.com/web-infra-dev/midscene/pull/3390)
#### New Contributors
- @gregpr07 made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3289](https://github.com/web-infra-dev/midscene/pull/3289)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.8...v1.18.0](https://github.com/web-infra-dev/midscene/compare/v1.17.8...v1.18.0)
## v1.17.8
### Changes
#### Features 🎉
- feat(core): add Tencent HY model adapter by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3362](https://github.com/web-infra-dev/midscene/pull/3362)
- feat(test): remove automatic credential redaction from run artifacts by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3371](https://github.com/web-infra-dev/midscene/pull/3371)
- feat(badge): support skipped test counts by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3380](https://github.com/web-infra-dev/midscene/pull/3380)
#### Fixes 🐞
- fix(webdriver): enforce request timeout through response body reads by @quanru in [https://github.com/web-infra-dev/midscene/pull/3232](https://github.com/web-infra-dev/midscene/pull/3232)
- fix(web-integration): honor explicit slow swipe durations by @quanru in [https://github.com/web-infra-dev/midscene/pull/3243](https://github.com/web-infra-dev/midscene/pull/3243)
- fix(core): clarify aiScroll node locator guidance by @codeestX in [https://github.com/web-infra-dev/midscene/pull/3353](https://github.com/web-infra-dev/midscene/pull/3353)
- fix(core): update vulnerable runtime dependencies by @quanru in [https://github.com/web-infra-dev/midscene/pull/3356](https://github.com/web-infra-dev/midscene/pull/3356)
- fix(badge): don't round a pass rate with failures to 100% by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3343](https://github.com/web-infra-dev/midscene/pull/3343)
- fix(test): show paths literally in the GitHub job summary by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3334](https://github.com/web-infra-dev/midscene/pull/3334)
- fix(workflow): upgrade security dependencies without overrides by @quanru in [https://github.com/web-infra-dev/midscene/pull/3358](https://github.com/web-infra-dev/midscene/pull/3358)
- fix(android): measure planning-frame age after clock recalibration by @wannT-1 in [https://github.com/web-infra-dev/midscene/pull/3364](https://github.com/web-infra-dev/midscene/pull/3364)
- fix(android): keep the reset packet count in the post-reset timeout error by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3363](https://github.com/web-infra-dev/midscene/pull/3363)
- fix(core): handle GPT image-edge bboxes and separate coordinate semantics by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3368](https://github.com/web-infra-dev/midscene/pull/3368)
- fix(test): omit misleading badges for failed runs by @quanru in [https://github.com/web-infra-dev/midscene/pull/3370](https://github.com/web-infra-dev/midscene/pull/3370)
- fix(test): keep parentheses in the file path of a failure frame by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3369](https://github.com/web-infra-dev/midscene/pull/3369)
- fix(ios): bound scroll gestures and propagate boundary failures by @quanru in [https://github.com/web-infra-dev/midscene/pull/3253](https://github.com/web-infra-dev/midscene/pull/3253)
- fix(harmony): reject reversed and stationary edge scrolls by @quanru in [https://github.com/web-infra-dev/midscene/pull/3241](https://github.com/web-infra-dev/midscene/pull/3241)
- fix(android): reject scrolls without room to move by @quanru in [https://github.com/web-infra-dev/midscene/pull/3242](https://github.com/web-infra-dev/midscene/pull/3242)
- fix(core): add quick mappings for scroll and swipe directions by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3156](https://github.com/web-infra-dev/midscene/pull/3156)
- fix(core): deduplicate cumulative planning context by @quanru in [https://github.com/web-infra-dev/midscene/pull/3254](https://github.com/web-infra-dev/midscene/pull/3254)
- fix(test): keep project config stable when filtering test paths by @gjreddy in [https://github.com/web-infra-dev/midscene/pull/3332](https://github.com/web-infra-dev/midscene/pull/3332)
- fix(web-integration): improve static report playground execution by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3090](https://github.com/web-infra-dev/midscene/pull/3090)
- fix(core): preserve invalid System One responses in reports by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3379](https://github.com/web-infra-dev/midscene/pull/3379)
#### Documentation 📖
- docs(site): add interactive get started guide by @ottomao in [https://github.com/web-infra-dev/midscene/pull/3335](https://github.com/web-infra-dev/midscene/pull/3335)
- docs(site): clarify MobileWorld GUI-only scope by @simplyme0823 in [https://github.com/web-infra-dev/midscene/pull/2901](https://github.com/web-infra-dev/midscene/pull/2901)
#### Testing 🧪
- test(workflow): finish migration to rstest and document SDK integration by @quanru in [https://github.com/web-infra-dev/midscene/pull/3359](https://github.com/web-infra-dev/midscene/pull/3359)
- test(android): isolate anonymous release asset fallback from CI tokens by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3381](https://github.com/web-infra-dev/midscene/pull/3381)
#### CI & Chore ⚙️
- chore(workflow): track midscene-action v1 tag by @await-ovo in [https://github.com/web-infra-dev/midscene/pull/3350](https://github.com/web-infra-dev/midscene/pull/3350)
#### New Contributors
- @gjreddy made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3343](https://github.com/web-infra-dev/midscene/pull/3343)
- @wannT-1 made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3364](https://github.com/web-infra-dev/midscene/pull/3364)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.7...v1.17.8](https://github.com/web-infra-dev/midscene/compare/v1.17.7...v1.17.8)
## v1.17.7
### Changes
#### Features 🎉
- feat(test): unify runtime artifact directories (PR3) by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3338](https://github.com/web-infra-dev/midscene/pull/3338)
#### CI & Chore ⚙️
- chore(core): support configurable locate prompt order and grouping by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3348](https://github.com/web-infra-dev/midscene/pull/3348)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.6...v1.17.7](https://github.com/web-infra-dev/midscene/compare/v1.17.6...v1.17.7)
## v1.17.6
### Changes
#### Features 🎉
- feat(badge): localize and redesign badge homepage by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3341](https://github.com/web-infra-dev/midscene/pull/3341)
- feat(test): add summary badges and improve badge site metadata by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3342](https://github.com/web-infra-dev/midscene/pull/3342)
- feat(web-integration): add CLI browser tab management by @quanru in [https://github.com/web-infra-dev/midscene/pull/3302](https://github.com/web-infra-dev/midscene/pull/3302)
- feat(core): expose public SIWC authorization entry by @quanru in [https://github.com/web-infra-dev/midscene/pull/3349](https://github.com/web-infra-dev/midscene/pull/3349)
#### Fixes 🐞
- fix(workflow): use dedicated badge deployment token by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3340](https://github.com/web-infra-dev/midscene/pull/3340)
- fix(core): clarify external abort errors by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3320](https://github.com/web-infra-dev/midscene/pull/3320)
- fix(core): respect model proxy settings in SIWC requests by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3330](https://github.com/web-infra-dev/midscene/pull/3330)
- fix(core): preserve arrays in aiQuery JSON responses by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3345](https://github.com/web-infra-dev/midscene/pull/3345)
- fix(core): locate Jev targets without a presence check by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3347](https://github.com/web-infra-dev/midscene/pull/3347)
#### Performance 🚀
- perf(workflow): speed up CI with bounded AI concurrency by @quanru in [https://github.com/web-infra-dev/midscene/pull/3333](https://github.com/web-infra-dev/midscene/pull/3333)
#### Testing 🧪
- test(report): run e2e files with isolated contexts at concurrency 3 by @await-ovo in [https://github.com/web-infra-dev/midscene/pull/3346](https://github.com/web-infra-dev/midscene/pull/3346)
#### CI & Chore ⚙️
- chore(badge): add badge service with GitHub Actions deployment by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3339](https://github.com/web-infra-dev/midscene/pull/3339)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.5...v1.17.6](https://github.com/web-infra-dev/midscene/compare/v1.17.5...v1.17.6)
## v1.17.5
### Changes
#### Features 🎉
- feat(test): host Agent records in unified reports (PR2) by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3326](https://github.com/web-infra-dev/midscene/pull/3326)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.4...v1.17.5](https://github.com/web-infra-dev/midscene/compare/v1.17.4...v1.17.5)
## v1.17.4
### Changes
#### Features 🎉
- feat(core): add mouse action: aiMiddleClick by @lufy90 in [https://github.com/web-infra-dev/midscene/pull/2812](https://github.com/web-infra-dev/midscene/pull/2812)
#### Fixes 🐞
- fix(core): preserve nested custom action parameter descriptions by @advance-hub in [https://github.com/web-infra-dev/midscene/pull/3305](https://github.com/web-infra-dev/midscene/pull/3305)
- fix(web-integration): honor replace mode for focused inputs without locate by @advance-hub in [https://github.com/web-infra-dev/midscene/pull/3296](https://github.com/web-infra-dev/midscene/pull/3296)
- fix(web-integration): align action hook option types with runtime arguments by @advance-hub in [https://github.com/web-infra-dev/midscene/pull/3322](https://github.com/web-infra-dev/midscene/pull/3322)
- fix(core): skip dump serialization without update listeners by @advance-hub in [https://github.com/web-infra-dev/midscene/pull/3323](https://github.com/web-infra-dev/midscene/pull/3323)
- fix(core): replace numbered point callout with badge-neutral centered marker by @NianZheChao in [https://github.com/web-infra-dev/midscene/pull/3096](https://github.com/web-infra-dev/midscene/pull/3096)
- fix(recorder): preserve input events across field changes and stop by @dakjdakd in [https://github.com/web-infra-dev/midscene/pull/3192](https://github.com/web-infra-dev/midscene/pull/3192)
- fix(test): publish GitHub summaries from the executable entry by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3321](https://github.com/web-infra-dev/midscene/pull/3321)
#### Documentation 📖
- docs(site): redesign homepage feature sections by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3317](https://github.com/web-infra-dev/midscene/pull/3317)
#### CI & Chore ⚙️
- chore(site): add provider selection to model configuration cards by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3328](https://github.com/web-infra-dev/midscene/pull/3328)
#### New Contributors
- @advance-hub made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3305](https://github.com/web-infra-dev/midscene/pull/3305)
- @lufy90 made their first contribution in [https://github.com/web-infra-dev/midscene/pull/2812](https://github.com/web-infra-dev/midscene/pull/2812)
- @NianZheChao made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3096](https://github.com/web-infra-dev/midscene/pull/3096)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.3...v1.17.4](https://github.com/web-infra-dev/midscene/compare/v1.17.3...v1.17.4)
## v1.17.3
### Changes
#### Features 🎉
- feat(core): add ant-ling model adapter by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3315](https://github.com/web-infra-dev/midscene/pull/3315)
- feat(report): add directory report artifact foundation (PR1) by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3312](https://github.com/web-infra-dev/midscene/pull/3312)
#### Refactors ♻️
- refactor(core): rename supportedTaskTypes to allowedTaskTypes by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3314](https://github.com/web-infra-dev/midscene/pull/3314)
#### Documentation 📖
- docs(site): clarify test entry points by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3310](https://github.com/web-infra-dev/midscene/pull/3310)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.2...v1.17.3](https://github.com/web-infra-dev/midscene/compare/v1.17.2...v1.17.3)
## v1.17.2
### Changes
#### Features 🎉
- feat(core): support custom endpoints for System One models by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3301](https://github.com/web-infra-dev/midscene/pull/3301)
#### Fixes 🐞
- fix(core): allow Jev as default model for supported tasks by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3308](https://github.com/web-infra-dev/midscene/pull/3308)
- fix(core): support Gemini 4 Argon by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3309](https://github.com/web-infra-dev/midscene/pull/3309)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.1...v1.17.2](https://github.com/web-infra-dev/midscene/compare/v1.17.1...v1.17.2)
## v1.17.1
### Changes
#### Features 🎉
- feat(test): support namespaces for Midscene Nodes by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3300](https://github.com/web-infra-dev/midscene/pull/3300)
#### Fixes 🐞
- fix(workflow): preserve MDX in release highlights by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3298](https://github.com/web-infra-dev/midscene/pull/3298)
- fix(site): restore v1.17 changelog videos by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3299](https://github.com/web-infra-dev/midscene/pull/3299)
#### Documentation 📖
- docs(site): sdk docs restructure by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3297](https://github.com/web-infra-dev/midscene/pull/3297)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.17.0...v1.17.1](https://github.com/web-infra-dev/midscene/compare/v1.17.0...v1.17.1)
## v1.17.0
### Highlights
#### Use your ChatGPT subscription
Authorize Midscene through Sign in with ChatGPT (SIWC) to call GPT models using your ChatGPT subscription allowance. The video below demonstrates the browser extension's sign-in and authorization flow. See [Use your ChatGPT subscription](https://www.midscenejs.com/chatgpt-subscription) for setup instructions.
#### Experimental Jev 1.14 support
Jev can handle planning, localization, and judgments, working with a general-purpose default model for tasks such as text input. See the [Jev configuration guide](https://www.midscenejs.com/model-api-setup#jev) for setup instructions and limitations.
The following measurements come from a single run of each demo. A step means one model call; latency excludes page actions and waits. Costs are in USD, calculated at $0.042 per million Jev input tokens, with output tokens free of charge.
##### Fruit tile matching: Jev only
Jev handles clicks and localization to clear all fruit pairs until the remaining count reaches zero. [View the execution report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/showcases/jev/fruits-tile-matching-report.html).
- Model latency per call: **0.887 seconds** on average, **0.774 seconds** at P50.
- Input usage: **6,761.4 tokens** per call on average, **101,421 tokens** in total.
- Model cost: **$0.000284** per call on average, **$0.00426** in total.
##### Registration form: Jev + DeepSeek
Jev handles clicks, localization, gender dropdown selection, and completion checks. DeepSeek generates input values for the email, password, and username fields to complete the registration form together. [View the execution report](https://lf3-static.bytednsdoc.com/obj/eden-cn/luljzkpt/ljhwZthlaukjlkulzlp/showcases/jev/register-form-report.html).
The following measurements **cover Jev only and exclude DeepSeek**:
- Model latency per call: **0.583 seconds** on average, **0.559 seconds** at P50.
- Input usage: **5,265.8 tokens** per call on average, **68,455 tokens** in total.
- Model cost: **$0.000221** per call on average, **$0.002875** in total.
### Changes
#### Fixes 🐞
- fix(chrome-extension): keep recorder screenshots on their source tab by @dakjdakd in [https://github.com/web-infra-dev/midscene/pull/3194](https://github.com/web-infra-dev/midscene/pull/3194)
- fix(workflow): stabilize Studio notarization and unblock release notices by @quanru in [https://github.com/web-infra-dev/midscene/pull/3294](https://github.com/web-infra-dev/midscene/pull/3294)
#### Refactors ♻️
- refactor(core): restructure Jev integration and planning delegation by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3295](https://github.com/web-infra-dev/midscene/pull/3295)
#### New Contributors
- @dakjdakd made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3194](https://github.com/web-infra-dev/midscene/pull/3194)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.16.5...v1.17.0](https://github.com/web-infra-dev/midscene/compare/v1.16.5...v1.17.0)
## v1.16.5
### Changes
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.16.4...v1.16.5](https://github.com/web-infra-dev/midscene/compare/v1.16.4...v1.16.5)
## v1.16.4
### Changes
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.16.3...v1.16.4](https://github.com/web-infra-dev/midscene/compare/v1.16.3...v1.16.4)
## v1.16.3
### Changes
#### Features 🎉
- feat(core): add SIWC auth mode and Chrome extension sign-in by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3287](https://github.com/web-infra-dev/midscene/pull/3287)
#### Documentation 📖
- docs(site): make model configuration sections easier to discover by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3292](https://github.com/web-infra-dev/midscene/pull/3292)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.16.2...v1.16.3](https://github.com/web-infra-dev/midscene/compare/v1.16.2...v1.16.3)
## v1.16.2
### Changes
#### Features 🎉
- feat(test): redesign CLI reporting and model usage summaries by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3285](https://github.com/web-infra-dev/midscene/pull/3285)
#### Fixes 🐞
- fix(workflow): diagnose Chrome Web Store OAuth failures by @quanru in [https://github.com/web-infra-dev/midscene/pull/3284](https://github.com/web-infra-dev/midscene/pull/3284)
- fix(core): keep trailing parenthesis in auto-glm finish message by @kwy404 in [https://github.com/web-infra-dev/midscene/pull/3190](https://github.com/web-infra-dev/midscene/pull/3190)
- fix(core): validate locate coordinate types strictly by @linhongyu510 in [https://github.com/web-infra-dev/midscene/pull/3068](https://github.com/web-infra-dev/midscene/pull/3068)
- fix(core): validate swipe action parameters by @linhongyu510 in [https://github.com/web-infra-dev/midscene/pull/3069](https://github.com/web-infra-dev/midscene/pull/3069)
- fix(workflow): build report dependencies and stabilize AI checks by @quanru in [https://github.com/web-infra-dev/midscene/pull/3290](https://github.com/web-infra-dev/midscene/pull/3290)
#### Documentation 📖
- docs(site): reorganize model setup and debugging guides by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3288](https://github.com/web-infra-dev/midscene/pull/3288)
- docs(site): standardize navigation capitalization by @ottomao in [https://github.com/web-infra-dev/midscene/pull/3291](https://github.com/web-infra-dev/midscene/pull/3291)
#### New Contributors
- @kwy404 made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3190](https://github.com/web-infra-dev/midscene/pull/3190)
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.16.1...v1.16.2](https://github.com/web-infra-dev/midscene/compare/v1.16.1...v1.16.2)
## v1.16.1
### Changes
#### Features 🎉
- feat(test): add file concurrency with maxConcurrentFiles by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3259](https://github.com/web-infra-dev/midscene/pull/3259)
#### Fixes 🐞
- fix(playground): isolate reports between executions by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3252](https://github.com/web-infra-dev/midscene/pull/3252)
#### Documentation 📖
- docs(site): add GitHub Actions guide for Midscene Test by @await-ovo in [https://github.com/web-infra-dev/midscene/pull/3263](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](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/3282)
#### Testing 🧪
- 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](https://github.com/web-infra-dev/midscene/pull/3275)
#### New Contributors
- @await-ovo made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3263](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](https://github.com/web-infra-dev/midscene/compare/v1.16.0...v1.16.1)
## v1.16.0
### Highlights
#### Jev 1.4 support: faster, lower-cost visual E2E testing
Midscene now supports Jev 1.4, continuing our focus on visual understanding to drive UI automation. With this integration, developers can experience faster, lower-cost E2E testing. See the [Jev configuration guide](https://www.midscenejs.com/model-common-config#jev) for setup instructions and the current experimental limitations.
In the tile-matching game test shown in the demo below, 28 model calls were made, with model inference averaging **393.57 ms (approximately 0.39 seconds) per call**. Each call averaged **5,025 input tokens** and **67 output tokens**, at a model cost of approximately **$0.000211 per call**. This is calculated at $0.042 per million input tokens, with output tokens free of charge.
### Changes
**Full Changelog**: [https://github.com/web-infra-dev/midscene/compare/v1.15.6...v1.16.0](https://github.com/web-infra-dev/midscene/compare/v1.15.6...v1.16.0)
## v1.15.6
### Changes
#### Features 🎉
- feat(llm): add dedicated locate model configuration by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3268](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](https://github.com/web-infra-dev/midscene/pull/3271)
#### CI & Chore ⚙️
- chore(core): redesign introduction page by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3267](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](https://github.com/web-infra-dev/midscene/compare/v1.15.5...v1.15.6)
## v1.15.5
### Changes
#### Features 🎉
- feat(web): add Puppeteer test runner nodes by @quanru in [https://github.com/web-infra-dev/midscene/pull/3160](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](https://github.com/web-infra-dev/midscene/pull/3245)
#### Fixes 🐞
- fix(core): preserve aiAct reference images for independent locating by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3257](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](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](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/3269)
#### CI & Chore ⚙️
- chore(core): add a highlight section to release note by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3256](https://github.com/web-infra-dev/midscene/pull/3256)
#### New Contributors
- @resonlei made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3225](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](https://github.com/web-infra-dev/midscene/compare/v1.15.4...v1.15.5)
## v1.15.4
### Changes
2026-10-14 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.15.4)
#### Features 🎉
- feat(test): add TodoMVC create starters and example sync by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3210](https://github.com/web-infra-dev/midscene/pull/3210)
#### Fixes 🐞
- fix(site): restore x profile link in ios showcases by @ottomao in [https://github.com/web-infra-dev/midscene/pull/3145](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](https://github.com/web-infra-dev/midscene/pull/3251)
#### Documentation 📖
- docs(core): guide to use chatgpt subscription by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3248](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](https://github.com/web-infra-dev/midscene/compare/v1.15.3...v1.15.4)
## v1.15.3
### Changes
2026-10-13 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.15.3)
#### Features 🎉
- feat(test): generate Markdown results after each test run by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3240](https://github.com/web-infra-dev/midscene/pull/3240)
#### Fixes 🐞
- fix(test): clarify project creation guidance and test reference by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3229](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](https://github.com/web-infra-dev/midscene/compare/v1.15.2...v1.15.3)
## v1.15.2
### Changes
2026-10-12 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.15.2)
#### Fixes 🐞
- fix(core): drain cancelled operations before runner continuation by @codeestX in [https://github.com/web-infra-dev/midscene/pull/3216](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](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](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](https://github.com/web-infra-dev/midscene/pull/3226)
#### Documentation 📖
- docs(site): add Rome OS and reorder homepage users by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3231](https://github.com/web-infra-dev/midscene/pull/3231)
#### CI & Chore ⚙️
- ci(workflow): increase AI network connection attempt timeout by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3230](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](https://github.com/web-infra-dev/midscene/compare/v1.15.1...v1.15.2)
## v1.15.1
### Changes
2026-10-12 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.15.1)
#### Fixes 🐞
- fix(test): load tsx through its ESM entry for project configs by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3227](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](https://github.com/web-infra-dev/midscene/compare/v1.15.0...v1.15.1)
## v1.15.0
### Changes
2026-10-10 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.15.0)
#### Features 🎉
- feat(core): add custom action readiness hook by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3133](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](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](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](https://github.com/web-infra-dev/midscene/pull/3215)
#### Fixes 🐞
- fix(report): prepare timeline screenshots in atomic groups by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3211](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](https://github.com/web-infra-dev/midscene/pull/3212)
#### Refactors ♻️
- refactor(cli): nest SIWC credentials with file metadata by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3220](https://github.com/web-infra-dev/midscene/pull/3220)
#### Documentation 📖
- docs(site): refresh homepage messaging and layout by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3204](https://github.com/web-infra-dev/midscene/pull/3204)
#### CI & Chore ⚙️
- chore(docs): update homepage by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3219](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](https://github.com/web-infra-dev/midscene/compare/v1.14.0...v1.15.0)
## v1.14.0
### Changes
2026-09-29 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.14.0)
#### Features 🎉
- feat(web-integration): add BrowserAgent page selection actions by @quanru in [https://github.com/web-infra-dev/midscene/pull/2774](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](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](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](https://github.com/web-infra-dev/midscene/pull/3161)
#### Fixes 🐞
- fix(core): record HTTP responses on model parsing failures by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3185](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](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](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](https://github.com/web-infra-dev/midscene/pull/3203)
#### Refactors ♻️
- refactor(core): configure locate result keys and aliases by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3189](https://github.com/web-infra-dev/midscene/pull/3189)
#### Documentation 📖
- docs(site): consolidate images under a dedicated directory by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3186](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](https://github.com/web-infra-dev/midscene/compare/v1.13.3...v1.14.0)
## v1.13.3
### Changes
2026-09-23 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.13.3)
#### Features 🎉
- feat(test): expose run health metrics and inline report assets by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3172](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](https://github.com/web-infra-dev/midscene/compare/v1.13.2...v1.13.3)
## v1.13.2
### Changes
2026-09-23 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.13.2)
#### Fixes 🐞
- fix(computer): avoid encoded PowerShell transport on Windows by @quanru in [https://github.com/web-infra-dev/midscene/pull/3166](https://github.com/web-infra-dev/midscene/pull/3166)
#### Documentation 📖
- docs(site): add GPT-6 Sol and Luna model guidance by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3182](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](https://github.com/web-infra-dev/midscene/pull/3179)
#### CI & Chore ⚙️
- chore(test): generate separate node references for each project by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3181](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](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](https://github.com/web-infra-dev/midscene/compare/v1.13.1...v1.13.2)
## v1.13.1
### Changes
2026-09-22 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.13.1)
#### Features 🎉
- feat(report): redesign test reports and unify timeline interactions by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3174](https://github.com/web-infra-dev/midscene/pull/3174)
#### Fixes 🐞
- fix(cli): allow sequential YAML files to reuse one page by @quanru in [https://github.com/web-infra-dev/midscene/pull/3164](https://github.com/web-infra-dev/midscene/pull/3164)
#### Documentation 📖
- docs(site): update Xiaomi MiMo model guidance by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3176](https://github.com/web-infra-dev/midscene/pull/3176)
#### CI & Chore ⚙️
- chore(workflow): upgrade rstest to 0.12.0 by @fi3ework in [https://github.com/web-infra-dev/midscene/pull/3178](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](https://github.com/web-infra-dev/midscene/compare/v1.13.0...v1.13.1)
## v1.13.0
### Changes
2026-09-20 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.13.0)
#### Features 🎉
- feat(test): unify native Test and legacy YAML execution and reporting by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3139](https://github.com/web-infra-dev/midscene/pull/3139)
#### Fixes 🐞
- fix(report): support dark mobile tabs by @quanru in [https://github.com/web-infra-dev/midscene/pull/3162](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](https://github.com/web-infra-dev/midscene/pull/3165)
#### Documentation 📖
- docs(site): generalize GPT original detail limitations by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3163](https://github.com/web-infra-dev/midscene/pull/3163)
#### New Contributors
- @Amour1688 made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3165](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](https://github.com/web-infra-dev/midscene/compare/v1.12.9...v1.13.0)
## v1.12.9
### Changes
2026-09-17 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.9)
#### Features 🎉
- feat(computer): support desktop swipe gestures by @quanru in [https://github.com/web-infra-dev/midscene/pull/3144](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/3154)
#### Fixes 🐞
- fix(harmony): convert swipe duration to HDC speed by @quanru in [https://github.com/web-infra-dev/midscene/pull/3149](https://github.com/web-infra-dev/midscene/pull/3149)
#### Refactors ♻️
- refactor(core): centralize model request lifecycle and protocol calls by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3147](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](https://github.com/web-infra-dev/midscene/compare/v1.12.8...v1.12.9)
## v1.12.8
### Changes
2026-09-16 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.8)
#### Fixes 🐞
- fix(core): retry invalid planning action parameters by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3138](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](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](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](https://github.com/web-infra-dev/midscene/compare/v1.12.7...v1.12.8)
## v1.12.7
### Changes
2026-09-15 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.7)
#### Fixes 🐞
- fix(core): clarify and validate scroll and swipe actions by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3134](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](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](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/3140)
#### Documentation 📖
- docs(site): add application knowledge guide and update context examples by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3143](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](https://github.com/web-infra-dev/midscene/compare/v1.12.6...v1.12.7)
## v1.12.6
### Changes
2026-09-10 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.6)
#### Features 🎉
- feat(report): add unified Midscene Test reports with visual debugging by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3109](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](https://github.com/web-infra-dev/midscene/pull/3111)
#### Fixes 🐞
- fix(core): collect streaming usage through stream completion by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3117](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](https://github.com/web-infra-dev/midscene/pull/3094)
#### Refactors ♻️
- refactor(core): split model service caller by protocol by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3116](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](https://github.com/web-infra-dev/midscene/pull/3123)
#### Documentation 📖
- docs(site): fix reference callout boundary and section headings by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3121](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](https://github.com/web-infra-dev/midscene/pull/3131)
#### CI & Chore ⚙️
- 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](https://github.com/web-infra-dev/midscene/pull/3115)
#### New Contributors
- @LawisChen made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3111](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](https://github.com/web-infra-dev/midscene/compare/v1.12.5...v1.12.6)
## v1.12.5
### Changes
2026-09-08 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.5)
#### Features 🎉
- feat(test): add 'create' command to create testing project by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3102](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](https://github.com/web-infra-dev/midscene/pull/3110)
#### Fixes 🐞
- fix(computer): smooth native drag trajectory by @quanru in [https://github.com/web-infra-dev/midscene/pull/3098](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](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](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](https://github.com/web-infra-dev/midscene/pull/3113)
#### Refactors ♻️
- refactor(core): use authoritative centers throughout localization by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3100](https://github.com/web-infra-dev/midscene/pull/3100)
#### Documentation 📖
- docs(site): unify Midscene Test branding by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3106](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](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](https://github.com/web-infra-dev/midscene/pull/3112)
#### CI & Chore ⚙️
- ci(workflow): add `notify_stable_release` dispatch option to toggle IM notifications by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3107](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](https://github.com/web-infra-dev/midscene/compare/v1.12.4...v1.12.5)
## v1.12.4
### Changes
2026-09-07 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.4)
#### Features 🎉
- feat(core): support scoped AI contexts and stateless Test Runner workflows by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3065](https://github.com/web-infra-dev/midscene/pull/3065)
#### Fixes 🐞
- fix(computer): handle Linux delayed input by @simplyme0823 in [https://github.com/web-infra-dev/midscene/pull/3081](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/3044)
#### Performance 🚀
- perf(shared): cache system Chrome path resolution by @quanru in [https://github.com/web-infra-dev/midscene/pull/3052](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](https://github.com/web-infra-dev/midscene/pull/3054)
#### Documentation 📖
- docs(core): update overview for test runner by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3092](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](https://github.com/web-infra-dev/midscene/pull/3093)
#### Testing 🧪
- test(web-integration): expand input E2E coverage by @quanruzhuoxiu in [https://github.com/web-infra-dev/midscene/pull/2953](https://github.com/web-infra-dev/midscene/pull/2953)
#### CI & Chore ⚙️
- chore(test): align node contracts with agent APIs by @yuyutaotao in [https://github.com/web-infra-dev/midscene/pull/3101](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](https://github.com/web-infra-dev/midscene/compare/v1.12.3...v1.12.4)
## v1.12.3
### Changes
2026-09-02 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.3)
#### Features 🎉
- feat(core): add configurable text input strategies by @quanruzhuoxiu in [https://github.com/web-infra-dev/midscene/pull/3042](https://github.com/web-infra-dev/midscene/pull/3042)
#### Fixes 🐞
- fix(android): recover static scrcpy screenshots in-band by @quanru in [https://github.com/web-infra-dev/midscene/pull/3074](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](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](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/3084)
#### Refactors ♻️
- refactor(core): decouple model interaction protocols by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3070](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](https://github.com/web-infra-dev/midscene/pull/3073)
#### Documentation 📖
- docs(site): refresh homepage model strategy cards by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3035](https://github.com/web-infra-dev/midscene/pull/3035)
#### CI & Chore ⚙️
- chore(workflow): migrate core to rstest by @fi3ework in [https://github.com/web-infra-dev/midscene/pull/3033](https://github.com/web-infra-dev/midscene/pull/3033)
#### Other Changes
- style(site): polish homepage toolkit cards and dividers by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3078](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](https://github.com/web-infra-dev/midscene/compare/v1.12.2...v1.12.3)
## v1.12.2
### Changes
2026-08-28 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.2)
#### Features 🎉
- feat(core): apply preferred language to planning details by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3062](https://github.com/web-infra-dev/midscene/pull/3062)
#### Fixes 🐞
- fix(android): avoid scrcpy server upload memory leak by @quanru in [https://github.com/web-infra-dev/midscene/pull/3048](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](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](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](https://github.com/web-infra-dev/midscene/pull/3049)
#### Refactors ♻️
- refactor(core): organize DeepSeek model files by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3059](https://github.com/web-infra-dev/midscene/pull/3059)
#### Documentation 📖
- docs(site): add appcontrolbench by @simplyme0823 in [https://github.com/web-infra-dev/midscene/pull/3031](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](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](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](https://github.com/web-infra-dev/midscene/compare/v1.12.1...v1.12.2)
## v1.12.1
### Changes
2026-08-27 · [GitHub Release](https://github.com/web-infra-dev/midscene/releases/tag/v1.12.1)
#### Features 🎉
- feat(site): implement the V4 homepage design by @xiong35 in [https://github.com/web-infra-dev/midscene/pull/3025](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](https://github.com/web-infra-dev/midscene/pull/3026)
#### Fixes 🐞
- fix(android): adopt upstream ADB disconnect fix by @quanru in [https://github.com/web-infra-dev/midscene/pull/3016](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](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](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](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](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](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](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](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](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](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](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](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](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](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](https://github.com/web-infra-dev/midscene/pull/2888)
#### Documentation 📖
- docs(site): update DeepSeek card description by @EAGzzyCSL in [https://github.com/web-infra-dev/midscene/pull/3036](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](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](https://github.com/web-infra-dev/midscene/pull/3039)
#### Testing 🧪
- test(report): verify screenshot pixel integrity by @linhongyu510 in [https://github.com/web-infra-dev/midscene/pull/2976](https://github.com/web-infra-dev/midscene/pull/2976)
#### CI & Chore ⚙️
- chore(workflow): migrate cli and web-integration to rstest by @fi3ework in [https://github.com/web-infra-dev/midscene/pull/3007](https://github.com/web-infra-dev/midscene/pull/3007)
#### Other Changes
- 支持bridge 模式创建不打扰用户的 tab by @RainMountainCao in [https://github.com/web-infra-dev/midscene/pull/3038](https://github.com/web-infra-dev/midscene/pull/3038)
#### New Contributors
- @RainMountainCao made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3038](https://github.com/web-infra-dev/midscene/pull/3038)
- @dajiaohuang made their first contribution in [https://github.com/web-infra-dev/midscene/pull/3030](https://github.com/web-infra-dev/midscene/pull/3030)
- @linhongyu510 made their first contribution in [https://github.com/web-infra-dev/midscene/pull/2976](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](https://github.com/web-infra-dev/midscene/compare/v1.12.0...v1.12.1)
## v1.12 - DeepSeek V4, Midscene Test, and Report Timing Summaries
v1.12 adds DeepSeek V4 vision model support, introduces Midscene Test (Beta), and adds timing summaries to reports.
### DeepSeek V4 Vision Model Support
- Added support for `deepseek-v4-flash-vision-exp`. See [Common Model Configuration](/model-api-setup.md#deepseek) for setup and [Midscene 1.12: Support for DeepSeek V4 Flash Vision Exp Multimodal Model](https://medium.com/@midscene/midscene-1-12-support-for-deepseek-v4-flash-vision-exp-multimodal-model-f87395075114?postPublishedType=initial) for details.
### Midscene Test (Beta)
- Added `@midscene/test` for natural-language tests in YAML with TypeScript Node extensions. Midscene Test will gradually replace the legacy YAML automation solution; its protocol and APIs remain in Beta. See the [Midscene Test overview](/midscene-test/overview.md).
### Reports and Reliability
- The Report sidebar now shows total elapsed time and model-call time. Markdown reports also summarize time and token usage by model.
- The screenshot pipeline now saves observation frames as JPEG, reducing the storage footprint of run artifacts.
- Fixed resource resolution for external yadb and scrcpy binaries in Electron ASAR packages.
## v1.11 - Cross-Platform Reliability Improvements
v1.11 improves model verification, mobile input, and report generation reliability.
### Reliability and Documentation
- Fixed the model verification callback losing its Playground SDK method context.
- Fixed HarmonyOS explicit app launches failing to resolve declared abilities or mapped launch targets.
- Android and HarmonyOS now select all text before clearing an input, improving compatibility across input methods and controls.
- Playwright report filenames are now bounded and collision-resistant, preventing `ENAMETOOLONG` failures from long titles.
- Added execution cost data to the Doubao Seed Android showcase.
## v1.10 - BDD-Style Scripts, Doubao-Seed-2.1, and MCP Retirement
v1.10 adds BDD-style Gherkin script execution, upgrades the recommended Doubao model to Doubao-Seed-2.1, and formally retires MCP server packages. Going forward, use Skills and the platform CLIs when AI agents need to drive Midscene.
### BDD-Style Scripts with Gherkin
- Added `agent.runGherkinScenario()` for running Gherkin scenarios directly from JavaScript / TypeScript.
- Added the `runGherkinScenario` step for YAML flows, so natural-language scenarios can be written as `Given` / `When` / `Then` steps and executed in order.
- `Given` / `When` map to `aiAct`, while `Then` and following `And` / `But` steps map to `aiAssert`. This keeps test cases readable in natural language while giving them a stable step structure.
- Midscene currently supports a single-`Scenario` subset of Gherkin. BDD-related capabilities are still in Beta. See: [BDD-Style Scripts with Gherkin](/advanced/bdd-style-scripts-with-gherkin.md)
### New Model Support
- Recommended and supported `Doubao-Seed-2.1-turbo`, which has very fast localization speed and strong localization quality in our current private evaluation set.
- The Doubao Seed family now uses `MIDSCENE_MODEL_FAMILY="doubao-seed"`, while the legacy `doubao-vision` family remains compatible. See: [Common Model Configuration](/model-api-setup.md#doubao-seed-model), [Model Strategy](/model-selection.md)
### MCP Retirement
- Midscene no longer ships MCP server packages, including `@midscene/web-bridge-mcp`, `@midscene/android-mcp`, `@midscene/ios-mcp`, `@midscene/harmony-mcp`, `@midscene/computer-mcp`, and `@midscene/mcp`.
- Use [Skills](/skills.md) and the platform CLIs when AI coding agents need to operate browsers, mobile devices, or desktop apps.
- If you still depend on MCP servers, pin Midscene to `1.9.8`. This is the final version that includes MCP support. See: [MCP Integration Has Been Retired](/mcp.md)
## v1.9 - New Model Support, YAML Automation, and AndroidWorld Benchmark
v1.9 expands model support, improves YAML automation, and makes reports, Android automation, Web input, and desktop automation more reliable.
### AndroidWorld Benchmark
Midscene now includes an AndroidWorld benchmark report. With v1.9.5, Midscene achieved **Pass\@1 93.10%**, **Pass\@2 95.69%**, and **Pass\@3 97.41%** in this benchmark. See: [AndroidWorld Benchmark Report](/android-world-benchmark-report.md)
### New Model Support
- Added Kimi and Xiaomi MiMo model support. See: [Common Model Configuration](/model-api-setup.md)
### Model and Planning Updates
- `aiAct` now supports image prompts.
- `MIDSCENE_MODEL_REASONING_ENABLED` now supports `default`, so Midscene can follow each model family's default thinking behavior.
- Gemini thinking content and GPT-5 reasoning configuration are now handled more completely.
- `aiAct` falls back to model planning when a cached plan becomes invalid, and clears the corresponding cache entry.
- AI request errors now include retry-attempt details, parse failures preserve raw model responses, and parsed locate results are validated before use.
- Model dumps now expose more model response metadata, including raw choice messages and response model names in usage data.
- The `deepLocate` search area is now displayed in reports.
### Chrome Extension
- Chrome extension Bridge mode now supports file upload.
- Bridge-mode file uploads now honor file chooser accept filters and WSL file paths.
### YAML, CLI, and MCP
- `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.
- Platform CLIs now accept agent behavior init args.
- 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.md), [HarmonyOS API](/sdk/harmonyos.md)
- YAML Web config supports custom HTTP headers for browser automation.
- YAML Web config supports `downloadPath` for browser downloads.
- YAML runs now surface real execution errors instead of ending as a silent "not executed" case.
- YAML batch runs can retry failed cases.
- Successful YAML runs now print the report path.
- Explicit YAML report file names are now honored.
- CLI / MCP / Skill flows can expose `deepLocate` / `deepThink` controls through shared flags.
- Assert CLI / MCP tooling forwards custom failure messages to make assertion failures clearer.
- The CLI resolves `@rstest/core` from the CLI package itself and lazy-loads Rstest core, making framework runs more stable from external launch paths.
### Reports
- `recordToReport` now supports custom screenshots.
- Report exports keep image paths aligned with exported screenshots.
- Reports include a JSON tree view for inspecting structured task and model data.
- Report screenshots, labels, playground server origin handling, and context spacing were refined.
### Studio and Recorder
- Studio recorder descriptions and preview input coalescing were stabilized.
- Studio now handles invalid model environment configuration more safely.
- Recorder workflows can generate Markdown replay output.
### Android Automation
- Android action controls and planning guidance were improved for native mobile automation flows.
### Computer Automation
- Computer desktop automation now ships Intel packaging.
- Libnut scrolling now emits one full wheel delta per scroll tick.
### Bug Fixes
- Fixed `longPress` duration in Web integration being capped at 600ms.
- Fixed dropped characters when Web input fields re-render during typing.
- Fixed HarmonyOS MCP startup failures caused by `photon` / `sharp` WASM initialization in some environments.
- Fixed blank first-frame screenshots in Computer RDP sessions.
- Self-healed missing execute permission on the Computer phased-scroll helper.
- Added a warning for elevated Windows app input drops.
- Added IPv6 RDP host support for Computer automation.
### Documentation Updates
- Documented Azure OpenAI-compatible endpoint setup.
## v1.8 - Midscene Studio Desktop App & Multi-Platform Enhancements
v1.8 introduces **Midscene Studio**, a brand-new desktop application, alongside new interaction APIs (long press / clear input), refined model planning behavior, and broad upgrades across device integrations, the report system, and the MCP toolset.
### Midscene Studio — A New Desktop Application (Beta)
Midscene Studio is an Electron-based desktop app that brings every Midscene playground into a single native shell. It is currently in **Beta** — download the current Studio build from the [latest release page](https://github.com/web-infra-dev/midscene/releases/latest) by choosing a `midscene-studio-beta-*` asset, try it out, and let us know what works (and what doesn't):
- **Multi-platform playground**: Switch seamlessly between Web, Android, iOS, HarmonyOS, and Computer playgrounds inside the same Studio app
- **Interactive device preview**: Manually drive Android / iOS / HarmonyOS device previews with mouse and touch input; Web preview supports live streaming
#### Coming next: record-to-replay Midscene scripts inside Studio
We're building a full record → script → replay loop into Studio: drive a real device inside Studio, automatically capture the interaction as a structured Midscene script, then replay, debug, and export it without leaving the app. The capability will roll out across upcoming releases — stay tuned.
### YAML Workflow Enhancements
- **Android `runAdbShell` timeout**: A `timeout` option is now accepted in both the JavaScript API and YAML scripts. See: [Android API](/sdk/android.md), [Automate with Scripts in YAML](/automate-with-scripts-in-yaml.md)
### New Interaction APIs
- **`agent.aiLongPress()`**: Long-press a target element to trigger long-press menus and similar gestures. See: [API Reference](/reference.md#agentailongpress)
- **`agent.aiClearInput()`**: Clear the contents of an input field, ideal when clearing needs to be its own step. See: [API Reference](/reference.md#agentaiclearinput)
### Device and Platform Integrations
- **iOS external WDA sessions**: iOS now supports connecting to existing WebDriverAgent sessions, making it easier to reuse an external WDA setup
- **Pluggable iOS device implementation**: The iOSDevice implementation can be overridden, enabling deeper extension or customization
- **Computer remote desktop**: RDP connection options are now exposed through Computer MCP / CLI connection tools, letting you take over a remote Windows desktop directly
- **`agentForComputer` rename**: `agentForComputer` is introduced as the primary API; the original `agentFromComputer` is kept as a deprecated alias
- **Puppeteer CLI viewport options**: The Puppeteer CLI now accepts viewport configuration, so you can size the browser at launch from the command line
### Model and Planning Behavior
- **Usage intent decoupled from config slot**: Model usage intent is now tracked separately from resolved config slots, making multi-model planning, locating, and report display clearer
- **Native thinking off by default**: For supported model families, Midscene now disables model-native thinking by default to improve execution speed and stability. See: [Model-Native Thinking Mode](/model-config.md#model-native-reasoning)
- **Doubao fast tier**: Doubao fast tier configuration is now supported through `MIDSCENE_MODEL_EXTRA_BODY_JSON={"service_tier":"fast"}`. See: [Common Model Configuration](/model-api-setup.md)
- **GLM-5V-Turbo support**: Added support for Zhipu GLM-5V-Turbo. See: [Common Model Configuration](/model-api-setup.md)
- **Better scrollable select planning**: Planning for scrollable selects (dropdowns, scroll wheels) is more reliable in complex scenarios
### MCP and Platform CLIs
- **New `assert` MCP tool**: The MCP server now exposes an assertion tool backed by `aiAssert`, so AI assistants can run assertions directly. See: [MCP](/mcp.md)
- **Image prompts in assert**: The assert CLI / MCP tool now accepts images as prompt input, so you can assert against a reference image
- **Bare init args in platform CLIs**: Platform CLIs simplify argument passing and now accept platform Agent constructor options directly
- **Playwright fixture passes Agent options through**: `PlaywrightAiFixture` now forwards `PlaywrightAgent` constructor options, so you can customize the Agent while keeping the fixture
### Report System
- **CLI report merging**: A new `report-tool merge` subcommand lets you combine multiple report files into one for centralized review
- **Screenshot tool calls recorded in reports**: `take_screenshot` invocations now appear in reports, easing diagnosis of screenshot-related issues
### Chrome Extension
- **Automated Chrome Web Store publishing**: The Chrome Web Store extension release pipeline is now fully automated, shortening release cycles
### Bug Fixes
- Fixed `aiAct` completion being emitted before actions actually run
- Fixed insight prompts prioritizing reference images over the current screenshot in some cases
- Fixed Bridge attachment after new-tab navigation
- Fixed Playground tap projection on iOS / HarmonyOS / Computer
- Fixed HarmonyOS per-call `autoDismissKeyboard`
- Fixed excessive Android Playground video streaming memory usage
- Fixed Computer scroll default distance not matching Web
- Fixed out-of-range bbox handling for models that return normalized `[0,1000]` coordinates
- Fixed `aiAct` options not being inherited in Bridge mode
- Fixed Action API return values diverging from the documented shape
- Fixed `maxTokens` not aligning with intent model config
- Fixed server port probing on a non-`0.0.0.0` host that did not match the actual listen host
- Fixed `deepThink` dump flag being lost in reports
- Fixed sporadic dropped characters when typing on iOS
- Fixed unwanted HarmonyOS system action delay overrides
## v1.7 - Flexible Report File Consumption, with Qwen 3.6 Support
### Flexible Report File Consumption
Starting in v1.7.0, you can extract raw screenshots and JSON data from report files, or convert reports into Markdown so other tools can continue consuming that content.
## Example
You can parse a report file into a Markdown file like this:
```md
# Act - Search for and play videos related to Midscene
- Execution start: 2026-04-08T02:13:04.795Z
- Task count: 21
## 1. Plan - Click the top search box to activate input
- Status: finished
- Start: 2026-04-08T02:13:04.845Z
- End: 2026-04-08T02:13:15.296Z
- Cost(ms): 10451
- Screen size: 2880 x 1536

.....
```
You can then use the [Remotion Skill](https://www.remotion.dev/docs/ai/skills?utm_source=midscenejs) to parse that Markdown file and generate a customized replay video.
The generated video looks like this:
Midscene supports parsing report files through either the CLI or the JavaScript SDK. See: [Consume Report Files](/consume-report-file.md)
### Qwen 3.6 Model Support
Added support for the Qwen 3.6 model, so you can use the latest Qwen model in Midscene. See: [Model Config](/model-config.md)
### Chrome Extension Recording Language Setting
A new YAML output language option is available in the Chrome extension's recording settings, supporting English, Chinese, Japanese, and more. You can also set it to Auto to follow the system language.
### Android / HarmonyOS Improvements
- Added `terminate` action on Android and HarmonyOS to force-stop apps, useful for resetting app state during testing. See: [Android API](/sdk/android.md), [HarmonyOS API](/sdk/harmonyos.md)
- Fixed placeholder text unexpectedly retained when typing on X/Twitter on Android
- Fixed Android Playground LAN access issues
### Debugging Improvements
- Execution logs can now be saved to disk for post-hoc troubleshooting
- Playground config page now supports running a connectivity test when saving model config, catching configuration errors early
- Skill CLI `run` command now supports passing images as prompts via the `--image` flag
### Bug Fixes
- Fixed unclear error messages when file chooser encounters missing files
- Fixed incomplete error collection in CLI batch runner summary
- Fixed `aiScroll` indentation formatting errors in YAML scripts
- Fixed inaccurate `aiLocate` element bounding box
- Fixed missing fallback when screenshot capture fails
- Fixed incorrect handling of empty model responses in some cases
- Fixed tab reuse issues in CDP connection mode
- Fixed `aiQuery` result missing under certain data structures
- Fixed AutoGLM app launch parameter format issue
- Fixed dropdown display issues in Playground
- Fixed custom request header aliases not working in model config
## v1.6 - CDP Connection, Pinch/Zoom & Multi-Model Enhancements
v1.6 adds CDP browser connection mode, cross-platform pinch/zoom gestures, GPT-5/GPT-5.4 model support, along with improvements to element locating, report system, Chrome extension, and more.
### CDP Browser Connection Mode
You can now connect to an existing browser instance via CDP (Chrome DevTools Protocol) for automation, without having Midscene launch a new browser. This is useful when you need to reuse an existing browser session. See: [Skills - Browser Automation](/skills.md), [YAML Script Runner - CDP Mode](/yaml-script-runner.md#use-cdp-connection-mode)
### Cross-Platform Pinch/Zoom Gestures
Pinch/zoom gestures are now supported on Android, iOS, and HarmonyOS, enabling use cases like map zooming and image preview. See: [API Reference - aiPinch](/reference.md#agentaipinch)
### GPT-5 / GPT-5.4 & Codex App-Server Provider Support
Added support for GPT-5, GPT-5.4 models and Codex app-server provider. You can now use the latest OpenAI models for visual understanding and automation. See: [Model Config](/model-config.md), [Model Strategy](/model-selection.md)
### Custom extraBody for Model Requests
A new `extraBody` configuration allows you to pass additional custom parameters in model API requests, useful for specific model deployments or environments. See the [`MIDSCENE_MODEL_EXTRA_BODY_JSON` environment variable](/model-config.md#advanced-settings-optional) in Advanced Settings.
### `deepThink` Renamed to `deepLocate`
The `deepThink` parameter in element-locating APIs has been renamed to `deepLocate` to better describe its "deep locate" purpose. The original `deepThink` parameter still works but we recommend migrating. See: [API Reference](/reference.md#common)
### Skill CLI & Platform Tool Enhancements
- **Skill CLI Custom Interfaces**: Skill CLI now supports custom interfaces for more flexible Skill extensibility. See: [Skills](/skills.md)
- **Unified MCP Tool Export**: All platform packages (Web, Android, iOS, etc.) now export MidsceneTools uniformly, making MCP integration simpler. See: [MCP](/mcp.md)
- **iOS App Termination by bundleId**: You can now terminate iOS apps by bundleId, making it easier to reset app state during testing. See: [iOS API Reference](/sdk/ios.md)
- **CLI Version Display**: CLI now shows version info in health checks, helping you troubleshoot environment issues
### Task Cancellation Support
`aiAct` now supports `AbortSignal`, allowing you to cancel operations mid-execution instead of waiting for them to complete. See: [API Reference - aiAct](/reference.md#agentaiact)
### Element Locating Optimization
The `deepLocate` flow has been optimized for better efficiency and accuracy when locating elements in complex interfaces.
### Report & Playback Improvements
- **Faster Large Report Loading**: Screenshots in reports are now lazy-loaded, significantly speeding up reports with many steps
- **Mobile Reports with Device Shells**: Report playback now shows device shells, giving you a more realistic view of mobile automation
- **More Precise Timing**: AI call and action execution timing in reports is now more precise, helping you identify performance bottlenecks
### Stability Improvements
- AI planning now automatically retries once on intermittent parse failures, reducing test interruptions from network issues
- Device health check now includes monitor detection, helping diagnose display issues in headless environments
### Chrome Extension Improvements
- Fixed crash when generating scripts after stopping recording
- Fixed lag during long recording sessions caused by message serialization performance
- Bridge mode now has start/stop control buttons, and fixed connection drops during confirmation
### Bug Fixes
- Fixed MCP server becoming a zombie process with 100% CPU usage in some cases
- Fixed screenshots not retrying when page navigation is in progress
- Fixed text input loss on Android in certain scenarios
- Fixed `aiNumber` returning incorrect results for some formats
- Fixed `aiScroll` throwing errors when called without arguments
- Fixed AutoGLM back/home actions not working correctly across different platforms
- Fixed report display issues when model names contain `/`
- Fixed report player not resetting properly after playback completes
- Fixed Deep Think toggle not reading environment variable configuration in Playground
- Fixed cursor size displaying incorrectly in high-resolution device screenshots
- Fixed Chrome launch path resolution failing on Linux
- Fixed inaccurate element locating on pages with iframes
- Fixed HarmonyOS screen info parsing errors at certain render resolutions
- Fixed device orientation displaying incorrectly after canceling tasks in Playground
## v1.5 - HarmonyOS Support
v1.5 adds HarmonyOS automation support, Qwen3.5 and doubao-seed 2.0 model support, along with multiple improvements to desktop automation, report system, Chrome extension, and more.
### HarmonyOS Automation Support
New `@midscene/harmony` package officially supports HarmonyOS platform automation. Midscene's automation capabilities now extend from Web, Android, iOS, and Desktop to the HarmonyOS ecosystem.
### Qwen3.5 & doubao-seed 2.0 Model Support
Added support for Qwen3.5 and doubao-seed 2.0 models, allowing developers to leverage newer models for better visual understanding.
### Generic Model Reasoning Configuration
New `MIDSCENE_MODEL_REASONING_EFFORT` environment variable provides a generic model reasoning effort configuration, enabling developers to uniformly control reasoning behavior across different models.
### Desktop Automation Improvements
- **Xvfb virtual display support**: Support Xvfb virtual display for headless Linux environments, enabling desktop automation on CI/CD servers without GUI
- **Connection health check**: Added health check during desktop automation connection for improved reliability
- **macOS input optimization**: All text input on macOS now uses clipboard to avoid IME issues
- **Mouse control failure detection**: Automatically detects mouse control failure and warns about admin privilege requirements
- **Stop execution optimization**: Checks destroyed state to abort screenshot operations promptly when stopping execution
### Screenshot & Display Optimization
- **Custom screenshot shrink**: Support custom screenshot shrink ratio to optimize performance while maintaining recognition accuracy
- **Android scalingRatio decoupling**: Decoupled scalingRatio from size() method for improved flexibility
### Report System Improvements
- **More detailed timing**: Finer-grained timing information in reports helps developers analyze performance bottlenecks more precisely
- **Directory mode support for mergeReports**: `mergeReports` now supports directory mode report files
### Chrome Extension Improvements
- **Always decline option**: Chrome extension adds "always decline" option with confirm race condition fix
- **Close Bridge server after CLI**: Bridge server automatically closes after CLI command completes, preventing lingering processes
### Bug Fixes
- Fixed `z.preprocess` handling in input mode schema for correct form rendering
- Fixed Android swipe parameter passing
- Fixed web size calculation
- Fixed `BASE_URL_FIX_SCRIPT` closing tag not recognized by HTML parser
- Fixed undefined page guard in PlaywrightAgent/PuppeteerAgent constructors
## v1.4 - Skills: Let AI Assistants Control Your Devices
v1.4 introduces Midscene Skills — a set of installable skill packs for AI assistants like Claude Code and OpenClaw, enabling them to directly control browsers, desktops, Android, and iOS devices. This release also includes a standalone desktop MCP service, independent CLI entry points for each platform package, enhanced AI planning, and more.
### Midscene Skills — Device Control Skills for AI Assistants
Midscene Skills is a set of skill packs that can be installed into AI assistants like Claude Code and OpenClaw. Once installed, AI assistants can control browsers, desktops, Android, and iOS devices using natural language.
Each platform package (`@midscene/android`, `@midscene/ios`, `@midscene/web`, etc.) now exposes an independent CLI entry point, which is the foundation that Skills is built upon.
**Supported Platforms:**
- Browser (Puppeteer headless mode)
- Chrome Bridge (user's own desktop Chrome)
- Desktop (macOS, Windows, Linux)
- Android (via ADB)
- iOS (via WebDriverAgent)
See: [Midscene Skills](https://github.com/web-infra-dev/midscene-skills)
### Standalone Desktop Automation MCP Package
New `@midscene/computer-mcp` package provides PC desktop automation as a standalone MCP service. Developers can use desktop automation capabilities directly in MCP-compatible tools like Cursor and Trae without additional integration.
See docs: [PC Desktop Automation](/platforms/desktop.md)
### Chrome Extension MCP Background Connection
The Chrome extension now supports background Bridge mode MCP connection, exposing the desktop browser as an MCP tool to AI assistants, further expanding the MCP ecosystem.
### AI Planning Enhancements
- **New `deepLocate` option for `aiAct`**: Enable deep locating during action execution, improving element locating accuracy in complex interfaces
- **Swipe vs DragAndDrop semantic distinction**: The model can now more precisely distinguish between swipe and drag-and-drop operations, reducing gesture planning errors
- **LLM planning page navigation restrictions**: Prevents the model from generating unreasonable page navigation during planning, improving task execution stability
- **AppleScript keyboard input on macOS**: Improved keyboard input stability and compatibility in desktop automation
- **Cursor move action**: New cursor move action support
### YAML Scripts & File Upload Enhancements
- **YAML `aiTap` supports `fileChooserAccept`**: Handle file upload dialogs directly in YAML scripts
- **Directory upload support**: Web supports `webkitdirectory` type folder selection upload
### Chrome Extension Bridge Mode Caching
Bridge mode now supports caching, reusing existing AI planning results to reduce repeated calls and improve debugging efficiency.
### Android Improvements
- Optimized text input logic for improved input stability
### iOS Improvements
- **Playground live screen stream**: iOS Playground now features live screen preview for real-time device monitoring during debugging.
## v1.3 - PC Desktop Automation Support
v1.3 introduces brand new PC desktop automation capabilities, significantly improves Android screenshot performance, and brings multiple enhancements to report system and stability.
### New PC Desktop Automation Support
Midscene now supports PC desktop automation on Windows, macOS, and Linux, driving native keyboard and mouse controls. Whether it's Electron, Qt, WPF, or native desktop applications, they can all be automated through the visual model approach.
**Core Capabilities:**
- **Mouse Operations**: click, double-click, right-click, mouse move, drag and drop
- **Keyboard Input**: text input, key combinations (Cmd/Ctrl/Alt/Shift)
- **Screenshots**: capture screenshots from any monitor
- **Multi-monitor Support**: operate across multiple displays simultaneously
**Usage Methods:**
- Zero-code trial via Computer Playground
- JavaScript SDK for scripting
- YAML automation scripts and CLI tools
- HTML report playback for all operation paths
See documentation: [PC Desktop Automation](/platforms/desktop.md)
### Major Android Screenshot Performance Improvement
With Scrcpy screenshot mode enabled, screenshot time drops from 500–2000ms to **100–200ms**, significantly improving Android automation response speed. This is particularly useful for remote device debugging and high frame rate scenarios.
See documentation: [Scrcpy Screenshot Mode](/sdk/android.md#scrcpy)
### Deep Thinking Mode Enhancement
The `aiAct` deep thinking (deepThink) mode now not only helps with element location but also optimizes overall task planning, achieving better execution results in complex forms and multi-step workflows.
### Report Experience Optimization
- **Timeline Collapse**: New collapse toggle button for easier viewing of long task flows
- **Time Unit Changed to Seconds**: More readable
- **Step Sync Highlighting**: Sidebar step highlighting syncs in real-time with player playback
- **Reduced Memory Usage**: Optimized report generation mechanism to effectively reduce runtime memory usage
### Mobile Platform Improvements
#### Android
- More stable special character and Unicode input
- More relaxed app package name matching for Launch action (ignores case and spaces)
- Auto-retry when screenshot anomalies occur on certain devices
#### iOS
- More relaxed Bundle ID matching (ignores case and spaces)
### Web Automation Improvements
- Fixed issue where Puppeteer could hang when taking screenshots of inactive tabs
- Fixed inaccurate window size in headed mode
- `shareBrowserContext` mode now supports preserving localStorage and sessionStorage
- Playwright multi-project configuration automatically distinguishes test cases by browser in reports
- Fixed `typeOnly` mode not working in YAML script input actions
### Other Improvements
- Image processing performance improved
- SVG icon cache issue fixed
- Playground now displays specific reasons for model configuration errors
## v1.2 - Zhipu AI Open-Source Model Support and File Upload Support
v1.2 introduces support for Zhipu AI open-source models, adds file upload functionality, and fixes several issues affecting user experience, making automated testing more reliable.
### New Zhipu AI Open-Source Model Support
#### Zhipu GLM-V Vision Model
- Zhipu GLM-V series models are open-source vision models launched by Zhipu AI, available in multiple parameter versions, supporting both cloud deployment and local deployment.
- See: [GLM-V Model Configuration](/model-api-setup.md#glm-v)
#### Zhipu AutoGLM Mobile Automation Model
- Zhipu AutoGLM is an open-source mobile automation model launched by Zhipu AI. It can understand mobile screen content based on natural language instructions, and combined with intelligent planning capabilities, generate operation processes to complete user needs.
- See: [AutoGLM Model Configuration](/model-api-setup.md#auto-glm)
### File upload feature
File upload is a common requirement in Web automation scenarios. v1.2 adds file upload capability for the web, supporting natural language operations for file input boxes, making form automation more complete.
See: [aiTap file upload](/reference.md#agentaitap)
### Cache mechanism optimization
Fixed the issue where cache wasn't updated after DOM changes. When page DOM changes cause cache validation to fail, the system now automatically updates the cache, avoiding operation failures due to stale cache and improving automation script stability.
### Report and Playground improvements
#### Deep thinking tag optimization
- Fixed the issue where deepThink tags weren't displayed correctly in reports when using `.aiAct()` method with deep thinking. Now you can clearly see which operations used deep thinking capability in reports
- Improved the style of summary rows in reports for better readability
#### Playground stability improvements
- Fixed the issue where Playground didn't properly create agent instances in `getActionSpace` when using agentFactory mode, ensuring normal operation across various usage modes
- Optimized Playground output display to prevent overly long reportHTML content from affecting the interface
### Model configuration updates
Updated configuration parameters for Qwen model's deep thinking functionality to ensure compatibility with the latest model version.
## v1.1 - `aiAct` deep thinking and extensible MCP SDK
v1.1 optimizes model planning capabilities and MCP extensibility, making automation more stable in complex scenarios while providing more flexible solutions for enterprise MCP service deployments.
### `aiAct` can enable deep thinking (deepThink)
When deep thinking is enabled in `aiAct`, the model will interpret intent more thoroughly and optimize its planning results. This is suited for complex forms, multi-step flows, and similar scenarios. It improves accuracy but increases planning latency.
Currently supported: Qwen3-vl on Alibaba Cloud and Doubao-vision on Volcano Engine. See [Model strategy](/model-selection.md) for details.
Example usage:
```typescript
await agent.aiAct('If the UI shows an "Add shipping address" button, expand the existing "Shipping address" list and select the last item', { deepThink: true });
```
### MCP extension and SDK exposure
Developers can use the MCP SDK exposed by Midscene to flexibly deploy a public MCP service. This capability applies to Agent instances on any platform.
Typical application scenarios:
- Run MCP in enterprise intranet to control private device pools
- Package Midscene capabilities as internal microservices for multiple teams
- Extend custom automation toolchains
See documentation: [MCP Services](/mcp.md)
### Chrome extension improvements
- Fixed potential event loss during recording, improving recording stability
- Optimized coordinate passing in `describeElement` for better element description accuracy
### CLI and configuration enhancements
- **File parameter support**: Fixed CLI issue where `--files` parameter wasn't properly handled when `--config` was specified; now they can be flexibly combined
- **Dynamic configuration**: Fixed Playground not reading the `MIDSCENE_REPLANNING_CYCLE_LIMIT` environment variable properly
### iOS Agent compatibility improvements
- Optimized `getWindowSize` method to automatically fall back to legacy endpoint when newer API is unavailable, improving compatibility with WebDriverAgent versions
### Report and Playground improvements
- Fixed issue where report wasn't properly initialized before accessing screen properties
- Fixed abnormal behavior of stop function in Playground
- Improved error handling during video export to avoid crashes caused by frame cancel
Thanks to contributors: @FriedRiceNoodles
## v1.0 - Midscene v1.0 is here!
Midscene v1.0 is here! Try it out today and see how it can help you automate your workflows.
### See our new [Showcases](/showcases.md) page for real-world examples
Register the GitHub form autonomously in a web browser and pass all field validations:
Plus these real-world showcases:
- [iOS Automation - Meituan coffee order](/showcases.md#ios)
- [iOS Automation - Auto-like the first @midscene_ai tweet](/showcases.md#ios)
- [Android Automation - DCar: Xiaomi SU7 specs](/showcases.md#android)
- [Android Automation - Booking a hotel for Christmas](/showcases.md#android)
- [MCP Integration - Midscene MCP UI prepatch release](/showcases.md)
Some community developers have successfully built on Midscene's capability to [integrate with any interface](/integrate-with-any-interface.md), extending it with a robotic arm plus vision and voice models for in-vehicle large-screen testing scenarios. See the video below.
### 🚀 Pure vision path
Starting in v1.0, Midscene fully adopts a visual-understanding approach to deliver more stable UI automation. Visual models provide:
- **Stable results**: Leading vision models (Doubao Seed 1.6, Qwen3-VL, etc.) are reliable enough for most production needs
- **UI workflow planning**: Vision models generally excel at planning UI flows and can handle many complex task sequences
- **Works everywhere**: Automation no longer depends on the rendering stack—Android, iOS, desktop apps, or a browser `