{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_agentloop_ax_id_stable_across_mutation__pw", "input": "An unchanged AX target keeps its identity across an unrelated DOM mutation (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_agentloop_ax_id_stable_across_mutation__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/agentloop_ax_id_stable_across_mutation.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Reads a deterministic AX target, inserts an unrelated sibling, reads the target again, and requires the raw backendDOMNodeId or MCP uid mapping to remain stable.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_ax_identity_read\", \"step\": 5}, {\"expected\": \"stable|role=button|name=ax-stable-63|\", \"kind\": \"saved_contains\", \"label\": \"identity_stable\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('ax-stable').getAttribute('aria-label') === 'ax-stable-63'\", \"op\": \"wait_for_function\"}, {\"name\": \"ax-stable-63\", \"op\": \"ax_node_identity\", \"role\": \"button\", \"save_as\": \"before\"}, {\"expression\": \"(() => { const target = document.getElementById('ax-stable'); const inserted = document.createElement('span'); inserted.id = 'ax-unrelated-insert'; inserted.textContent = 'unrelated mutation'; target.before(inserted); return 'mutated'; })()\", \"op\": \"evaluate\"}, {\"compare_to\": \"before\", \"name\": \"ax-stable-63\", \"op\": \"ax_node_identity\", \"role\": \"button\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.ax_node_identity\", \"fw.playwright.op.evaluate\", \"cdp.accessibility.get_full_ax_tree\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/obs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.issue_106\", \"purpose.diagnostic\"], \"task_id\": \"sc_agentloop_ax_id_stable_across_mutation__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An unchanged AX target keeps its identity across an unrelated DOM mutation (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_agentloop_ax_role_name_ids__pw", "input": "An agent-facing AX query preserves role, name, and backend DOM identity (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_agentloop_ax_role_name_ids__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/agentloop_ax_role_name_ids.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Fetches the full accessibility tree through each driver's own CDP route, finds a deterministic button, and requires its role, computed accessible name, and backendDOMNodeId to survive the adapter boundary.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"ax_identity_read\", \"step\": 3}, {\"expected\": \"role=button|name=ax-stable-63|backendDOMNodeId=\", \"kind\": \"saved_contains\", \"label\": \"role_name_backend_id_complete\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('ax-stable').getAttribute('aria-label') === 'ax-stable-63'\", \"op\": \"wait_for_function\"}, {\"name\": \"ax-stable-63\", \"op\": \"ax_node_identity\", \"role\": \"button\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.ax_node_identity\", \"cdp.accessibility.get_full_ax_tree\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/obs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.issue_106\", \"purpose.diagnostic\"], \"task_id\": \"sc_agentloop_ax_role_name_ids__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An agent-facing AX query preserves role, name, and backend DOM identity (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_add_single_item__pw", "input": "Adding one item is reflected in the server-side cart total (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_add_single_item__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_add_single_item.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, adds one item, and answers with the server-computed cart total.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"item_added\", \"step\": 6}, {\"expected\": \"total-3\", \"kind\": \"saved_equals\", \"label\": \"server_total\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-a\"}, {\"expression\": \"!!document.getElementById('cart-widget-a')\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('cart-total').textContent === 'total-3'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#cart-total\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_add_single_item__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Adding one item is reflected in the server-side cart total (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_cart_persists_reload__pw", "input": "The cart survives a page reload via the session cookie (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_cart_persists_reload__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_cart_persists_reload.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, adds an item, reloads the document, and answers with the total restored from server state.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"restored\", \"step\": 8}, {\"expected\": \"total-7\", \"kind\": \"saved_equals\", \"label\": \"total_after_reload\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-widget-c')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-c\"}, {\"expression\": \"!!document.getElementById('cart-widget-c')\", \"op\": \"wait_for_function\"}, {\"op\": \"reload\"}, {\"expression\": \"document.getElementById('cart-total').textContent === 'total-7'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#cart-total\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.reload\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_cart_persists_reload__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The cart survives a page reload via the session cookie (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_cart_total_two_items__pw", "input": "Two different items sum to the server-computed total (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_cart_total_two_items__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_cart_total_two_items.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, adds two items with different prices, and answers with the aggregated total.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"both_added\", \"step\": 8}, {\"expected\": \"total-14\", \"kind\": \"saved_equals\", \"label\": \"aggregate_total\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-a\"}, {\"expression\": \"!!document.getElementById('cart-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-gizmo-x\"}, {\"expression\": \"!!document.getElementById('cart-gizmo-x')\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('cart-total').textContent === 'total-14'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#cart-total\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_cart_total_two_items__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Two different items sum to the server-computed total (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_checkout_receipt__pw", "input": "Checkout returns a server-computed order receipt (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_checkout_receipt__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_checkout_receipt.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, adds one item, checks out, and answers with the order id the server derived from the cart.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"receipt_shown\", \"step\": 8}, {\"expected\": \"ord-13-1\", \"kind\": \"saved_equals\", \"label\": \"order_id\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-gizmo-y')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-gizmo-y\"}, {\"expression\": \"!!document.getElementById('cart-gizmo-y')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#checkout-btn\"}, {\"expression\": \"document.getElementById('receipt').textContent.indexOf('ord-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#receipt\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_checkout_receipt__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Checkout returns a server-computed order receipt (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_filter_narrows__pw", "input": "Typing a filter narrows the item list to matching entries (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_filter_narrows__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_filter_narrows.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, types a filter prefix, and answers with the live match counter.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"filter_applied\", \"step\": 8}, {\"expected\": \"wid:3\", \"kind\": \"saved_equals\", \"label\": \"narrowed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.querySelectorAll('#items li').length === 5\", \"op\": \"wait_for_function\"}, {\"op\": \"fill\", \"selector\": \"#filter-in\", \"value\": \"wid\"}, {\"expression\": \"document.getElementById('filter-in').dispatchEvent(new Event('input', {bubbles: true})); 'fired'\", \"op\": \"evaluate\"}, {\"expression\": \"document.getElementById('filter-count').textContent === 'wid:3'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#filter-count\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_filter_narrows__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Typing a filter narrows the item list to matching entries (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_filter_then_add__pw", "input": "An item added from a filtered view lands in the cart (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_filter_then_add__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_filter_then_add.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, filters to the gizmo group, adds the first match, and answers with its cart line.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"added_from_filter\", \"step\": 9}, {\"expected\": \"gizmo-x:1\", \"kind\": \"saved_equals\", \"label\": \"cart_line\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.querySelectorAll('#items li').length === 5\", \"op\": \"wait_for_function\"}, {\"op\": \"fill\", \"selector\": \"#filter-in\", \"value\": \"giz\"}, {\"expression\": \"document.getElementById('filter-in').dispatchEvent(new Event('input', {bubbles: true})); 'fired'\", \"op\": \"evaluate\"}, {\"expression\": \"document.getElementById('filter-count').textContent === 'giz:2'\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-gizmo-x\"}, {\"expression\": \"!!document.getElementById('cart-gizmo-x')\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('cart-gizmo-x').textContent.trim().replace(/ rm$/, '')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_filter_then_add__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An item added from a filtered view lands in the cart (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_full_flow_aggregate__pw", "input": "The full login-add-add-checkout flow aggregates end to end (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_full_flow_aggregate__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_full_flow_aggregate.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Runs the entire flow and answers with greeting plus receipt, every part server-computed.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"flow_complete\", \"step\": 10}, {\"expected\": \"hi-eve-7|ord-14-2\", \"kind\": \"saved_equals\", \"label\": \"aggregate\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-a\"}, {\"expression\": \"!!document.getElementById('cart-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-gizmo-x\"}, {\"expression\": \"!!document.getElementById('cart-gizmo-x')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#checkout-btn\"}, {\"expression\": \"document.getElementById('receipt').textContent.indexOf('ord-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('greet').textContent + '|' + document.getElementById('receipt').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_full_flow_aggregate__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The full login-add-add-checkout flow aggregates end to end (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_locked_without_login__pw", "input": "The item list is locked without a session (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_locked_without_login__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_locked_without_login.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clears any leftover session cookie, reloads, and confirms the server refuses the item list.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"locked_state\", \"step\": 4}, {\"expected\": \"locked\", \"kind\": \"saved_equals\", \"label\": \"server_refused\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.cookie = 'abb_app_sid=; Max-Age=0; path=/'; 'cleared'\", \"op\": \"evaluate\"}, {\"op\": \"reload\"}, {\"expression\": \"document.getElementById('filter-count').textContent === 'locked'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#filter-count\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.reload\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_locked_without_login__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The item list is locked without a session (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_login_greets__pw", "input": "Logging in yields a server-echoed greeting (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_login_greets__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_login_greets.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills the user field, logs in, and answers with the greeting the server echoed back.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"login_done\", \"step\": 4}, {\"expected\": \"hi-eve-7\", \"kind\": \"saved_equals\", \"label\": \"greeting\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#greet\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_login_greets__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Logging in yields a server-echoed greeting (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_logout_locks__pw", "input": "Logging out drops the server session and relocks the list (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_logout_locks__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_logout_locks.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, logs out, and answers with the server farewell plus the relocked list marker.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"logged_out\", \"step\": 6}, {\"expected\": \"bye-eve-7:locked\", \"kind\": \"saved_equals\", \"label\": \"farewell_and_lock\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#logout-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('bye-') !== -1 && document.getElementById('filter-count').textContent === 'locked'\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('greet').textContent + ':' + document.getElementById('filter-count').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_logout_locks__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Logging out drops the server session and relocks the list (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_qty_accumulates__pw", "input": "Adding the same item twice accumulates quantity server-side (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_qty_accumulates__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_qty_accumulates.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, adds one item twice, and answers with the cart line plus total.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_add\", \"step\": 8}, {\"expected\": \"widget-b:2:total-10\", \"kind\": \"saved_equals\", \"label\": \"qty_and_total\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-widget-b')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-b\"}, {\"expression\": \"!!document.getElementById('cart-widget-b')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-b\"}, {\"expression\": \"document.getElementById('cart-total').textContent === 'total-10'\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('cart-widget-b').textContent.trim().replace(/ rm$/, '') + ':' + document.getElementById('cart-total').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_qty_accumulates__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Adding the same item twice accumulates quantity server-side (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_app_remove_item__pw", "input": "Removing a cart line updates the server-side total (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_app_remove_item__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/app_remove_item.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Logs in, adds two items, removes one, and answers with the corrected total.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"line_removed\", \"step\": 11}, {\"expected\": \"total-7\", \"kind\": \"saved_equals\", \"label\": \"corrected_total\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#user-in\", \"value\": \"eve-7\"}, {\"op\": \"click\", \"selector\": \"#login-btn\"}, {\"expression\": \"document.getElementById('greet').textContent.indexOf('hi-') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"!!document.getElementById('add-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-a\"}, {\"expression\": \"!!document.getElementById('cart-widget-a')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#add-widget-c\"}, {\"expression\": \"!!document.getElementById('cart-widget-c')\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#rm-widget-a\"}, {\"expression\": \"document.getElementById('cart-total').textContent === 'total-7'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#cart-total\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.runtime.evaluate\", \"cdp.input.dispatch_mouse_event\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_remove_item__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Removing a cart line updates the server-side total (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_computed_style_breadth__pw", "input": "Computed style exposes a broad property set and critical interaction properties (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_computed_style_breadth__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/computed_style_breadth.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Calls CSS.getComputedStyleForNode through each raw-capable driver, requires at least 100 distinct properties, and verifies display, visibility, opacity, and pointer-events remain readable.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"computed_style_read\", \"step\": 3}, {\"expected\": \"breadth-ok|count=\", \"kind\": \"saved_contains\", \"label\": \"property_set_is_broad\", \"name\": \"answer\"}, {\"expected\": \"display=block|visibility=visible|opacity=0.75|pointer-events=auto\", \"kind\": \"saved_contains\", \"label\": \"critical_properties_readable\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"wait_for_selector\", \"selector\": \"#computed-style-target\", \"state\": \"visible\"}, {\"min_property_count\": 100, \"op\": \"computed_style_breadth\", \"required_properties\": [\"display\", \"visibility\", \"opacity\", \"pointer-events\"], \"save_as\": \"answer\", \"selector\": \"#computed-style-target\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_selector\", \"fw.playwright.op.computed_style_breadth\", \"cdp.css.get_computed_style_for_node\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/obs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.issue_106\", \"purpose.diagnostic\"], \"task_id\": \"sc_computed_style_breadth__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Computed style exposes a broad property set and critical interaction properties (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_eval_context_persists__pw", "input": "The JS world persists between separate driver evaluate calls (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_eval_context_persists__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_eval_context_persists.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets a window global in one evaluate call and derives a value from it in a second call. A driver that evaluates each expression in a throwaway context (or a fresh isolated world) fails here.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_eval_ok\", \"step\": 3}, {\"expected\": \"42\", \"kind\": \"saved_equals\", \"label\": \"context_persisted\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__abb_x = 41, 'set'\", \"op\": \"evaluate\"}, {\"expression\": \"String(window.__abb_x + 1)\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_eval_context_persists__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The JS world persists between separate driver evaluate calls (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_fresh_page_no_stale_globals__pw", "input": "A newly created page starts with a fresh JS world (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_fresh_page_no_stale_globals__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_fresh_page_no_stale_globals.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets a window global on the first page, then creates a new page on the same URL and confirms the global is absent. Exercises that new targets get fresh execution contexts rather than reusing the old page's world.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"recreate_ok\", \"step\": 3}, {\"expected\": \"fresh\", \"kind\": \"saved_equals\", \"label\": \"world_is_fresh\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__abb_marker = 41, 'marked'\", \"op\": \"evaluate\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"typeof window.__abb_marker === 'undefined' ? 'fresh' : 'stale'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.target.create_target\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_fresh_page_no_stale_globals__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A newly created page starts with a fresh JS world (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_ready_state_complete__pw", "input": "A settled navigation reports document.readyState complete (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_ready_state_complete__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_ready_state_complete.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates and immediately asks the page for its readyState through the driver's evaluate surface. A driver that returns from goto before the document settles fails here.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"complete\", \"kind\": \"saved_equals\", \"label\": \"ready_complete\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.readyState\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.page.navigate\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_ready_state_complete__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A settled navigation reports document.readyState complete (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_second_page_independent_nav__pw", "input": "A second page navigates independently of the first (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_second_page_independent_nav__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_second_page_independent_nav.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates the first page to the core fixture, creates a second page, navigates it to /page2 and reads its heading. The first page's location must not constrain the second target's navigation.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_nav_ok\", \"step\": 3}, {\"expected\": \"Page Two\", \"kind\": \"saved_equals\", \"label\": \"second_page_heading\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.target.create_target\", \"cdp.page.navigate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_second_page_independent_nav__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A second page navigates independently of the first (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_session_survives_three_pages__pw", "input": "The driver session stays healthy across three page creations (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_session_survives_three_pages__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_session_survives_three_pages.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Creates three pages in sequence, navigating each, and reads the heading from the last one. Exercises session/bookkeeping stability across repeated target creation within one attempt.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"third_page_nav_ok\", \"step\": 5}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"third_page_heading\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.target.create_target\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_session_survives_three_pages__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver session stays healthy across three page creations (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_two_pages_isolated__pw", "input": "State set in one page must not leak into a second page (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_two_pages_isolated__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_two_pages_isolated.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills an input on the first page, then creates a second page on the same fixture and confirms its input is untouched. Exercises multi-target isolation within one driver session.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_page_created\", \"step\": 3}, {\"expected\": \"isolated\", \"kind\": \"saved_equals\", \"label\": \"no_state_leak\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#field\", \"value\": \"leak-probe\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('field').value === '' ? 'isolated' : 'leaked:' + document.getElementById('field').value\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.evaluate\", \"cdp.target.create_target\", \"cdp.target.attach_to_target\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_two_pages_isolated__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"State set in one page must not leak into a second page (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_ua_surface__pw", "input": "Read the browser identity through the driver and the page (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_ua_surface__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_ua_surface.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Reads the user agent through the driver's own identity surface and through page JavaScript. Exercises the session's identity plumbing end to end; every engine spoofs a Mozilla-family UA, so the page-observed value must contain 'Mozilla/'.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"driver_ua_readable\", \"step\": 2}, {\"expected\": \"Mozilla/\", \"kind\": \"saved_contains\", \"label\": \"page_ua_mozilla\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"user_agent\", \"save_as\": \"driver_ua\"}, {\"expression\": \"navigator.userAgent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.user_agent\", \"fw.playwright.op.evaluate\", \"cdp.browser.get_version\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_ua_surface__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read the browser identity through the driver and the page (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_cs_url_surface__pw", "input": "The driver's URL surface reflects the navigated location (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_cs_url_surface__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/cs_url_surface.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates to the core fixture and reads the current URL through the driver's own url surface (not page JS). The reported location must contain the fixture path.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"url_readable\", \"step\": 2}, {\"expected\": \"/l1/core\", \"kind\": \"saved_contains\", \"label\": \"url_has_fixture_path\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"url\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.url\", \"cdp.page.navigate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_url_surface__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver's URL surface reflects the navigated location (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dl_download_checksum__pw", "input": "A clicked download is captured and its bytes checksummed (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dl_download_checksum__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dl_download_checksum.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clicks the attachment link, captures the download to the artifact dir, and answers with the probe-computed sha256 prefix and size of the saved bytes.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"download_captured\", \"step\": 2}, {\"kind\": \"file_nonempty\", \"label\": \"bytes_on_disk\", \"path\": \"{artifact_dir}/dl.txt\"}, {\"expected\": \"2902f066860b:21\", \"kind\": \"saved_equals\", \"label\": \"checksum\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"download\", \"path\": \"{artifact_dir}/dl.txt\", \"save_as\": \"answer\", \"selector\": \"#dl-link\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.download\", \"cdp.browser.set_download_behavior\", \"cdp.page.download_will_begin\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_dl_download_checksum__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A clicked download is captured and its bytes checksummed (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dlg_alert_message__pw", "input": "An alert dialog is intercepted and its computed message recorded (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dlg_alert_message__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dlg_alert_message.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms an auto-accept dialog handler, clicks a button whose handler alerts a script-computed message, and answers with the recorded dialog log.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"page_unblocked\", \"step\": 4}, {\"expected\": \"dlg-alert-42\", \"kind\": \"saved_contains\", \"label\": \"alert_recorded\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"action\": \"accept\", \"op\": \"on_dialog\"}, {\"op\": \"click\", \"selector\": \"#btn-alert\"}, {\"expression\": \"document.getElementById('dlg-out').textContent.indexOf('alert-done') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"get_dialogs\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.on_dialog\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.get_dialogs\", \"cdp.page.javascript_dialog_opening\", \"cdp.page.handle_java_script_dialog\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_dlg_alert_message__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An alert dialog is intercepted and its computed message recorded (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dlg_confirm_accept__pw", "input": "Accepting a confirm dialog drives the page down the yes-branch (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dlg_confirm_accept__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dlg_confirm_accept.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms an accepting dialog handler and clicks a button whose confirm() result is written into the DOM with a computed suffix.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"confirm_resolved\", \"step\": 4}, {\"expected\": \"confirm-yes-33\", \"kind\": \"saved_equals\", \"label\": \"yes_branch\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"action\": \"accept\", \"op\": \"on_dialog\"}, {\"op\": \"click\", \"selector\": \"#btn-confirm\"}, {\"expression\": \"document.getElementById('dlg-out').textContent.indexOf('confirm-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dlg-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.on_dialog\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.page.javascript_dialog_opening\", \"cdp.page.handle_java_script_dialog\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_dlg_confirm_accept__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Accepting a confirm dialog drives the page down the yes-branch (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dlg_confirm_dismiss__pw", "input": "Dismissing a confirm dialog drives the page down the no-branch (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dlg_confirm_dismiss__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dlg_confirm_dismiss.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms a dismissing dialog handler and confirms the page observes confirm() === false.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"confirm_resolved\", \"step\": 4}, {\"expected\": \"confirm-no-33\", \"kind\": \"saved_equals\", \"label\": \"no_branch\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"action\": \"dismiss\", \"op\": \"on_dialog\"}, {\"op\": \"click\", \"selector\": \"#btn-confirm\"}, {\"expression\": \"document.getElementById('dlg-out').textContent.indexOf('confirm-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dlg-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.on_dialog\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.page.javascript_dialog_opening\", \"cdp.page.handle_java_script_dialog\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_dlg_confirm_dismiss__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Dismissing a confirm dialog drives the page down the no-branch (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dlg_prompt_text__pw", "input": "A prompt dialog receives driver-supplied text (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dlg_prompt_text__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dlg_prompt_text.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms an accepting dialog handler carrying prompt text and confirms the page receives exactly that text instead of the default.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"prompt_resolved\", \"step\": 4}, {\"expected\": \"prompt-typed-19\", \"kind\": \"saved_equals\", \"label\": \"driver_text_used\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"action\": \"accept\", \"op\": \"on_dialog\", \"text\": \"typed-19\"}, {\"op\": \"click\", \"selector\": \"#btn-prompt\"}, {\"expression\": \"document.getElementById('dlg-out').textContent.indexOf('prompt-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dlg-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.on_dialog\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.page.javascript_dialog_opening\", \"cdp.page.handle_java_script_dialog\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_dlg_prompt_text__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A prompt dialog receives driver-supplied text (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dlg_sequence_two_dialogs__pw", "input": "Two dialogs raised back-to-back are both handled (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dlg_sequence_two_dialogs__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dlg_sequence_two_dialogs.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"One click raises an alert then a confirm; the armed handler must resolve both so the page reaches its computed end state, and the dialog log must show both entries.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"sequence_resolved\", \"step\": 4}, {\"expected\": \"seq-y-4\", \"kind\": \"saved_equals\", \"label\": \"end_state\", \"name\": \"answer\"}, {\"expected\": \"first-4\", \"kind\": \"saved_contains\", \"label\": \"alert_logged\", \"name\": \"dialog_log\"}, {\"expected\": \"second-4\", \"kind\": \"saved_contains\", \"label\": \"confirm_logged\", \"name\": \"dialog_log\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"action\": \"accept\", \"op\": \"on_dialog\"}, {\"op\": \"click\", \"selector\": \"#btn-two\"}, {\"expression\": \"document.getElementById('dlg-out').textContent.indexOf('seq-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dlg-out\"}, {\"op\": \"get_dialogs\", \"save_as\": \"dialog_log\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.on_dialog\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"fw.playwright.op.get_dialogs\", \"cdp.page.javascript_dialog_opening\", \"cdp.page.handle_java_script_dialog\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_dlg_sequence_two_dialogs__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Two dialogs raised back-to-back are both handled (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dyn_counter_clicks__pw", "input": "Click a counter button repeatedly and read the tally (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dyn_counter_clicks__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dyn_counter_clicks.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clicks #counter-btn three times on the probe controls page; each click increments the #press-count output via a JS handler. Reads the final tally. Exercises repeated pointer dispatch and observation of client-side state accumulation.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"third_click_ok\", \"step\": 4}, {\"expected\": \"3\", \"kind\": \"saved_equals\", \"label\": \"count_is_three\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#counter-btn\"}, {\"op\": \"click\", \"selector\": \"#counter-btn\"}, {\"op\": \"click\", \"selector\": \"#counter-btn\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#press-count\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.click\", \"fw.playwright.op.text_content\", \"cdp.input.dispatch_mouse_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_dyn_counter_clicks__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Click a counter button repeatedly and read the tally (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_dyn_paging_final__pw", "input": "Advance paging via XHR clicks and read the final datum (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_dyn_paging_final__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/dyn_paging_final.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"On the paging fixture each #next click advances a counter and fetches that page's datum over XHR. The final datum P3-FINAL-73 exists only on page 3, reachable after two clicks, so it can only be read by waiting for each async update. Exercises polling/event-driven waiting across real network round-trips.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"final_datum_settled\", \"step\": 5}, {\"expected\": \"P3-FINAL-73\", \"kind\": \"saved_contains\", \"label\": \"status_has_final\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#next\"}, {\"expression\": \"document.getElementById('status').textContent.indexOf('page:2:')===0\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#next\"}, {\"expression\": \"document.getElementById('status').textContent.indexOf('P3-FINAL-73')>=0\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#status\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v2/actl2/paging\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_dyn_paging_final__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Advance paging via XHR clicks and read the final datum (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_checkbox_check__pw", "input": "Check a checkbox and observe the checked property (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_checkbox_check__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_checkbox_check.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Checks the #checkbox input and reads its live .checked property via evaluate. Exercises the check contract: the driver must toggle the control to a checked state observable on the DOM property, not merely dispatch a click.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"check_ok\", \"step\": 2}, {\"kind\": \"saved_truthy\", \"label\": \"checkbox_is_checked\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"check\", \"selector\": \"#checkbox\"}, {\"expression\": \"document.getElementById('checkbox').checked\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.check\", \"fw.playwright.op.evaluate\", \"cdp.input.dispatch_mouse_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_checkbox_check__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Check a checkbox and observe the checked property (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_checkbox_event__pw", "input": "Check a checkbox and observe its change handler output (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_checkbox_event__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_checkbox_event.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Checks the #agree checkbox on the probe controls page; the change handler writes 'checked' into #agree-out. Reads it back. Unlike a bare .checked read, this asserts the driver's check dispatches a real change event the page can react to.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"check_ok\", \"step\": 2}, {\"expected\": \"checked\", \"kind\": \"saved_equals\", \"label\": \"agree_checked\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"check\", \"selector\": \"#agree\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#agree-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.check\", \"fw.playwright.op.text_content\", \"cdp.input.dispatch_mouse_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_checkbox_event__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Check a checkbox and observe its change handler output (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_fill_overwrites__pw", "input": "A second fill replaces the first value (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_fill_overwrites__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_fill_overwrites.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills the same input twice; fill semantics require clear-then-set, so only the second value must remain.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_fill_ok\", \"step\": 3}, {\"expected\": \"second-77\", \"kind\": \"saved_equals\", \"label\": \"second_value_only\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#overwrite\", \"value\": \"first-11\"}, {\"op\": \"fill\", \"selector\": \"#overwrite\", \"value\": \"second-77\"}, {\"op\": \"input_value\", \"save_as\": \"answer\", \"selector\": \"#overwrite\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.input_value\", \"cdp.input.insert_text\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/forms\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_fill_overwrites__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A second fill replaces the first value (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_fill_readback__pw", "input": "Fill a text input and read the value back (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_fill_readback__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_fill_readback.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills the #field text input with a distinctive value and reads it back via input_value. Exercises the fill contract end to end: the driver must set the input's live value and observe it, proving keyboard/value semantics rather than just a DOM attribute.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"fill_ok\", \"step\": 2}, {\"expected\": \"bench-fill-7q\", \"kind\": \"saved_equals\", \"label\": \"value_roundtrips\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#field\", \"value\": \"bench-fill-7q\"}, {\"op\": \"input_value\", \"save_as\": \"answer\", \"selector\": \"#field\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.input_value\", \"cdp.input.insert_text\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_fill_readback__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Fill a text input and read the value back (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_focus_active_element__pw", "input": "The driver focus route changes document.activeElement (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_focus_active_element__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_focus_active_element.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Focuses the core text field through each driver's public route or documented Runtime.evaluate fallback, then verifies the page's active element.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"focus_route_completed\", \"step\": 2}, {\"expected\": \"field\", \"kind\": \"saved_equals\", \"label\": \"active_element_changed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"focus\", \"selector\": \"#field\"}, {\"expression\": \"document.activeElement && document.activeElement.id\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.focus\", \"fw.playwright.op.evaluate\", \"cdp.dom.focus\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\", \"purpose.issue_106\"], \"task_id\": \"sc_form_focus_active_element__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver focus route changes document.activeElement (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_label_click_toggles__pw", "input": "Clicking a label toggles its control and fires change (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_label_click_toggles__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_label_click_toggles.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clicks the label (not the checkbox) and reads the change-handler output; label activation semantics must reach the associated control.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"label_click_ok\", \"step\": 2}, {\"expected\": \"via-label-on\", \"kind\": \"saved_equals\", \"label\": \"change_fired\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#via-label\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#label-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.click\", \"fw.playwright.op.text_content\", \"cdp.input.dispatch_mouse_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/forms\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_label_click_toggles__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Clicking a label toggles its control and fires change (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_press_enter_handler__pw", "input": "press Enter reaches the focused field's key handler (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_press_enter_handler__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_press_enter_handler.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Presses Enter inside a text field whose keydown handler records the event; exercises real key-event dispatch, not value mutation.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"press_ok\", \"step\": 2}, {\"expected\": \"enter-65\", \"kind\": \"saved_equals\", \"label\": \"keydown_seen\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"key\": \"Enter\", \"op\": \"press\", \"selector\": \"#enter-field\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#enter-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.press\", \"fw.playwright.op.text_content\", \"cdp.input.dispatch_key_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/forms\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_press_enter_handler__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"press Enter reaches the focused field's key handler (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_radio_pick__pw", "input": "Clicking one radio selects it and deselects siblings (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_radio_pick__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_radio_pick.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clicks the second radio in a group and derives which one the group reports as checked.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"click_ok\", \"step\": 2}, {\"expected\": \"opt-b\", \"kind\": \"saved_equals\", \"label\": \"b_selected\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#opt-b\"}, {\"expression\": \"(document.querySelector('input[name=opt]:checked') || {id: 'none'}).id\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.click\", \"fw.playwright.op.evaluate\", \"cdp.input.dispatch_mouse_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/forms\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_radio_pick__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Clicking one radio selects it and deselects siblings (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_select_option__pw", "input": "Select a dropdown option and observe the change event (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_select_option__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_select_option.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Selects the Engineering option in the #dept dropdown on the probe controls page; the page's change handler writes 'picked:eng' into #dept-out. Reads it back. Exercises select_option and confirms the driver triggers the change event rather than only setting value.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"select_ok\", \"step\": 2}, {\"expected\": \"picked:eng\", \"kind\": \"saved_equals\", \"label\": \"dept_picked_eng\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"select_option\", \"selector\": \"#dept\", \"value\": \"eng\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dept-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.select_option\", \"fw.playwright.op.text_content\", \"cdp.dom.set_attribute_value\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_select_option__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Select a dropdown option and observe the change event (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_submit_roundtrip__pw", "input": "Submit a GET form and read the echoed query (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_submit_roundtrip__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_submit_roundtrip.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills the query input, clicks submit, waits for the reloaded document, and reads the server-echoed query value. Exercises the full fill -> submit -> navigation -> readback chain.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"submit_ok\", \"step\": 3}, {\"expected\": \"submitted:probe-624\", \"kind\": \"saved_equals\", \"label\": \"query_echoed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#q\", \"value\": \"probe-624\"}, {\"op\": \"click\", \"selector\": \"#q-submit\"}, {\"expression\": \"location.search.indexOf('q=') >= 0 && !!document.getElementById('q-echo')\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#q-echo\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.input.insert_text\", \"cdp.page.navigate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/forms\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_submit_roundtrip__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Submit a GET form and read the echoed query (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_form_textarea_fill__pw", "input": "Fill a textarea and read it back (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_form_textarea_fill__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/form_textarea_fill.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills a textarea and reads its live value through the driver.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"fill_ok\", \"step\": 2}, {\"expected\": \"ta-line-9\", \"kind\": \"saved_equals\", \"label\": \"textarea_roundtrip\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#notes\", \"value\": \"ta-line-9\"}, {\"op\": \"input_value\", \"save_as\": \"answer\", \"selector\": \"#notes\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.input_value\", \"cdp.input.insert_text\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/forms\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_textarea_fill__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Fill a textarea and read it back (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_child_posts_parent__pw", "input": "Child frames deliver postMessage to the parent document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_child_posts_parent__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_child_posts_parent.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Both static children post a greeting on load; the parent collects them and answers with the sorted join, proving frame scripts executed and the message channel works.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"messages_arrived\", \"step\": 2}, {\"expected\": \"hello-a|hello-b\", \"kind\": \"saved_equals\", \"label\": \"both_children_posted\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__msgs && window.__msgs.length >= 2\", \"op\": \"wait_for_function\"}, {\"expression\": \"window.__msgs.slice().sort().join('|')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.page.frame_attached\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_child_posts_parent__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Child frames deliver postMessage to the parent document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_child_self_navigation__pw", "input": "A child frame navigates itself while the parent document survives (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_child_self_navigation__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_child_self_navigation.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets a marker on the parent, navigates the first child frame to a new URL, and answers with the child's new message plus proof the parent was not reloaded.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"child_navigated\", \"step\": 3}, {\"expected\": \"child-nav2-42:top-alive\", \"kind\": \"saved_equals\", \"label\": \"parent_survived\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__top_alive = 9; frames[0].location.href = '/v0_4/frames/child?tag=nav2'; 'navigating'\", \"op\": \"evaluate\"}, {\"expression\": \"!!frames[0].document.getElementById('msg') && frames[0].document.getElementById('msg').textContent.indexOf('nav2') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"frames[0].document.getElementById('msg').textContent + ':' + (window.__top_alive === 9 ? 'top-alive' : 'top-reloaded')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.frame_navigated\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_child_self_navigation__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A child frame navigates itself while the parent document survives (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_cross_origin_blocked__pw", "input": "Top-document JS cannot reach into a cross-origin iframe (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_cross_origin_blocked__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_cross_origin_blocked.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Inserts an iframe served from the localhost alias of the fixture origin (different origin string, same server), waits for it to load, and confirms the same-origin policy throws SecurityError on document access.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"xo_frame_loaded\", \"step\": 3}, {\"expected\": \"blocked:SecurityError\", \"kind\": \"saved_equals\", \"label\": \"same_origin_policy_enforced\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"var f = document.createElement('iframe'); f.src = 'http://localhost:' + location.port + '/v0_4/frames/child?tag=xb'; f.id = 'xo'; f.onload = function () { window.__xo_loaded = true; }; document.getElementById('slot').appendChild(f); 'inserted'\", \"op\": \"evaluate\"}, {\"expression\": \"window.__xo_loaded === true\", \"op\": \"wait_for_function\"}, {\"expression\": \"(function () { try { var d = frames[2].document; return 'leaked:' + (d ? 'doc' : 'nodoc'); } catch (e) { return 'blocked:' + e.name; } })()\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.frame_attached\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_cross_origin_blocked__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Top-document JS cannot reach into a cross-origin iframe (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_cross_origin_frame_evaluate__pw", "input": "Frame-scoped evaluate reads a cross-origin child the top document cannot touch (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_cross_origin_frame_evaluate__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_cross_origin_frame_evaluate.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Inserts a cross-origin child and reads its script-computed message via a frame-scoped evaluate, the only legal route into a cross-origin frame.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"frame_scoped_eval_ok\", \"step\": 4}, {\"expected\": \"child-xo-42\", \"kind\": \"saved_equals\", \"label\": \"xo_child_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"var f = document.createElement('iframe'); f.src = 'http://localhost:' + location.port + '/v0_4/frames/child?tag=xo'; f.id = 'xo'; f.onload = function () { window.__xo_loaded = true; }; document.getElementById('slot').appendChild(f); 'inserted'\", \"op\": \"evaluate\"}, {\"expression\": \"window.__xo_loaded === true\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('msg').textContent\", \"op\": \"frame_evaluate\", \"save_as\": \"answer\", \"url_contains\": \"tag=xo\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.frame_evaluate\", \"cdp.target.attach_to_target\", \"cdp.page.get_frame_tree\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_cross_origin_frame_evaluate__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Frame-scoped evaluate reads a cross-origin child the top document cannot touch (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_dynamic_iframe_attach__pw", "input": "A dynamically inserted iframe attaches and runs its document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_dynamic_iframe_attach__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_dynamic_iframe_attach.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Inserts a third iframe after load and reads its script-computed message once the new frame's document is live.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"frame_attached\", \"step\": 3}, {\"expected\": \"child-dyn-42\", \"kind\": \"saved_equals\", \"label\": \"dynamic_child_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"var f = document.createElement('iframe'); f.src = '/v0_4/frames/child?tag=dyn'; document.getElementById('slot').appendChild(f); 'inserted'\", \"op\": \"evaluate\"}, {\"expression\": \"window.frames.length === 3 && !!frames[2].document.getElementById('msg') && frames[2].document.getElementById('msg').textContent.indexOf('dyn') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"frames[2].document.getElementById('msg').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.frame_attached\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_dynamic_iframe_attach__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A dynamically inserted iframe attaches and runs its document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_frame_tree_shape__pw", "input": "The live frame tree reflects static plus dynamic children (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_frame_tree_shape__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_frame_tree_shape.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Counts frames before and after inserting a child that itself embeds a grandchild, answering with the observed growth of the reachable same-origin tree.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"tree_settled\", \"step\": 3}, {\"expected\": \"2>3>4\", \"kind\": \"saved_equals\", \"label\": \"tree_shape\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__c0 = window.frames.length; var f = document.createElement('iframe'); f.src = '/v0_4/frames/child?tag=shape&deep=1'; document.getElementById('slot').appendChild(f); 'inserted'\", \"op\": \"evaluate\"}, {\"expression\": \"window.frames.length === 3 && frames[2].frames.length === 1\", \"op\": \"wait_for_function\"}, {\"expression\": \"window.__c0 + '>' + window.frames.length + '>' + (window.frames.length + frames[2].frames.length)\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.get_frame_tree\", \"cdp.page.frame_attached\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_frame_tree_shape__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The live frame tree reflects static plus dynamic children (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_iframe_detach__pw", "input": "Removing an iframe detaches its frame from the tree (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_iframe_detach__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_iframe_detach.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Records the initial frame count, removes the first static iframe, waits for the tree to shrink, and answers with the before:after counts.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"frame_detached\", \"step\": 3}, {\"expected\": \"2:1\", \"kind\": \"saved_equals\", \"label\": \"count_shrank\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__before = window.frames.length; document.getElementById('fa').remove(); 'removed'\", \"op\": \"evaluate\"}, {\"expression\": \"window.frames.length === window.__before - 1\", \"op\": \"wait_for_function\"}, {\"expression\": \"window.__before + ':' + window.frames.length\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.frame_detached\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_iframe_detach__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Removing an iframe detaches its frame from the tree (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_nested_two_levels__pw", "input": "A grandchild frame two levels down is reachable through the frame tree (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_nested_two_levels__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_nested_two_levels.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Inserts a child that embeds its own child; the top document reads the grandchild's script-computed message through two levels of same-origin frame traversal.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"grandchild_loaded\", \"step\": 3}, {\"expected\": \"child-leaf-42\", \"kind\": \"saved_equals\", \"label\": \"grandchild_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"var f = document.createElement('iframe'); f.src = '/v0_4/frames/child?tag=mid&deep=1'; document.getElementById('slot').appendChild(f); 'inserted'\", \"op\": \"evaluate\"}, {\"expression\": \"window.frames.length === 3 && frames[2].frames.length === 1 && !!frames[2].frames[0].document.getElementById('msg') && frames[2].frames[0].document.getElementById('msg').textContent.indexOf('leaf') !== -1\", \"op\": \"wait_for_function\"}, {\"expression\": \"frames[2].frames[0].document.getElementById('msg').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.frame_attached\", \"cdp.page.get_frame_tree\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_nested_two_levels__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A grandchild frame two levels down is reachable through the frame tree (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_oopif_attach_read_detach__pw", "input": "An out-of-process iframe attaches, is readable frame-scoped, and detaches cleanly (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_oopif_attach_read_detach__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_oopif_attach_read_detach.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Under site isolation a cross-origin iframe runs out-of-process; the driver must still enumerate it, evaluate inside it, and observe the frame tree shrink after removal.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"oopif_eval_ok\", \"step\": 4}, {\"expected\": \"child-oopif-42\", \"kind\": \"saved_equals\", \"label\": \"oopif_text\", \"name\": \"answer\"}, {\"expected\": \"2\", \"kind\": \"saved_equals\", \"label\": \"detached\", \"name\": \"after_detach\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"var f = document.createElement('iframe'); f.src = 'http://localhost:' + location.port + '/v0_4/frames/child?tag=oopif'; f.id = 'xo'; f.onload = function () { window.__xo_loaded = true; }; document.getElementById('slot').appendChild(f); 'inserted'\", \"op\": \"evaluate\"}, {\"expression\": \"window.__xo_loaded === true\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('msg').textContent\", \"op\": \"frame_evaluate\", \"save_as\": \"answer\", \"url_contains\": \"tag=oopif\"}, {\"expression\": \"document.getElementById('xo').remove(); 'removed'\", \"op\": \"evaluate\"}, {\"expression\": \"window.frames.length === 2\", \"op\": \"wait_for_function\"}, {\"expression\": \"String(window.frames.length)\", \"op\": \"evaluate\", \"save_as\": \"after_detach\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.frame_evaluate\", \"cdp.target.attach_to_target\", \"cdp.page.frame_detached\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_oopif_attach_read_detach__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An out-of-process iframe attaches, is readable frame-scoped, and detaches cleanly (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_sibling_isolation__pw", "input": "Writing into one child frame leaves its sibling untouched (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_sibling_isolation__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_sibling_isolation.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Pokes a computed value into child A's note element and answers with both children's notes, proving sibling frame documents are distinct.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"poke_ok\", \"step\": 3}, {\"expected\": \"poked-25:idle\", \"kind\": \"saved_equals\", \"label\": \"sibling_untouched\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.frames.length === 2 && !!frames[0].document.getElementById('note') && !!frames[1].document.getElementById('note')\", \"op\": \"wait_for_function\"}, {\"expression\": \"frames[0].document.getElementById('note').textContent = 'poked-' + (5 * 5); 'poked'\", \"op\": \"evaluate\"}, {\"expression\": \"frames[0].document.getElementById('note').textContent + ':' + frames[1].document.getElementById('note').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.page.get_frame_tree\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_sibling_isolation__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Writing into one child frame leaves its sibling untouched (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_fr_static_child_read__pw", "input": "Read text out of a statically embedded same-origin iframe (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_fr_static_child_read__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/fr_static_child_read.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Waits for both static children to load and reads the first child's script-computed message through the frame tree.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"children_loaded\", \"step\": 2}, {\"expected\": \"child-a-42\", \"kind\": \"saved_equals\", \"label\": \"child_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.frames.length === 2 && !!frames[0].document.getElementById('msg') && frames[0].document.getElementById('msg').textContent.length > 0\", \"op\": \"wait_for_function\"}, {\"expression\": \"frames[0].document.getElementById('msg').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.page.frame_attached\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/frames\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_static_child_read__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read text out of a statically embedded same-origin iframe (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_adjacent_sibling__pw", "input": "Resolve an adjacent-sibling combinator (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_adjacent_sibling__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_adjacent_sibling.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Reads #lead + .next through the driver's text surface.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"read_ok\", \"step\": 2}, {\"expected\": \"adjacent-33\", \"kind\": \"saved_equals\", \"label\": \"adjacent_match\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#lead + .next\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.dom.query_selector\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_adjacent_sibling__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Resolve an adjacent-sibling combinator (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_attribute_selector_click__pw", "input": "Click an element located by attribute selector (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_attribute_selector_click__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_attribute_selector_click.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clicks a button addressed by [data-x=\\\"go-7\\\"] and reads its handler output. Exercises attribute-selector support in the driver's element resolution.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"click_ok\", \"step\": 2}, {\"expected\": \"attr-hit-go-7\", \"kind\": \"saved_equals\", \"label\": \"handler_saw_attr\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"button[data-x=\\\"go-7\\\"]\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#attr-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.click\", \"fw.playwright.op.text_content\", \"cdp.dom.query_selector\", \"cdp.input.dispatch_mouse_event\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_attribute_selector_click__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Click an element located by attribute selector (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_class_count__pw", "input": "Count elements matching a class selector (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_class_count__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_class_count.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Counts .card elements through the driver's count surface.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"count_ok\", \"step\": 2}, {\"expected\": \"4\", \"kind\": \"saved_equals\", \"label\": \"four_cards\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"count\", \"save_as\": \"answer\", \"selector\": \".card\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.count\", \"cdp.dom.query_selector_all\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_class_count__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Count elements matching a class selector (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_descendant_scope__pw", "input": "A descendant selector stays inside its ancestor (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_descendant_scope__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_descendant_scope.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Reads #zone .value where an identical .value also exists outside #zone; the scoped match must win.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"read_ok\", \"step\": 2}, {\"expected\": \"zone-val-21\", \"kind\": \"saved_equals\", \"label\": \"scoped_match\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#zone .value\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.dom.query_selector\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_descendant_scope__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A descendant selector stays inside its ancestor (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_iframe_same_origin_read__pw", "input": "Read content inside a same-origin iframe (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_iframe_same_origin_read__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_iframe_same_origin_read.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Waits for a srcdoc iframe's document and reads a value computed inside it via contentDocument traversal.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"frame_read_ok\", \"step\": 3}, {\"expected\": \"frame-msg-55\", \"kind\": \"saved_equals\", \"label\": \"frame_content\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"(function(){var f=document.getElementById('child-frame');return !!(f && f.contentDocument && f.contentDocument.getElementById('frame-msg') && f.contentDocument.getElementById('frame-msg').textContent)})()\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('child-frame').contentDocument.getElementById('frame-msg').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_iframe_same_origin_read__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read content inside a same-origin iframe (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_iframe_scope_top_document__pw", "input": "Selectors resolve in the top document, not the iframe (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_iframe_scope_top_document__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_iframe_scope_top_document.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Both the top document and the iframe contain #dup. The driver's selector surface must return the TOP document's element.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"read_ok\", \"step\": 2}, {\"expected\": \"main-dup\", \"kind\": \"saved_equals\", \"label\": \"top_document_wins\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dup\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.dom.query_selector\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_iframe_scope_top_document__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Selectors resolve in the top document, not the iframe (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_missing_element_fails_cleanly__pw", "input": "A missing selector fails the op, not the harness (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_missing_element_fails_cleanly__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_missing_element_fails_cleanly.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Reads a selector that matches nothing; the op must fail cleanly (step_fails) and the attempt derives its answer from that failure.\", \"driver\": {\"checks\": [{\"kind\": \"step_fails\", \"label\": \"missing_fails\", \"step\": 2}, {\"expected\": \"clean-miss\", \"kind\": \"saved_equals\", \"label\": \"clean_miss\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expect_fail\": true, \"op\": \"text_content\", \"save_as\": \"probe\", \"selector\": \"#does-not-exist\"}, {\"expression\": \"document.querySelector('#does-not-exist') === null ? 'clean-miss' : 'phantom'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"fw.playwright.op.evaluate\", \"cdp.dom.query_selector\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_missing_element_fails_cleanly__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A missing selector fails the op, not the harness (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_nth_child_text__pw", "input": "Read the second list item via :nth-child (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_nth_child_text__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_nth_child_text.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Reads li:nth-child(2) from a three-item list through the driver's text surface.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"read_ok\", \"step\": 2}, {\"expected\": \"bravo\", \"kind\": \"saved_equals\", \"label\": \"second_item\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#fruits li:nth-child(2)\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.dom.query_selector\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_nth_child_text__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read the second list item via :nth-child (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_shadow_closed_hidden__pw", "input": "A closed shadow root is not exposed (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_shadow_closed_hidden__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_shadow_closed_hidden.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"The page attaches a closed shadow root; element.shadowRoot must be null while the host still renders. Confirms closed-mode encapsulation.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"probe_ok\", \"step\": 2}, {\"expected\": \"closed-hidden\", \"kind\": \"saved_equals\", \"label\": \"closed_encapsulated\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('shadow-closed-host').shadowRoot === null ? 'closed-hidden' : 'exposed'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_shadow_closed_hidden__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A closed shadow root is not exposed (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_loc_shadow_open_pierce__pw", "input": "Read inside an open shadow root (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_loc_shadow_open_pierce__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/loc_shadow_open_pierce.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"The page attaches an open shadow root at load. Reads the shadow content via explicit shadowRoot traversal - the engine must implement attachShadow and expose shadowRoot.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"shadow_read_ok\", \"step\": 3}, {\"expected\": \"shadow-open-42\", \"kind\": \"saved_equals\", \"label\": \"open_shadow_content\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"!!document.getElementById('shadow-open-host').shadowRoot\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.getElementById('shadow-open-host').shadowRoot.getElementById('inner').textContent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.evaluate\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/locator\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_shadow_open_pierce__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read inside an open shadow root (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_locator_textbox_len__pw", "input": "Type into a textbox and read the derived length output (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_locator_textbox_len__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/locator_textbox_len.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills #textbox with a five-character value on the probe controls page; the input handler writes the live length into #textbox-len. Reads it back. Exercises selector resolution plus input-event-derived DOM observation.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"fill_ok\", \"step\": 2}, {\"expected\": \"5\", \"kind\": \"saved_equals\", \"label\": \"len_is_five\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#textbox\", \"value\": \"abcde\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#textbox-len\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.text_content\", \"cdp.input.insert_text\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_locator_textbox_len__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Type into a textbox and read the derived length output (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_multi_tab_collect__pw", "input": "Collect and aggregate values from two tabs in one driver session (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_multi_tab_collect__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/multi_tab_collect.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Opens two live targets, reads a distinct heading from each, and aggregates both values in the second tab through same-origin session state.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"first_value_collected\", \"step\": 2}, {\"kind\": \"step_ok\", \"label\": \"second_target_created\", \"step\": 3}, {\"expected\": \"CDP Core Fixture|Page Two\", \"kind\": \"saved_equals\", \"label\": \"two_tab_values_aggregated\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"localStorage.setItem('abb-first-tab-heading', document.getElementById('title').textContent.trim()), localStorage.getItem('abb-first-tab-heading')\", \"op\": \"evaluate\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"expression\": \"localStorage.getItem('abb-first-tab-heading') + '|' + document.getElementById('title').textContent.trim()\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.target.create_target\", \"cdp.target.attach_to_target\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.connect_session\", \"version.v0_4\", \"purpose.issue_106\"], \"task_id\": \"sc_multi_tab_collect__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Collect and aggregate values from two tabs in one driver session (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_back_restores__pw", "input": "history back returns to the first document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_back_restores__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_back_restores.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates core -> page2, then drives the browser's history back through the driver's own surface and confirms the first document's heading is restored.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"back_ok\", \"step\": 3}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"first_doc_restored\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"op\": \"go_back\"}, {\"expression\": \"document.getElementById('title') && document.getElementById('title').textContent.indexOf('CDP') === 0\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.go_back\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.page.get_navigation_history\", \"cdp.page.navigate_to_history_entry\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_back_restores__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history back returns to the first document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_cross_page__pw", "input": "Navigate across two pages and read the second heading (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_cross_page__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_cross_page.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates to the core fixture, then to a second page, and reads the second page's #title. Exercises a second full navigation (document swap) and confirms the driver observes the new document rather than the stale first one.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_goto_ok\", \"step\": 2}, {\"expected\": \"Page Two\", \"kind\": \"saved_equals\", \"label\": \"heading_is_page_two\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.page.navigate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_cross_page__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Navigate across two pages and read the second heading (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_forward_after_back__pw", "input": "history forward re-reaches the second document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_forward_after_back__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_forward_after_back.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates core -> page2, goes back, then forward again, and reads the second document's heading.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"forward_ok\", \"step\": 5}, {\"expected\": \"Page Two\", \"kind\": \"saved_equals\", \"label\": \"second_doc_again\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"op\": \"go_back\"}, {\"expression\": \"location.pathname === '/l1/core'\", \"op\": \"wait_for_function\"}, {\"op\": \"go_forward\"}, {\"expression\": \"location.pathname === '/page2'\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.go_back\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.go_forward\", \"fw.playwright.op.text_content\", \"cdp.page.navigate_to_history_entry\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_forward_after_back__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history forward re-reaches the second document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_hash_change__pw", "input": "hash navigation changes location without a reload (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_hash_change__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_hash_change.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets location.hash in-page and confirms both the hash and that no document reload happened (a marker global survives).\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"hash_settled\", \"step\": 3}, {\"expected\": \"#sec-2:no-reload\", \"kind\": \"saved_equals\", \"label\": \"hash_no_reload\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__abb_alive = 7, location.hash = 'sec-2', 'set'\", \"op\": \"evaluate\"}, {\"expression\": \"location.hash === '#sec-2'\", \"op\": \"wait_for_function\"}, {\"expression\": \"location.hash + ':' + (window.__abb_alive === 7 ? 'no-reload' : 'reloaded')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.wait_for_function\", \"cdp.page.navigated_within_document\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_hash_change__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"hash navigation changes location without a reload (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_push_state__pw", "input": "history.pushState changes the URL without a load (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_push_state__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_push_state.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Pushes a same-document history entry with a query string and derives the new search plus proof that the document did not reload.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"derive_ok\", \"step\": 3}, {\"expected\": \"?spa=1:no-reload\", \"kind\": \"saved_equals\", \"label\": \"spa_url_no_reload\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__abb_alive = 3, history.pushState({}, '', '/l1/core?spa=1'), 'pushed'\", \"op\": \"evaluate\"}, {\"expression\": \"location.search + ':' + (window.__abb_alive === 3 ? 'no-reload' : 'reloaded')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.page.navigated_within_document\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_push_state__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history.pushState changes the URL without a load (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_push_state_back__pw", "input": "history back pops a pushState entry in-document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_push_state_back__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_push_state_back.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Pushes a same-document entry, then drives history back through the driver and confirms the original URL is restored without a reload.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"back_ok\", \"step\": 3}, {\"expected\": \"/l1/core:no-reload\", \"kind\": \"saved_equals\", \"label\": \"back_in_document\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.__abb_alive = 5, history.pushState({}, '', '/l1/core?spa=2'), 'pushed'\", \"op\": \"evaluate\"}, {\"op\": \"go_back\"}, {\"expression\": \"location.search === ''\", \"op\": \"wait_for_function\"}, {\"expression\": \"(location.pathname + location.search) + ':' + (window.__abb_alive === 5 ? 'no-reload' : 'reloaded')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.go_back\", \"fw.playwright.op.wait_for_function\", \"cdp.page.navigated_within_document\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_push_state_back__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history back pops a pushState entry in-document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_redirect_chain__pw", "input": "goto follows a 302 redirect chain to the final document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_redirect_chain__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_redirect_chain.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates to an endpoint that 302-redirects twice before landing on a page carrying a redirect-count marker. The driver must settle on the FINAL document.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"chain_followed\", \"step\": 2}, {\"expected\": \"landed-after-redirects\", \"kind\": \"saved_equals\", \"label\": \"final_doc\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/v0_4/redirect/hop?n=2\"}, {\"expression\": \"!!document.getElementById('redirect-landed')\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#redirect-landed\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.network.request_will_be_sent\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/redirect/hop?n=2\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_redirect_chain__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"goto follows a 302 redirect chain to the final document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_reload_resets_dom__pw", "input": "Reload discards un-persisted DOM state (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_reload_resets_dom__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_reload_resets_dom.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fills an input, reloads the page, and confirms the fresh document no longer carries the typed value. Exercises Page.reload semantics: a real reload must produce a new document, not restore transient DOM state.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"reload_ok\", \"step\": 3}, {\"expected\": \"reset-after-reload\", \"kind\": \"saved_equals\", \"label\": \"dom_state_reset\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#field\", \"value\": \"transient-77\"}, {\"op\": \"reload\"}, {\"expression\": \"document.getElementById('field').value === '' ? 'reset-after-reload' : 'kept:' + document.getElementById('field').value\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.fill\", \"fw.playwright.op.reload\", \"fw.playwright.op.evaluate\", \"cdp.page.reload\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_reload_resets_dom__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Reload discards un-persisted DOM state (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_reload_title__pw", "input": "Reload the page and re-read the heading (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_reload_title__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_reload_title.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates to the core fixture, reloads it, and re-reads #title. Exercises the reload lifecycle: the driver must drive a fresh document load and still resolve the selector against the reloaded page.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"reload_ok\", \"step\": 2}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"heading_after_reload\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"reload\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.reload\", \"fw.playwright.op.text_content\", \"cdp.page.reload\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_reload_title__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Reload the page and re-read the heading (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_replace_state_collapses_entry__pw", "input": "history.replaceState rewrites the current entry instead of adding one (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_replace_state_collapses_entry__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_replace_state_collapses_entry.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Pushes one history entry, replaces it in place, then navigates back once. If replaceState correctly rewrote the pushed entry, a single back lands on the original URL with no query string. A driver or engine that materialises replaceState as an extra entry lands on the intermediate URL instead.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"back_ok\", \"step\": 3}, {\"expected\": \"entry-collapsed\", \"kind\": \"saved_equals\", \"label\": \"single_entry_semantics\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"history.pushState({}, '', '?step=push'); history.replaceState({}, '', '?step=replace'); location.search\", \"op\": \"evaluate\"}, {\"op\": \"go_back\"}, {\"expression\": \"location.search === '' ? 'entry-collapsed' : 'extra-entry:' + location.search\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.go_back\", \"cdp.page.get_navigation_history\", \"cdp.page.navigate_to_history_entry\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_replace_state_collapses_entry__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history.replaceState rewrites the current entry instead of adding one (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_slow_document__pw", "input": "goto waits out a slow-responding document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_slow_document__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_slow_document.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates to an endpoint that holds the response for 1.2s before serving the document. A driver that gives up early or reads before the body arrives fails.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"slow_goto_ok\", \"step\": 1}, {\"expected\": \"slow-99\", \"kind\": \"saved_equals\", \"label\": \"slow_doc_read\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/v0_4/slow?ms=1200\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#slow-title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.page.navigate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/slow?ms=1200\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_slow_document__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"goto waits out a slow-responding document (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_nav_title_read__pw", "input": "Navigate and read the page heading (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_nav_title_read__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/nav_title_read.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Opens a page, navigates to the core fixture, and reads the #title heading text. Exercises the most basic navigation + DOM-read contract that every driver must honor.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"heading_is_core_fixture\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.text_content\", \"cdp.page.navigate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_title_read__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Navigate and read the page heading (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_abort_subresource_image__pw", "input": "Aborting a subresource load fires the element's error path (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_abort_subresource_image__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_abort_subresource_image.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms an abort route on the pixel image, then triggers an image load; the page's onerror handler must fire.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"img_result\", \"step\": 4}, {\"expected\": \"img-error\", \"kind\": \"saved_equals\", \"label\": \"error_path\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"route_abort\", \"pattern\": \"**/l1/pixel.png*\"}, {\"op\": \"click\", \"selector\": \"#btn-img\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('img-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#net-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.route_abort\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.fetch.fail_request\", \"cdp.network.loading_failed\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"launch_profile\": \"all_resources\", \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/net\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_abort_subresource_image__pw\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Aborting a subresource load fires the element's error path (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_auth_challenge_then_pass__pw", "input": "An unauthenticated 401 followed by an authenticated retry succeeds (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_auth_challenge_then_pass__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_auth_challenge_then_pass.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fetches the protected endpoint without credentials (observes 401), then arms the Authorization header and fetches again; the page accumulates the two-phase trace.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"two_phase_done\", \"step\": 6}, {\"expected\": \"401>ok-61\", \"kind\": \"saved_equals\", \"label\": \"challenge_then_pass\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#btn-secure\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('401') !== -1\", \"op\": \"wait_for_function\"}, {\"headers\": {\"authorization\": \"Bearer tok-53\"}, \"op\": \"set_extra_headers\"}, {\"op\": \"click\", \"selector\": \"#btn-secure\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('401>ok-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#net-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.set_extra_headers\", \"fw.playwright.op.text_content\", \"cdp.network.set_extra_http_headers\", \"cdp.network.response_received\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/net\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_auth_challenge_then_pass__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An unauthenticated 401 followed by an authenticated retry succeeds (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_auth_header_roundtrip__pw", "input": "A driver-set Authorization header authenticates a protected fetch (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_auth_header_roundtrip__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_auth_header_roundtrip.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets a bearer token via extra headers and fetches the protected endpoint; the server must accept and return its computed body.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"secure_fetched\", \"step\": 4}, {\"expected\": \"ok-61\", \"kind\": \"saved_equals\", \"label\": \"authorized\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"headers\": {\"authorization\": \"Bearer tok-53\"}, \"op\": \"set_extra_headers\"}, {\"op\": \"click\", \"selector\": \"#btn-secure\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('ok-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#net-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.set_extra_headers\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.network.set_extra_http_headers\", \"cdp.network.response_received\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/net\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_auth_header_roundtrip__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A driver-set Authorization header authenticates a protected fetch (playwright)\"}"} {"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_document_fulfill__pw", "input": "A routed navigation serves a driver-authored document (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_document_fulfill__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_document_fulfill.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms a fulfill route on a virtual path and navigates to it; the rendered document must be the mock, proving document-level interception.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"virtual_rendered\", \"step\": 4}, {\"expected\": \"virtual-page-56\", \"kind\": \"saved_equals\", \"label\": \"mock_document\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"