Publish original Headless Browser inputs from 91ca91ae26d6baf84fbc104431f13e577ca41abf (part 7)
f292e7e verified Download definitions/viewer/l1.agent_browser_tool.json from Lexmount/LexBench-Headless-Browser: direct link, hf CLI and curl.
- Browser
- Download file 135 kB
-
https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser/resolve/main/definitions/viewer/l1.agent_browser_tool.json
- Command line
-
hf download hf://datasets/Lexmount/LexBench-Headless-Browser/definitions/viewer/l1.agent_browser_tool.json
-
curl -L -o l1.agent_browser_tool.json https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser/resolve/main/definitions/viewer/l1.agent_browser_tool.json
135 kB
| { | |
| "cases": [ | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: check.checkbox through the agent-browser tool API. It passes when `agent-browser check #checkbox` succeeds; the saved value `v` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "check", | |
| "#checkbox" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#checkbox').checked", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.check.checkbox" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_check_checkbox", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: check.checkbox" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: click.viaCss through the agent-browser tool API. It passes when `agent-browser click #inc` succeeds; the saved value `n` equals `1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "1", | |
| "kind": "saved_equals", | |
| "name": "n" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "click", | |
| "#inc" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#count').textContent", | |
| "save_as": "n" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.click.css_selector" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_click_viacss", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: click.viaCss" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: click.viaRef through the agent-browser tool API. It passes when `agent-browser click {ref:role=button,name=Increment}` succeeds; the saved value `n` equals `1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "1", | |
| "kind": "saved_equals", | |
| "name": "n" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "snapshot" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "click", | |
| "{ref:role=button,name=Increment}" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#count').textContent", | |
| "save_as": "n" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.click.ref" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_click_viaref", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: click.viaRef" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: console.logs through the agent-browser tool API. It passes when `agent-browser console` succeeds; `agent-browser console` returns data containing `fixture-console-ready`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "fixture-console-ready", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "console" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.console.logs" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_console_logs", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: console.logs" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: cookies.roundtrip through the agent-browser tool API. It passes when `agent-browser cookies get` succeeds; `agent-browser cookies get` returns data containing `val42`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "val42", | |
| "kind": "ab_data_contains", | |
| "step": 2 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "cookies", | |
| "set", | |
| "probe", | |
| "val42" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "cookies", | |
| "get" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.cookies.roundtrip" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_cookies_roundtrip", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: cookies.roundtrip" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: dblclick through the agent-browser tool API. It passes when `agent-browser dblclick #dbl` succeeds; the saved value `n` equals `1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "1", | |
| "kind": "saved_equals", | |
| "name": "n" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "dblclick", | |
| "#dbl" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#dblcount').textContent", | |
| "save_as": "n" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.dblclick" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_dblclick", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: dblclick" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: errors.pageErrors through the agent-browser tool API. It passes when `agent-browser errors` succeeds; `agent-browser errors` returns data containing `intentional-page-error`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "expected": "intentional-page-error", | |
| "kind": "ab_data_contains", | |
| "step": 3 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "eval", | |
| "setTimeout(function(){ throw new Error('intentional-page-error'); }, 0)" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "150" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "errors" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.errors.page_errors" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_errors_pageerrors", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: errors.pageErrors" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: eval.arithmetic through the agent-browser tool API. It passes when the saved value `v` equals `5`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "5", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "eval": "2 + 3", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.javascript" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_eval_arithmetic", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: eval.arithmetic" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: eval.async through the agent-browser tool API. It passes when the saved value `v` equals `42`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "42", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "eval": "Promise.resolve(42)", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.async" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_eval_async", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: eval.async" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: eval.dom through the agent-browser tool API. It passes when the saved value `v` contains `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#title').textContent", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.dom" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_eval_dom", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: eval.dom" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: eval.json through the agent-browser tool API. It passes when the saved value `v` contains `\"a\":1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "\"a\":1", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "eval": "JSON.stringify({a:1,b:2})", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.json" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_eval_json", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: eval.json" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: eval.mutateDom through the agent-browser tool API. It passes when the saved value `v` contains `mutated-title`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "mutated-title", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "eval", | |
| "document.querySelector('#title').textContent = 'mutated-title'" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#title').textContent", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.dom_mutation" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_eval_mutatedom", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: eval.mutateDom" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: eval.throws through the agent-browser tool API. It passes when `agent-browser eval throw new Error('intentional-eval-error')` reports the expected command failure. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_fails", | |
| "step": 0 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "eval", | |
| "throw new Error('intentional-eval-error')" | |
| ], | |
| "ignore_error": true | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.exception" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_eval_throws", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: eval.throws" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: fill.input through the agent-browser tool API. It passes when `agent-browser fill #field world` succeeds; the saved value `v` contains `world`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "world", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "fill", | |
| "#field", | |
| "world" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#field').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.fill.input" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_fill_input", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: fill.input" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: find.placeholder through the agent-browser tool API. It passes when `agent-browser find placeholder type here fill via-placeholder` succeeds; the saved value `v` contains `via-placeholder`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "via-placeholder", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "find", | |
| "placeholder", | |
| "type here", | |
| "fill", | |
| "via-placeholder" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#field').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.find.placeholder" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_find_placeholder", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: find.placeholder" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: find.role through the agent-browser tool API. It passes when `agent-browser find role button click` succeeds; the saved value `n` equals `1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "1", | |
| "kind": "saved_equals", | |
| "name": "n" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "find", | |
| "role", | |
| "button", | |
| "click" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#count').textContent", | |
| "save_as": "n" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.find.role" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_find_role", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: find.role" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: find.text through the agent-browser tool API. It passes when `agent-browser find text Increment click` succeeds; the saved value `n` equals `1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "1", | |
| "kind": "saved_equals", | |
| "name": "n" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "find", | |
| "text", | |
| "Increment", | |
| "click" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#count').textContent", | |
| "save_as": "n" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.find.text" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_find_text", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: find.text" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: focus through the agent-browser tool API. It passes when `agent-browser focus #field` succeeds; the saved value `v` contains `field`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "field", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "focus", | |
| "#field" | |
| ] | |
| }, | |
| { | |
| "eval": "document.activeElement && document.activeElement.id", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.focus" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_focus", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: focus" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.attr through the agent-browser tool API. It passes when `agent-browser get attr #pixel alt` succeeds; `agent-browser get attr #pixel alt` returns data containing `pixel`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "pixel", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "attr", | |
| "#pixel", | |
| "alt" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.attr" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_attr", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.attr" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.box through the agent-browser tool API. It passes when `agent-browser get box #title` succeeds; `agent-browser get box #title` returns data containing `width`; `agent-browser get box #title` returns data that does not contain `\"width\":0`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "width", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "\"width\":0", | |
| "kind": "ab_data_not_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "box", | |
| "#title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.box" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_box", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.box" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.cdpUrl through the agent-browser tool API. It passes when `agent-browser get cdp-url` succeeds; `agent-browser get cdp-url` returns data containing `ws`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "expected": "ws", | |
| "kind": "ab_data_contains", | |
| "step": 0 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "get", | |
| "cdp-url" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.cdp_url" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_cdpurl", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.cdpUrl" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.count through the agent-browser tool API. It passes when `agent-browser get count p.para` succeeds; `agent-browser get count p.para` returns data containing `2`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "2", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "count", | |
| "p.para" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.count" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_count", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.count" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.html through the agent-browser tool API. It passes when `agent-browser get html #title` succeeds; `agent-browser get html #title` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "html", | |
| "#title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.html" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_html", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.html" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.styles through the agent-browser tool API. It passes when `agent-browser get styles #title` succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "styles", | |
| "#title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.styles" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_styles", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.styles" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.text through the agent-browser tool API. It passes when `agent-browser get text #title` succeeds; `agent-browser get text #title` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "text", | |
| "#title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.text" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_text", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.text" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.title through the agent-browser tool API. It passes when `agent-browser get title` succeeds; `agent-browser get title` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.title" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_title", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.title" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.url through the agent-browser tool API. It passes when `agent-browser get url` succeeds; `agent-browser get url` returns data containing `{fixture_host}`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "{fixture_host}", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "url" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.url" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_url", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.url" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: get.value through the agent-browser tool API. It passes when `agent-browser get value #field` succeeds; `agent-browser get value #field` returns data containing `value-probe`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "value-probe", | |
| "kind": "ab_data_contains", | |
| "step": 2 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "fill", | |
| "#field", | |
| "value-probe" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "value", | |
| "#field" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.get.value" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_get_value", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: get.value" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: hover through the agent-browser tool API. It passes when `agent-browser hover #hovertarget` succeeds; the saved value `v` contains `hover-active`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "hover-active", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "hover", | |
| "#hovertarget" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#hovertarget').textContent", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.hover" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_hover", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: hover" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: is.checked through the agent-browser tool API. It passes when the final agent-browser command succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "last_ab_ok" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "is", | |
| "checked", | |
| "#checkbox" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.is.checked" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_is_checked", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: is.checked" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: is.enabled through the agent-browser tool API. It passes when the final agent-browser command succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "last_ab_ok" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "is", | |
| "enabled", | |
| "#field" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.is.enabled" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_is_enabled", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: is.enabled" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: is.visible through the agent-browser tool API. It passes when the final agent-browser command succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "last_ab_ok" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "is", | |
| "visible", | |
| "#title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.is.visible" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_is_visible", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: is.visible" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: keyboard.type through the agent-browser tool API. It passes when `agent-browser keyboard type kbd` succeeds; the saved value `v` contains `kbd`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "kbd", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "focus", | |
| "#field" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "keyboard", | |
| "type", | |
| "kbd" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#field').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.keyboard.type" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_keyboard_type", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: keyboard.type" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: nav.back through the agent-browser tool API. It passes when `agent-browser back` succeeds; `agent-browser get title` succeeds; `agent-browser get title` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 4 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 4 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_origin}/page2" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "back" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "150" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.nav.back" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_nav_back", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: nav.back" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: nav.clickLink through the agent-browser tool API. It passes when `agent-browser click {ref:role=link}` succeeds; `agent-browser get title` returns data containing `Page Two`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "Page Two", | |
| "kind": "ab_data_contains", | |
| "step": 4 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "snapshot" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "click", | |
| "{ref:role=link}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "300" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.nav.clicklink" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_nav_clicklink", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: nav.clickLink" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: nav.forward through the agent-browser tool API. It passes when `agent-browser forward` succeeds; `agent-browser get title` returns data containing `Page Two`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 4 | |
| }, | |
| { | |
| "expected": "Page Two", | |
| "kind": "ab_data_contains", | |
| "step": 6 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_origin}/page2" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "back" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "100" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "forward" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "100" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.nav.forward" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_nav_forward", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: nav.forward" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: nav.reload through the agent-browser tool API. It passes when `agent-browser reload` succeeds; `agent-browser get title` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 3 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "reload" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "100" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "get", | |
| "title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.nav.reload" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_nav_reload", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: nav.reload" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: network.requests through the agent-browser tool API. It passes when `agent-browser network requests` succeeds; `agent-browser network requests` returns at least 1 item(s) at `requests`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_data_array_min_len", | |
| "min": 1, | |
| "path": "requests", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "network", | |
| "requests" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.network.requests" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_network_requests", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: network.requests" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: open through the agent-browser tool API. It passes when `agent-browser open {fixture_url}` succeeds; at least one of these holds: `agent-browser open {fixture_url}` returns data containing `CDP Core Fixture` or `agent-browser open {fixture_url}` returns data containing `{fixture_host}`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "checks": [ | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 0 | |
| }, | |
| { | |
| "expected": "{fixture_host}", | |
| "kind": "ab_data_contains", | |
| "step": 0 | |
| } | |
| ], | |
| "kind": "any_of" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.open" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_open", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: open" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: press.key through the agent-browser tool API. It passes when `agent-browser press Backspace` succeeds; the saved value `v` equals `ab`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "expected": "ab", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "focus", | |
| "#field" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "keyboard", | |
| "type", | |
| "abc" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "press", | |
| "Backspace" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#field').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.press.key" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_press_key", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: press.key" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: read through the agent-browser tool API. It passes when `agent-browser read` succeeds; `agent-browser read` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "read" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.read" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "purpose.deprecated_api", | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_read", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: read" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: read.url through the agent-browser tool API. It passes when `agent-browser read {fixture_origin}/page2` succeeds; `agent-browser read {fixture_origin}/page2` returns data containing `Page Two`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "expected": "Page Two", | |
| "kind": "ab_data_contains", | |
| "step": 0 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "read", | |
| "{fixture_origin}/page2" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.read.url" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "purpose.deprecated_api", | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_read_url", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: read.url" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: scroll.down through the agent-browser tool API. It passes when `agent-browser scroll down 500` succeeds; the saved value `v` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "scroll", | |
| "down", | |
| "500" | |
| ] | |
| }, | |
| { | |
| "eval": "window.scrollY > 0", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.scroll.down" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_scroll_down", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: scroll.down" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: scrollintoview through the agent-browser tool API. It passes when `agent-browser scrollintoview #bottom` succeeds; the saved value `v` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "scrollintoview", | |
| "#bottom" | |
| ] | |
| }, | |
| { | |
| "eval": "window.scrollY > 0", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.scrollintoview" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_scrollintoview", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: scrollintoview" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: select.dropdown through the agent-browser tool API. It passes when `agent-browser select #dropdown b` succeeds; the saved value `v` equals `b`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "b", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "select", | |
| "#dropdown", | |
| "b" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#dropdown').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.select.dropdown" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_select_dropdown", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: select.dropdown" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: snapshot through the agent-browser tool API. It passes when `agent-browser snapshot` succeeds; `agent-browser snapshot` returns data containing `CDP Core Fixture`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "CDP Core Fixture", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "snapshot" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.snapshot" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_snapshot", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: snapshot" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: snapshot.interactive through the agent-browser tool API. It passes when `agent-browser snapshot -i` succeeds; `agent-browser snapshot -i` returns at least one element reference. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_refs_nonempty", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "snapshot", | |
| "-i" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.snapshot.interactive" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_snapshot_interactive", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: snapshot.interactive" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: snapshot.scoped through the agent-browser tool API. It passes when `agent-browser snapshot -s #dropdown` succeeds; `agent-browser snapshot -s #dropdown` returns at least one element reference. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_refs_nonempty", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "snapshot", | |
| "-s", | |
| "#dropdown" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.snapshot.scoped" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_snapshot_scoped", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: snapshot.scoped" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: storage.localRoundtrip through the agent-browser tool API. It passes when `agent-browser storage local get k` succeeds; `agent-browser storage local get k` returns data containing `sval99`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "sval99", | |
| "kind": "ab_data_contains", | |
| "step": 2 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "storage", | |
| "local", | |
| "set", | |
| "k", | |
| "sval99" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "storage", | |
| "local", | |
| "get", | |
| "k" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.storage.local" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_storage_localroundtrip", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: storage.localRoundtrip" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: tab.list through the agent-browser tool API. It passes when `agent-browser tab list` succeeds; `agent-browser tab list` returns at least 1 item(s) at `tabs`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "kind": "ab_data_array_min_len", | |
| "min": 1, | |
| "path": "tabs", | |
| "step": 0 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "tab", | |
| "list" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.tab.list" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_tab_list", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: tab.list" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: tab.newClose through the agent-browser tool API. It passes when `agent-browser tab new` succeeds; `agent-browser tab close` succeeds; `agent-browser tab list` returns at least 2 item(s) at `tabs`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "kind": "ab_data_array_min_len", | |
| "min": 2, | |
| "path": "tabs", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "tab", | |
| "new" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "tab", | |
| "list" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "tab", | |
| "close" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.tab.new_close" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_tab_newclose", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: tab.newClose" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: type.intoInput through the agent-browser tool API. It passes when `agent-browser type #field hello` succeeds; the saved value `v` contains `hello`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "hello", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "type", | |
| "#field", | |
| "hello" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#field').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.type.input" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_type_intoinput", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: type.intoInput" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: uncheck.checkbox through the agent-browser tool API. It passes when `agent-browser uncheck #checkbox` succeeds; the saved value `v` equals `false`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "false", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "check", | |
| "#checkbox" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "uncheck", | |
| "#checkbox" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#checkbox').checked", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.uncheck.checkbox" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_uncheck_checkbox", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: uncheck.checkbox" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: wait.ms through the agent-browser tool API. It passes when the final agent-browser command succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "last_ab_ok" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "wait", | |
| "50" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.wait.ms" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_wait_ms", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: wait.ms" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser main: wait.selector through the agent-browser tool API. It passes when the final agent-browser command succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "last_ab_ok" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "#title" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.wait.selector" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/core" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_main_wait_selector", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser main: wait.selector" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: check/uncheck through the agent-browser tool API. It passes when `agent-browser check #cb` succeeds; `agent-browser uncheck #cb` succeeds; the saved value `c1` equals `true`; the saved value `c2` equals `false`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "c1" | |
| }, | |
| { | |
| "expected": "false", | |
| "kind": "saved_equals", | |
| "name": "c2" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "check", | |
| "#cb" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#cb').checked", | |
| "save_as": "c1" | |
| }, | |
| { | |
| "ab": [ | |
| "uncheck", | |
| "#cb" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#cb').checked", | |
| "save_as": "c2" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.check.uncheck" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_check_uncheck", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: check/uncheck" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: click through the agent-browser tool API. It passes when `agent-browser click #inc` succeeds; the saved value `n` equals `1`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "1", | |
| "kind": "saved_equals", | |
| "name": "n" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "click", | |
| "#inc" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#count').textContent", | |
| "save_as": "n" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.click" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_click", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: click" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: console through the agent-browser tool API. It passes when `agent-browser console` succeeds; `agent-browser console` returns data containing `probe-console-ready`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "probe-console-ready", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "console" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.console" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_console", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: console" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: cookies get through the agent-browser tool API. It passes when `agent-browser cookies get` succeeds; `agent-browser cookies get` returns at least 0 item(s) at `cookies`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_data_array_min_len", | |
| "min": 0, | |
| "path": "cookies", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "cookies", | |
| "get" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.cookies.get" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_cookies_get", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: cookies get" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: dialog accept through the agent-browser tool API. It passes when `agent-browser dialog accept` succeeds; the saved value `r` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "r" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "eval", | |
| "window.__r = undefined" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "click", | |
| "#cfm" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "dialog", | |
| "accept" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "100" | |
| ] | |
| }, | |
| { | |
| "eval": "window.__r", | |
| "save_as": "r" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.dialog.accept" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_dialog_accept", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: dialog accept" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: dialog click (detect) through the agent-browser tool API. It passes when `agent-browser click #cfm` succeeds; at least one of these holds: `agent-browser click #cfm` returns data containing `\"dialogOpened\":true` or `agent-browser dialog status` returns data containing `\"hasDialog\":true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "checks": [ | |
| { | |
| "expected": "\"dialogOpened\":true", | |
| "kind": "ab_data_contains", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "\"hasDialog\":true", | |
| "kind": "ab_data_contains", | |
| "step": 2 | |
| } | |
| ], | |
| "kind": "any_of" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "click", | |
| "#cfm" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "dialog", | |
| "status" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "dialog", | |
| "dismiss" | |
| ], | |
| "ignore_error": true | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.dialog.detect" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_dialog_click_detect", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: dialog click (detect)" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: download through the agent-browser tool API. It passes when the final agent-browser command succeeds; the artifact `{artifact_dir}/dl.txt` exists and is non-empty. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "last_ab_ok" | |
| }, | |
| { | |
| "kind": "file_nonempty", | |
| "path": "{artifact_dir}/dl.txt" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "download", | |
| "#dl", | |
| "{artifact_dir}/dl.txt" | |
| ], | |
| "timeout_ms": 15000 | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.download" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_download", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: download" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: eval through the agent-browser tool API. It passes when the saved value `v` equals `42`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "42", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "eval": "6*7", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_eval", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: eval" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: eval_fetch through the agent-browser tool API. It passes when the saved value `v` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "eval": "(async()=>{const x=await fetch('{fixture_origin}/page2');return (await x.text()).includes('Page Two')})()", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.eval.fetch" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_eval_fetch", | |
| "task_version": 2, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: eval_fetch" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: fill through the agent-browser tool API. It passes when `agent-browser fill #field FILLED` succeeds; the saved value `v` contains `FILLED`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "FILLED", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "fill", | |
| "#field", | |
| "FILLED" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#field').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.fill" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_fill", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: fill" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: network har through the agent-browser tool API. It passes when `agent-browser network har start {artifact_dir}/cap.har` succeeds; `agent-browser network har stop {artifact_dir}/cap.har` succeeds; the artifact `{artifact_dir}/cap.har` exists and is non-empty. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "kind": "file_nonempty", | |
| "path": "{artifact_dir}/cap.har" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "network", | |
| "har", | |
| "start", | |
| "{artifact_dir}/cap.har" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "200" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "network", | |
| "har", | |
| "stop", | |
| "{artifact_dir}/cap.har" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.network.har" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_network_har", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: network har" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: network requests through the agent-browser tool API. It passes when `agent-browser network requests` succeeds; `agent-browser network requests` returns at least 1 item(s) at `requests`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_data_array_min_len", | |
| "min": 1, | |
| "path": "requests", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "network", | |
| "requests" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.network.requests" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_network_requests", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: network requests" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: network route through the agent-browser tool API. It passes when `agent-browser network route **/app.js --abort` succeeds; the saved value `blocked` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "blocked" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "network", | |
| "route", | |
| "**/app.js", | |
| "--abort" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "200" | |
| ] | |
| }, | |
| { | |
| "eval": "window.__scriptLoaded === undefined || window.__scriptLoaded === null", | |
| "save_as": "blocked" | |
| }, | |
| { | |
| "ab": [ | |
| "network", | |
| "unroute" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.network.route" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_network_route", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: network route" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: open through the agent-browser tool API. It passes when `agent-browser open {fixture_url}` succeeds; `agent-browser open {fixture_url}` returns data containing `Probe`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "expected": "Probe", | |
| "kind": "ab_data_contains", | |
| "step": 0 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.open" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_open", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: open" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: profiler start through the agent-browser tool API. It passes when `agent-browser profiler start` succeeds; `agent-browser profiler stop {artifact_dir}/prof.json` succeeds; the artifact `{artifact_dir}/prof.json` exists and is non-empty. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "kind": "file_nonempty", | |
| "path": "{artifact_dir}/prof.json" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "profiler", | |
| "start" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "150" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "profiler", | |
| "stop", | |
| "{artifact_dir}/prof.json" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.profiler.start" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_profiler_start", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: profiler start" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: select through the agent-browser tool API. It passes when `agent-browser select #dropdown b` succeeds; the saved value `v` equals `b`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "b", | |
| "kind": "saved_equals", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "select", | |
| "#dropdown", | |
| "b" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#dropdown').value", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.select" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_select", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: select" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: set media through the agent-browser tool API. It passes when `agent-browser set media dark` succeeds; the saved value `d` equals `true`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "true", | |
| "kind": "saved_equals", | |
| "name": "d" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "set", | |
| "media", | |
| "dark" | |
| ] | |
| }, | |
| { | |
| "eval": "window.matchMedia('(prefers-color-scheme: dark)').matches", | |
| "save_as": "d" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.set.media" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_set_media", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: set media" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: set viewport through the agent-browser tool API. It passes when `agent-browser set viewport 800 600` succeeds; the saved value `w` equals `800`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "800", | |
| "kind": "saved_equals", | |
| "name": "w" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "set", | |
| "viewport", | |
| "800", | |
| "600" | |
| ] | |
| }, | |
| { | |
| "eval": "window.innerWidth", | |
| "save_as": "w" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.set.viewport" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_set_viewport", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: set viewport" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: snapshot -i through the agent-browser tool API. It passes when `agent-browser snapshot -i` succeeds; `agent-browser snapshot -i` returns at least one element reference. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "kind": "ab_refs_nonempty", | |
| "step": 1 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "snapshot", | |
| "-i" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.snapshot.interactive" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_snapshot_i", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: snapshot -i" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: storage local/session through the agent-browser tool API. It passes when `agent-browser storage local get lk` succeeds; `agent-browser storage local get lk` returns data containing `lval`; `agent-browser storage session get sk` succeeds; `agent-browser storage session get sk` returns data containing `sval`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 2 | |
| }, | |
| { | |
| "expected": "lval", | |
| "kind": "ab_data_contains", | |
| "step": 2 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 4 | |
| }, | |
| { | |
| "expected": "sval", | |
| "kind": "ab_data_contains", | |
| "step": 4 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "storage", | |
| "local", | |
| "set", | |
| "lk", | |
| "lval" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "storage", | |
| "local", | |
| "get", | |
| "lk" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "storage", | |
| "session", | |
| "set", | |
| "sk", | |
| "sval" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "storage", | |
| "session", | |
| "get", | |
| "sk" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.storage.local.session" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_storage_local_session", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: storage local/session" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: tab new through the agent-browser tool API. It passes when `agent-browser tab new` succeeds. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "tab", | |
| "new" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "tab", | |
| "close" | |
| ], | |
| "ignore_error": true | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.tab.new" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_tab_new", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: tab new" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: trace start through the agent-browser tool API. It passes when `agent-browser trace start` succeeds; `agent-browser trace stop {artifact_dir}/trace.json` succeeds; the artifact `{artifact_dir}/trace.json` exists and is non-empty. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 0 | |
| }, | |
| { | |
| "kind": "ab_ok", | |
| "step": 3 | |
| }, | |
| { | |
| "kind": "file_nonempty", | |
| "path": "{artifact_dir}/trace.json" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "trace", | |
| "start" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "wait", | |
| "150" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "trace", | |
| "stop", | |
| "{artifact_dir}/trace.json" | |
| ] | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.trace.start" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_trace_start", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: trace start" | |
| }, | |
| { | |
| "artifact_profile": "l1_standard", | |
| "description": "Exercises agent-browser probe_list: upload through the agent-browser tool API. It passes when `agent-browser upload #file {tmp_file:up.txt:x}` succeeds; the saved value `v` contains `up.txt`. Only these declared checks affect the verdict.", | |
| "driver": { | |
| "connect_env": "BROWSER_WS", | |
| "env": { | |
| "AB_CHECKS": [ | |
| { | |
| "kind": "ab_ok", | |
| "step": 1 | |
| }, | |
| { | |
| "expected": "up.txt", | |
| "kind": "saved_contains", | |
| "name": "v" | |
| } | |
| ], | |
| "AB_STEPS": [ | |
| { | |
| "ab": [ | |
| "open", | |
| "{fixture_url}" | |
| ] | |
| }, | |
| { | |
| "ab": [ | |
| "upload", | |
| "#file", | |
| "{tmp_file:up.txt:x}" | |
| ] | |
| }, | |
| { | |
| "eval": "document.querySelector('#file').files[0] && document.querySelector('#file').files[0].name", | |
| "save_as": "v" | |
| } | |
| ] | |
| }, | |
| "kind": "node_cdp_probe", | |
| "script": "runner/scripts/l1_ab_probe.js" | |
| }, | |
| "features": [ | |
| "tool.agent_browser.upload.file" | |
| ], | |
| "grader": { | |
| "checks": [ | |
| "script_reported" | |
| ], | |
| "kind": "inline_assertions" | |
| }, | |
| "layer": "L1", | |
| "scene": { | |
| "kind": "self_hosted_fixture", | |
| "url": "/l1/probe" | |
| }, | |
| "subset_id": "l1.agent_browser_tool", | |
| "tags": [ | |
| "version.v0_1" | |
| ], | |
| "task_id": "ab_probe_upload", | |
| "task_version": 1, | |
| "timeouts": { | |
| "hard_kill_ms": 120000, | |
| "task_ms": 90000 | |
| }, | |
| "title": "agent-browser probe_list: upload" | |
| } | |
| ] | |
| } | |