sandbox_scenario
Get a ready-made selector-drift test case with a known-correct answer, for testing this MCP server or an agent workflow end to end. Each scenario is a real DOM capture of a deliberately breakable app, taken before and after one specific UI change (a renamed label, two swapped buttons, a duplicated locator, an element moved behind a menu…), plus the verdict those two contracts MUST produce. Call with no arguments to list the scenarios; call with a scenario id to get "baseline" and "current" mappings. THE LOOP: pass baseline and current to diff_mappings, then compare its "verdict" and "counts" to this tool's "expected" — they must match exactly. A mismatch means this server's diff engine has drifted, not that your inputs are wrong. Deterministic and offline: the captures are committed fixtures, identical on every call. Try it live at https://www.ia-qa.com/devtools/sandbox
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario | No | Scenario id. Omit to list every available scenario with its expected verdict. Ids: no-change, swap-label, add-testid, duplicate-role-name, remove-element, insert-sibling, rename-label, counter-label, move-behind-menu, add-element | |
| include_html | No | Include the generated HTML of the mutated page (default false). Only useful if you want to render or re-capture it yourself; the loop does not need it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| page | No | ||
| blurb | No | ||
| count | No | ||
| title | No | ||
| current | No | ||
| teaches | No | ||
| baseline | No | ||
| expected | No | ||
| scenario | No | ||
| mutations | No | ||
| scenarios | No | ||
| how_to_run_the_loop | No |