File size: 289,350 Bytes
10c7fb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{"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\": \"<!doctype html><div id=\\\"virt\\\">virtual-page</div><script>document.getElementById('virt').textContent = 'virtual-page-' + (7 * 8);</script>\", \"content_type\": \"text/html\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_4/net/virtual\", \"status\": 200}, {\"op\": \"goto\", \"url\": \"{fixture_origin}/v0_4/net/virtual\"}, {\"expression\": \"document.getElementById('virt') && document.getElementById('virt').textContent.indexOf('virtual-page-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#virt\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.route_fulfill\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.fetch.fulfill_request\", \"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/net\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_document_fulfill__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A routed navigation serves a driver-authored document (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_extra_headers_echo__pw", "input": "Driver-set extra headers reach the server on page fetches (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_extra_headers_echo__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_extra_headers_echo.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets an x-abb header on the session and fetches the echo endpoint; the server-rendered echo must contain exactly the driver's header value.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"echo_read\", \"step\": 4}, {\"expected\": \"x-abb-probe=h-41\", \"kind\": \"saved_equals\", \"label\": \"header_echoed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"headers\": {\"x-abb-probe\": \"h-41\"}, \"op\": \"set_extra_headers\"}, {\"op\": \"click\", \"selector\": \"#btn-echo\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('x-abb-probe') !== -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.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/net\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_extra_headers_echo__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Driver-set extra headers reach the server on page fetches (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_mock_only_matching__pw", "input": "Interception applies only to the matching URL pattern (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_mock_only_matching__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_mock_only_matching.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms a fulfill route on /net/data only, then fetches /net/data and /net/other together; the answer must show the first mocked and the second real.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"both_fetched\", \"step\": 4}, {\"expected\": \"mock:99|server-other:27\", \"kind\": \"saved_equals\", \"label\": \"selective_mock\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"{\\\"source\\\": \\\"mock\\\", \\\"value\\\": 11}\", \"content_type\": \"application/json\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_4/net/data\", \"status\": 200}, {\"op\": \"click\", \"selector\": \"#btn-both\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('|') !== -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_fulfill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.fetch.enable\", \"cdp.fetch.continue_request\"], \"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_mock_only_matching__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Interception applies only to the matching URL pattern (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_request_recorded__pw", "input": "The driver's request log captures a page-initiated fetch (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_request_recorded__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_request_recorded.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Starts request recording, triggers a fetch, and answers with the recorded request log filtered to the data endpoint.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"log_read\", \"step\": 5}, {\"expected\": \"/v0_4/net/data\", \"kind\": \"saved_contains\", \"label\": \"fetch_logged\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"record_requests\"}, {\"op\": \"click\", \"selector\": \"#btn-data\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('server:') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"get_recorded_requests\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.record_requests\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.get_recorded_requests\", \"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/net\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_request_recorded__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver's request log captures a page-initiated fetch (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_route_abort_handled__pw", "input": "An aborted fetch surfaces as a page-level network error (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_route_abort_handled__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_route_abort_handled.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms an abort route on the data endpoint; the page fetch must reject and the page records the error name.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"abort_observed\", \"step\": 4}, {\"expected\": \"fetch-failed:TypeError\", \"kind\": \"saved_equals\", \"label\": \"error_name\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"route_abort\", \"pattern\": \"**/v0_4/net/data\"}, {\"op\": \"click\", \"selector\": \"#btn-data\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('fetch-failed') !== -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\"}, \"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_route_abort_handled__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An aborted fetch surfaces as a page-level network error (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_route_content_type__pw", "input": "A routed response can rewrite the content type (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_route_content_type__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_route_content_type.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fulfills the data endpoint as text/csv; the page reads the response content-type header.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"ctype_read\", \"step\": 4}, {\"expected\": \"ctype:text/csv\", \"kind\": \"saved_equals\", \"label\": \"rewritten_ctype\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"a,b\", \"content_type\": \"text/csv\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_4/net/data\", \"status\": 200}, {\"op\": \"click\", \"selector\": \"#btn-ctype\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('ctype:') !== -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_fulfill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.fetch.fulfill_request\", \"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_route_content_type__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A routed response can rewrite the content type (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_route_mock_json__pw", "input": "A routed fetch is answered by the driver's mock instead of the server (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_route_mock_json__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_route_mock_json.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Arms a fulfill route on the data endpoint; the page fetch must observe the mocked payload, not the server one.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"mock_served\", \"step\": 4}, {\"expected\": \"mock:99\", \"kind\": \"saved_equals\", \"label\": \"mock_payload\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"{\\\"source\\\": \\\"mock\\\", \\\"value\\\": 11}\", \"content_type\": \"application/json\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_4/net/data\", \"status\": 200}, {\"op\": \"click\", \"selector\": \"#btn-data\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('mock:') !== -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_fulfill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.fetch.enable\", \"cdp.fetch.fulfill_request\"], \"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_route_mock_json__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A routed fetch is answered by the driver's mock instead of the server (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_route_passthrough__pw", "input": "An unintercepted fetch reaches the real server (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_route_passthrough__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_route_passthrough.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Control case for the family: with no interception armed, the page fetch must hit the real endpoint and compute from the server payload.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"fetch_done\", \"step\": 3}, {\"expected\": \"server:72\", \"kind\": \"saved_equals\", \"label\": \"real_payload\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#btn-data\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('server:') !== -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.text_content\", \"cdp.network.request_will_be_sent\", \"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_route_passthrough__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An unintercepted fetch reaches the real server (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_net_route_rewrite_status__pw", "input": "A routed response can rewrite the HTTP status (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_net_route_rewrite_status__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/net_route_rewrite_status.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Fulfills the data endpoint with a 503; the page must observe exactly that status.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"status_read\", \"step\": 4}, {\"expected\": \"status:503\", \"kind\": \"saved_equals\", \"label\": \"rewritten_status\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"unavailable\", \"content_type\": \"text/plain\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_4/net/data\", \"status\": 503}, {\"op\": \"click\", \"selector\": \"#btn-status\"}, {\"expression\": \"document.getElementById('net-out').textContent.indexOf('status:') !== -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_fulfill\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.fetch.fulfill_request\", \"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_route_rewrite_status__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A routed response can rewrite the HTTP status (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_aria_snapshot_structure__pw", "input": "The ARIA snapshot exposes role structure with computed content (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_aria_snapshot_structure__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_aria_snapshot_structure.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Takes an ARIA snapshot of the main region and checks the computed heading appears in the structured output.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"aria_taken\", \"step\": 3}, {\"expected\": \"ax-heading-63\", \"kind\": \"saved_contains\", \"label\": \"structure_present\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('ax-heading').textContent.indexOf('ax-heading-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"aria_snapshot\", \"save_as\": \"answer\", \"selector\": \"main\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.aria_snapshot\", \"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.issue_106_snapshot\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_aria_snapshot_structure__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The ARIA snapshot exposes role structure with computed content (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_ax_snapshot_heading__pw", "input": "The accessibility snapshot reflects heading structure (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_ax_snapshot_heading__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_ax_snapshot_heading.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Takes an AX snapshot and checks the computed heading text is exposed on the tree.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"snapshot_taken\", \"step\": 3}, {\"expected\": \"ax-heading-63\", \"kind\": \"saved_contains\", \"label\": \"heading_present\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('ax-heading').textContent.indexOf('ax-heading-') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"ax_snapshot\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.ax_snapshot\", \"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.issue_106_snapshot\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_ax_snapshot_heading__pw\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The accessibility snapshot reflects heading structure (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_ax_snapshot_label__pw", "input": "The accessibility snapshot carries a script-computed aria-label (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_ax_snapshot_label__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_ax_snapshot_label.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Takes an AX snapshot and checks it contains the accessible name that the page computed at load.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"snapshot_taken\", \"step\": 3}, {\"expected\": \"ax-name-63\", \"kind\": \"saved_contains\", \"label\": \"computed_label_present\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('ax-btn').getAttribute('aria-label') !== null\", \"op\": \"wait_for_function\"}, {\"op\": \"ax_snapshot\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.ax_snapshot\", \"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.issue_106_snapshot\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_ax_snapshot_label__pw\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The accessibility snapshot carries a script-computed aria-label (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_box_model_geometry__pw", "input": "Layout geometry of a fixed-size element is observable (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_box_model_geometry__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_box_model_geometry.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Reads the bounding box of a 120x48 element and answers with its rounded dimensions — the box-model observation surface.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"geometry_read\", \"step\": 3}, {\"expected\": \"w120:h48\", \"kind\": \"saved_equals\", \"label\": \"box_dimensions\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"!!document.getElementById('box')\", \"op\": \"wait_for_function\"}, {\"expression\": \"(function () { var r = document.getElementById('box').getBoundingClientRect(); return 'w' + Math.round(r.width) + ':h' + Math.round(r.height); })()\", \"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.dom.get_box_model\"], \"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.diagnostic\"], \"task_id\": \"sc_obs_box_model_geometry__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Layout geometry of a fixed-size element is observable (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_console_error_captured__pw", "input": "A page console.error with computed content is captured by the driver (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_console_error_captured__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_console_error_captured.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Clicks a button that emits console.error and answers with the driver's console capture.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"console_read\", \"step\": 5}, {\"expected\": \"console-error-32\", \"kind\": \"saved_contains\", \"label\": \"error_captured\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"get_console\"}, {\"op\": \"click\", \"selector\": \"#err-btn\"}, {\"ms\": 300, \"op\": \"wait_ms\"}, {\"op\": \"get_console\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.get_console\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_ms\", \"cdp.runtime.console_api_called\"], \"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.diagnostic\"], \"task_id\": \"sc_obs_console_error_captured__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A page console.error with computed content is captured by the driver (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_console_log_captured__pw", "input": "A page console.log with computed content is captured by the driver (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_console_log_captured__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_console_log_captured.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Clicks a button that logs a computed message and answers with the driver's console capture.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"console_read\", \"step\": 5}, {\"expected\": \"console-probe-32\", \"kind\": \"saved_contains\", \"label\": \"log_captured\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"get_console\"}, {\"op\": \"click\", \"selector\": \"#log-btn\"}, {\"ms\": 300, \"op\": \"wait_ms\"}, {\"op\": \"get_console\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.get_console\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_ms\", \"cdp.runtime.console_api_called\"], \"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.diagnostic\"], \"task_id\": \"sc_obs_console_log_captured__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A page console.log with computed content is captured by the driver (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_title_url_surface__pw", "input": "Document title and URL observation surfaces agree with the page (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_title_url_surface__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_title_url_surface.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Answers with the live document title joined with the pathname — the most basic observation pair every driver must expose.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"surface_read\", \"step\": 3}, {\"expected\": \"Observation Fixture|/v0_4/obs\", \"kind\": \"saved_equals\", \"label\": \"title_url_pair\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.title.length > 0\", \"op\": \"wait_for_function\"}, {\"expression\": \"document.title + '|' + location.pathname\", \"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\", \"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/obs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_title_url_surface__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Document title and URL observation surfaces agree with the page (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_obs_visibility_matrix__pw", "input": "Visible and display:none elements are distinguishable (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_obs_visibility_matrix__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/obs_visibility_matrix.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"best_effort\", \"description\": \"Computes a visibility matrix over a visible and a hidden element from live layout state.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"matrix_read\", \"step\": 3}, {\"expected\": \"vis:1|hid:0\", \"kind\": \"saved_equals\", \"label\": \"visibility_split\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"!!document.getElementById('visible-one') && !!document.getElementById('hidden-one')\", \"op\": \"wait_for_function\"}, {\"expression\": \"(function () { var v = document.getElementById('visible-one').getClientRects().length > 0; var h = document.getElementById('hidden-one').getClientRects().length > 0; return 'vis:' + (v ? 1 : 0) + '|hid:' + (h ? 1 : 0); })()\", \"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.dom.get_box_model\", \"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/obs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_visibility_matrix__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Visible and display:none elements are distinguishable (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_cookie_document_roundtrip__pw", "input": "document.cookie set/read round-trip (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_cookie_document_roundtrip__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_cookie_document_roundtrip.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets a cookie via document.cookie and parses it back out of the cookie string.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"cookie_read_ok\", \"step\": 3}, {\"expected\": \"c-71\", \"kind\": \"saved_equals\", \"label\": \"cookie_roundtrips\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.cookie = 'abbk=c-' + (71 + 0), 'set'\", \"op\": \"evaluate\"}, {\"expression\": \"(document.cookie.match(/abbk=([^;]+)/) || [])[1] || 'missing'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"cdp.network.get_cookies\"], \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_cookie_document_roundtrip__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"document.cookie set/read round-trip (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_cookie_survives_reload__pw", "input": "A cookie survives a reload (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_cookie_survives_reload__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_cookie_survives_reload.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Sets a cookie, reloads, and parses the cookie back. Exercises cookie-jar persistence across navigation.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"reload_ok\", \"step\": 3}, {\"expected\": \"c-88\", \"kind\": \"saved_equals\", \"label\": \"cookie_survives\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.cookie = 'abbr=c-' + (44 * 2), 'set'\", \"op\": \"evaluate\"}, {\"op\": \"reload\"}, {\"expression\": \"(document.cookie.match(/abbr=([^;]+)/) || [])[1] || 'missing'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.reload\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_cookie_survives_reload__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A cookie survives a reload (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_local_roundtrip__pw", "input": "localStorage set/get round-trip in one page (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_local_roundtrip__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_local_roundtrip.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes a localStorage key and reads it back through a second evaluate call. The value is computed at write time, never present in the page.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"get_ok\", \"step\": 3}, {\"expected\": \"v-37\", \"kind\": \"saved_equals\", \"label\": \"value_roundtrips\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"localStorage.setItem('abb_k', 'v-' + (37 + 0)), 'set'\", \"op\": \"evaluate\"}, {\"expression\": \"localStorage.getItem('abb_k') || 'missing'\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_local_roundtrip__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage set/get round-trip in one page (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_local_shared_same_origin__pw", "input": "localStorage is shared across pages of one origin (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_local_shared_same_origin__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_local_shared_same_origin.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes localStorage in the first page, creates a second page on the same origin, and reads the key there. Same-origin pages must observe one storage area.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_page_read_ok\", \"step\": 5}, {\"expected\": \"shared-63\", \"kind\": \"saved_equals\", \"label\": \"storage_shared\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"localStorage.setItem('abb_shared', 'shared-' + (21 * 3)), 'set'\", \"op\": \"evaluate\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"localStorage.getItem('abb_shared') || 'missing'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_local_shared_same_origin__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage is shared across pages of one origin (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_local_survives_reload__pw", "input": "localStorage survives a reload (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_local_survives_reload__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_local_survives_reload.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes a localStorage key, reloads the page, and reads the key back. Exercises storage persistence across the driver's reload path.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"reload_ok\", \"step\": 3}, {\"expected\": \"keep-52\", \"kind\": \"saved_equals\", \"label\": \"survives\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"localStorage.setItem('abb_keep', 'keep-' + (13 * 4)), 'set'\", \"op\": \"evaluate\"}, {\"op\": \"reload\"}, {\"expression\": \"localStorage.getItem('abb_keep') || 'missing'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"fw.playwright.op.reload\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_local_survives_reload__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage survives a reload (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_session_isolated_new_page__pw", "input": "sessionStorage does not leak into a new page (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_session_isolated_new_page__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_session_isolated_new_page.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes sessionStorage in the first page, creates a fresh page on the same origin, and confirms the key is absent there - sessionStorage is per top-level browsing context.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"second_page_ok\", \"step\": 5}, {\"expected\": \"isolated\", \"kind\": \"saved_equals\", \"label\": \"session_isolated\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"sessionStorage.setItem('abb_iso', 'leak-' + 9), 'set'\", \"op\": \"evaluate\"}, {\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"sessionStorage.getItem('abb_iso') === null ? 'isolated' : 'leaked'\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.evaluate\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_session_isolated_new_page__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"sessionStorage does not leak into a new page (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_session_storage_roundtrip__pw", "input": "sessionStorage set/get round-trip (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_session_storage_roundtrip__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_session_storage_roundtrip.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes and reads a sessionStorage key within one page session.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"get_ok\", \"step\": 3}, {\"expected\": \"s-44\", \"kind\": \"saved_equals\", \"label\": \"value_roundtrips\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"sessionStorage.setItem('abb_s', 's-' + (11 * 4)), 'set'\", \"op\": \"evaluate\"}, {\"expression\": \"sessionStorage.getItem('abb_s') || 'missing'\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_session_storage_roundtrip__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"sessionStorage set/get round-trip (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_st_storage_remove__pw", "input": "localStorage removeItem removes exactly one key (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_st_storage_remove__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/st_storage_remove.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes two keys, removes one, and derives which keys remain.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"derive_ok\", \"step\": 3}, {\"expected\": \"left:gone+only-b\", \"kind\": \"saved_equals\", \"label\": \"exactly_one_removed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"localStorage.setItem('abb_a', 'only-a'), localStorage.setItem('abb_b', 'only-b'), localStorage.removeItem('abb_a'), 'done'\", \"op\": \"evaluate\"}, {\"expression\": \"'left:' + (localStorage.getItem('abb_a') || 'gone') + '+' + (localStorage.getItem('abb_b') || 'gone')\", \"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.state\", \"version.v0_4\"], \"task_id\": \"sc_st_storage_remove__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage removeItem removes exactly one key (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_up_upload_filereader__pw", "input": "A file attached to an input is readable by page-side FileReader (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_up_upload_filereader__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/up_upload_filereader.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Attaches the payload to a bare file input (no submit); the page's change handler reads it with FileReader and writes a computed digest of length and first token.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"filereader_done\", \"step\": 4}, {\"expected\": \"read:24:abb\", \"kind\": \"saved_equals\", \"label\": \"client_read\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"content\": \"abb-upload-payload-2026\\n\", \"op\": \"write_file\", \"path\": \"{artifact_dir}/probe-upload.txt\"}, {\"op\": \"set_input_files\", \"path\": \"{artifact_dir}/probe-upload.txt\", \"selector\": \"#fr-file\"}, {\"expression\": \"document.getElementById('fr-out').textContent.indexOf('read:') !== -1\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#fr-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.write_file\", \"fw.playwright.op.set_input_files\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"cdp.dom.set_file_input_files\", \"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/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_up_upload_filereader__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A file attached to an input is readable by page-side FileReader (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_up_upload_server_checksum__pw", "input": "An uploaded file round-trips and the server reports its checksum (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_up_upload_server_checksum__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/up_upload_server_checksum.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Writes a payload file, attaches it to the form input, submits, and answers with the server-rendered upload receipt (name, size, sha256 prefix) — graded server-side against the known payload.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"upload_submitted\", \"step\": 5}, {\"expected\": \"uploaded:probe-upload.txt:24:165120975175\", \"kind\": \"saved_equals\", \"label\": \"server_receipt\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"content\": \"abb-upload-payload-2026\\n\", \"op\": \"write_file\", \"path\": \"{artifact_dir}/probe-upload.txt\"}, {\"op\": \"set_input_files\", \"path\": \"{artifact_dir}/probe-upload.txt\", \"selector\": \"#up-file\"}, {\"op\": \"click\", \"selector\": \"#up-submit\"}, {\"op\": \"wait_for_selector\", \"selector\": \"#up-result\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#up-result\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.write_file\", \"fw.playwright.op.set_input_files\", \"fw.playwright.op.click\", \"fw.playwright.op.wait_for_selector\", \"fw.playwright.op.text_content\", \"cdp.dom.set_file_input_files\", \"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/dialogs\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.dialog_download_upload\", \"version.v0_4\"], \"task_id\": \"sc_up_upload_server_checksum__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An uploaded file round-trips and the server reports its checksum (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_attribute_set__pw", "input": "Wait for a late attribute and read it through the driver (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_attribute_set__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_attribute_set.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"An attribute is set 300ms after load. Waits for it via predicate, then reads it through the driver's attribute surface (not page JS).\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"attr_read_ok\", \"step\": 3}, {\"expected\": \"ok-58\", \"kind\": \"saved_equals\", \"label\": \"attr_value\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('attr-target').getAttribute('data-ready') !== null\", \"op\": \"wait_for_function\"}, {\"name\": \"data-ready\", \"op\": \"get_attribute\", \"save_as\": \"answer\", \"selector\": \"#attr-target\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.get_attribute\", \"cdp.dom.get_attributes\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_attribute_set__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a late attribute and read it through the driver (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_element_hidden__pw", "input": "Wait for a present element to become hidden (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_element_hidden__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_element_hidden.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"An element visible at load is display:none'd after 300ms. Waits for the hidden state via a predicate and reports it; a driver that only waits for presence passes too early.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"went_hidden\", \"step\": 2}, {\"expected\": \"hidden-ok\", \"kind\": \"saved_equals\", \"label\": \"hidden_confirmed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"window.getComputedStyle(document.getElementById('vanish')).display === 'none'\", \"op\": \"wait_for_function\"}, {\"expression\": \"window.getComputedStyle(document.getElementById('vanish')).display === 'none' ? 'hidden-ok' : 'still-visible'\", \"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/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_element_hidden__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a present element to become hidden (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_enabled_then_click__pw", "input": "Wait for a disabled control to enable, then click it (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_enabled_then_click__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_enabled_then_click.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"A button starts disabled and is enabled 350ms after load; its click handler is attached at enable time. Waits for enablement, clicks, and reads the handler's output.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"click_ok\", \"step\": 3}, {\"expected\": \"clicked-late-33\", \"kind\": \"saved_equals\", \"label\": \"handler_fired\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"!document.getElementById('late-btn').disabled\", \"op\": \"wait_for_function\"}, {\"op\": \"click\", \"selector\": \"#late-btn\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#late-btn-out\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"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/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_enabled_then_click__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a disabled control to enable, then click it (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_late_item__pw", "input": "Wait for a late-inserted list item (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_late_item__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_late_item.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Navigates to the probe controls page and waits for #late-item, which the page appends via setTimeout ~300ms after load, then reads its text. Exercises event-driven waiting for a DOM node that does not exist at load time.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"late_item_appeared\", \"step\": 2}, {\"expected\": \"late-28\", \"kind\": \"saved_equals\", \"label\": \"late_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"wait_for_selector\", \"selector\": \"#late-item\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#late-item\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_selector\", \"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_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_late_item__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a late-inserted list item (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_list_progressive_fill__pw", "input": "Wait for a progressively filled list to complete (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_list_progressive_fill__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_list_progressive_fill.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Three list items are appended at 150/300/450ms. Waits until all three exist and derives the joined item text.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"list_complete\", \"step\": 2}, {\"expected\": \"item-a,item-b,item-c\", \"kind\": \"saved_equals\", \"label\": \"items_joined\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.querySelectorAll('#list li').length === 3\", \"op\": \"wait_for_function\"}, {\"expression\": \"Array.from(document.querySelectorAll('#list li')).map(function(li){return li.textContent}).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.runtime.evaluate\"], \"grader\": {\"checks\": [\"answer_matches_expected\"], \"endpoint\": \"/__grade__/expected_answer\", \"kind\": \"server_side\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_4/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_list_progressive_fill__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a progressively filled list to complete (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_slow_badge__pw", "input": "Wait for a 400ms-late element and read it (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_slow_badge__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_slow_badge.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Waits for a span inserted 400ms after load and reads its computed text. A driver that only samples the initial DOM misses it.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"badge_appeared\", \"step\": 2}, {\"expected\": \"badge-91\", \"kind\": \"saved_equals\", \"label\": \"badge_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"wait_for_selector\", \"selector\": \"#slow-badge\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#slow-badge\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_selector\", \"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/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_slow_badge__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a 400ms-late element and read it (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_spinner_replaced__pw", "input": "Wait for spinner content to be replaced (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_spinner_replaced__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_spinner_replaced.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"A container holds a spinner that is replaced with content 500ms after load. Waits for the spinner to disappear and reads the replacement.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"spinner_gone\", \"step\": 2}, {\"expected\": \"content-77\", \"kind\": \"saved_equals\", \"label\": \"content_text\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"!document.querySelector('#replace .spinner')\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#replace\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"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/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_spinner_replaced__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for spinner content to be replaced (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "sc_wait_two_phase_settle__pw", "input": "Wait through an intermediate state to the settled one (playwright)", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/sc_wait_two_phase_settle__pw.json", "source_suite": "l1.playwright", "task": "{\"_generated_from\": \"tasks/scenarios/wait_two_phase_settle.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"The status text changes twice (warming -> phase:1 -> phase:2:W7). Waits for the FINAL state; a driver that returns on the first mutation reads the intermediate value.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"settled\", \"step\": 2}, {\"expected\": \"phase:2:W7\", \"kind\": \"saved_equals\", \"label\": \"final_phase\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('two-phase').textContent.indexOf('phase:2') === 0\", \"op\": \"wait_for_function\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#two-phase\"}]}, \"features\": [\"fw.playwright.op.new_page\", \"fw.playwright.op.goto\", \"fw.playwright.op.wait_for_function\", \"fw.playwright.op.text_content\", \"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/waiting\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_two_phase_settle__pw\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait through an intermediate state to the settled one (playwright)\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_act_check_select", "input": "check a checkbox and pick a select option, page listeners confirm", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_act_check_select.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"on_framework_main_path: page.check drives the coordinate click chain. Real Playwright checks #agree and selects the 'eng' option of #dept; the fixture's change listeners mirror both into outputs. Passes when isChecked is true, #agree-out reads 'checked', and #dept-out reads 'picked:eng'.\", \"driver\": {\"checks\": [{\"expected\": \"true\", \"kind\": \"saved_equals\", \"label\": \"checkbox_checked\", \"name\": \"checked_state\"}, {\"expected\": \"checked\", \"kind\": \"saved_equals\", \"label\": \"change_event_seen\", \"name\": \"agree_out\"}, {\"expected\": \"picked:eng\", \"kind\": \"saved_equals\", \"label\": \"select_change_seen\", \"name\": \"dept_out\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"check\", \"selector\": \"#agree\"}, {\"op\": \"is_checked\", \"save_as\": \"checked_state\", \"selector\": \"#agree\"}, {\"op\": \"text_content\", \"save_as\": \"agree_out\", \"selector\": \"#agree-out\"}, {\"op\": \"select_option\", \"selector\": \"#dept\", \"value\": \"eng\"}, {\"op\": \"text_content\", \"save_as\": \"dept_out\", \"selector\": \"#dept-out\"}]}, \"features\": [\"fw.playwright.page.check\", \"fw.playwright.page.select_option\", \"fw.playwright.page.is_checked\", \"cdp.input.dispatch_mouse_event\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_actions\", \"version.v0_3\"], \"task_id\": \"v3_pw_act_check_select\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"check a checkbox and pick a select option, page listeners confirm\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_act_click_counter", "input": "real pointer clicks accumulate the counter to 9", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_act_click_counter.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"on_framework_main_path: coordinate clicks are Playwright's true pointer channel (scrollIntoView + getContentQuads + Input.dispatchMouseEvent). Real Playwright clicks #add3 three times on the v0.2 counter fixture and reads #total. Passes when the total equals 9, proving the full hit-target coordinate click chain works.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"clicks_ok\", \"step\": 2}, {\"expected\": \"9\", \"kind\": \"saved_equals\", \"label\": \"total_equals_9\", \"name\": \"total\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#add3\", \"times\": 3}, {\"op\": \"text_content\", \"save_as\": \"total\", \"selector\": \"#total\"}]}, \"features\": [\"fw.playwright.page.click\", \"cdp.input.dispatch_mouse_event\", \"cdp.dom.get_content_quads\", \"cdp.dom.scroll_into_view_if_needed\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v2/h/counter\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_actions\", \"version.v0_3\"], \"task_id\": \"v3_pw_act_click_counter\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"real pointer clicks accumulate the counter to 9\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_act_fill_form", "input": "fill fires input events observed by page JS", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_act_fill_form.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright fills #textbox with a 14-character string; the fixture's own input listener writes the current length into #textbox-len. Passes when the value reads back exactly and the page-side length output shows 14, proving fill dispatches real input events (Input.insertText path) rather than silently setting .value.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"fill_ok\", \"step\": 2}, {\"expected\": \"abb-fill-042xy\", \"kind\": \"saved_equals\", \"label\": \"value_matches\", \"name\": \"value\"}, {\"expected\": \"14\", \"kind\": \"saved_equals\", \"label\": \"input_event_observed\", \"name\": \"len_out\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#textbox\", \"value\": \"abb-fill-042xy\"}, {\"op\": \"input_value\", \"save_as\": \"value\", \"selector\": \"#textbox\"}, {\"op\": \"text_content\", \"save_as\": \"len_out\", \"selector\": \"#textbox-len\"}]}, \"features\": [\"fw.playwright.page.fill\", \"cdp.input.insert_text\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_actions\", \"version.v0_3\"], \"task_id\": \"v3_pw_act_fill_form\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"fill fires input events observed by page JS\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_act_keyboard_press", "input": "keyboard.type + press Enter counted by page keydown listener", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_act_keyboard_press.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright focuses #keys, types 'abc' through the keyboard API, then presses Enter. The fixture counts keydown events and flags Enter. Passes when the keydown count is 4 and the enter flag reads 'yes', proving Input.dispatchKeyEvent delivers trusted key events the page can observe.\", \"driver\": {\"checks\": [{\"expected\": \"4\", \"kind\": \"saved_equals\", \"label\": \"four_keydowns\", \"name\": \"keydowns\"}, {\"expected\": \"yes\", \"kind\": \"saved_equals\", \"label\": \"enter_observed\", \"name\": \"enter_flag\"}, {\"expected\": \"abc\", \"kind\": \"saved_equals\", \"label\": \"typed_text_in_value\", \"name\": \"typed_value\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"focus\", \"selector\": \"#keys\"}, {\"op\": \"keyboard_type\", \"text\": \"abc\"}, {\"key\": \"Enter\", \"op\": \"press\"}, {\"op\": \"text_content\", \"save_as\": \"keydowns\", \"selector\": \"#keydown-count\"}, {\"op\": \"text_content\", \"save_as\": \"enter_flag\", \"selector\": \"#enter-flag\"}, {\"op\": \"input_value\", \"save_as\": \"typed_value\", \"selector\": \"#keys\"}]}, \"features\": [\"fw.playwright.page.focus\", \"fw.playwright.keyboard.type\", \"fw.playwright.keyboard.press\", \"cdp.input.dispatch_key_event\", \"cdp.input.insert_text\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_actions\", \"version.v0_3\"], \"task_id\": \"v3_pw_act_keyboard_press\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"keyboard.type + press Enter counted by page keydown listener\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_cal_compute_product", "input": "real Playwright click -> data-attribute product", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_cal_compute_product.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Calibration against v2_h_compute_product (same fixture, same expected result): real Playwright clicks #go through its true pointer path (on_framework_main_path) and reads #result, which the page computes from body data attributes (6*7+7 = 49). Raw-CDP replay clicked via Runtime.evaluate; divergence isolates the coordinate click channel on a single-action page.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"49\", \"kind\": \"saved_equals\", \"label\": \"result_equals_49\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#go\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#result\"}]}, \"features\": [\"fw.playwright.page.click\", \"fw.playwright.page.text_content\", \"cdp.input.dispatch_mouse_event\", \"cdp.dom.get_content_quads\", \"cdp.dom.scroll_into_view_if_needed\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v2/h/compute\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.calibration\", \"version.v0_3\"], \"task_id\": \"v3_pw_cal_compute_product\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"real Playwright click -> data-attribute product\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_cal_counter_clicks", "input": "real Playwright click chain on the v0.2 counter fixture", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_cal_counter_clicks.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Calibration against v2_h_counter_clicks (same fixture, same expected total): real Playwright connects over CDP, clicks #add3 three times and #add5 twice through its true pointer path (on_framework_main_path: scrollIntoView + getContentQuads + Input.dispatchMouseEvent), and reads back the running total. Raw-CDP replay drove the same fixture via Runtime.evaluate clicks; divergence here isolates the coordinate action channel.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"19\", \"kind\": \"saved_equals\", \"label\": \"total_equals_19\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#add3\", \"times\": 3}, {\"op\": \"click\", \"selector\": \"#add5\", \"times\": 2}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#total\"}]}, \"features\": [\"fw.playwright.page.click\", \"fw.playwright.page.text_content\", \"cdp.input.dispatch_mouse_event\", \"cdp.dom.get_content_quads\", \"cdp.dom.scroll_into_view_if_needed\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v2/h/counter\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.calibration\", \"version.v0_3\"], \"task_id\": \"v3_pw_cal_counter_clicks\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"real Playwright click chain on the v0.2 counter fixture\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_cal_form_checksum", "input": "real Playwright fill + click on the v0.2 checksum form", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_cal_form_checksum.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Calibration against v2_h_form_checksum (same fixture, same input string): real Playwright fills #name with the exact string 'abz' that the raw-CDP replay typed via Input.insertText, clicks #compute through the real pointer path (on_framework_main_path), and reads the page-computed checksum (sum of char codes mod 1000 = 317). Same input, same expected output keeps the Stage D comparison apples-to-apples; divergence isolates the framework fill/click channel versus raw insertText.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"317\", \"kind\": \"saved_equals\", \"label\": \"checksum_equals_317\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#name\", \"value\": \"abz\"}, {\"op\": \"click\", \"selector\": \"#compute\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#out\"}]}, \"features\": [\"fw.playwright.page.fill\", \"fw.playwright.page.click\", \"fw.playwright.page.text_content\", \"cdp.input.insert_text\", \"cdp.input.dispatch_mouse_event\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v2/h/form\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.calibration\", \"version.v0_3\"], \"task_id\": \"v3_pw_cal_form_checksum\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"real Playwright fill + click on the v0.2 checksum form\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_cal_frame_token", "input": "real Playwright child-frame evaluate on the v0.2 frames fixture", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_cal_frame_token.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Calibration against v2_h_frame_token (same fixture, same expected token): real Playwright navigates to the parent page, resolves the same-origin child frame from its frame tree (url contains 'frames_child'), and evaluates inside that frame to read #ctoken, which the child computes by reversing its data-src attribute ('xy9' -> '9yx'). Raw-CDP replay read the token via window.frames[0] from the parent context; divergence isolates the framework's frame enumeration/session model.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"9yx\", \"kind\": \"saved_equals\", \"label\": \"frame_token_equals_9yx\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.getElementById('ctoken').textContent\", \"op\": \"frame_evaluate\", \"save_as\": \"answer\", \"url_contains\": \"frames_child\"}]}, \"features\": [\"fw.playwright.frame.evaluate\", \"cdp.page.get_frame_tree\", \"cdp.runtime.evaluate\", \"cdp.page.frame_navigated\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v2/h/frames_parent\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.calibration\", \"version.v0_3\"], \"task_id\": \"v3_pw_cal_frame_token\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"real Playwright child-frame evaluate on the v0.2 frames fixture\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_cal_mock_api", "input": "real Playwright route fulfill supersedes the origin API", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_cal_mock_api.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Calibration against v2_ifx_mock_api_rewrite (same app fixture, same mock-supersedes-origin semantics): real Playwright registers a route on **/v0_2/ifx/api-primary that fulfills with an injected JSON body, then triggers the page helper __abbApiField() which fetches that route and renders the parsed 'answer' field. The asserted value 'V3-MOCK-PW-K3F9' exists only in this task's injected body, never on the origin route (which serves a decoy), so a pass proves the framework's interception path (Fetch enable/fulfillRequest) actually rewired the response. Raw-CDP replay did the same via manual Fetch.requestPaused handling.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"V3-MOCK-PW-K3F9\", \"kind\": \"saved_equals\", \"label\": \"mocked_answer_observed\", \"name\": \"answer\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"{\\\"answer\\\":\\\"V3-MOCK-PW-K3F9\\\"}\", \"content_type\": \"application/json\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_2/ifx/api-primary\", \"status\": 200}, {\"expression\": \"window.__abbApiField('/v0_2/ifx/api-primary')\", \"op\": \"evaluate\", \"save_as\": \"answer\"}]}, \"features\": [\"fw.playwright.page.route\", \"fw.playwright.page.evaluate\", \"cdp.fetch.enable\", \"cdp.fetch.fulfill_request\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_2/ifx/app\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.calibration\", \"version.v0_3\"], \"task_id\": \"v3_pw_cal_mock_api\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"real Playwright route fulfill supersedes the origin API\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_conn_browser_cdp_session", "input": "browser-level CDP session (newBrowserCDPSession) reads userAgent", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_conn_browser_cdp_session.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Playwright-only surface: the user_agent op internally opens a browser-level CDP session via browser.newBrowserCDPSession() and sends Browser.getVersion on it. Passes when the returned userAgent is a non-empty browser UA string, proving the engine accepts an explicit attach to the browser target.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"browser_cdp_session_ok\", \"step\": 0}, {\"kind\": \"saved_truthy\", \"label\": \"ua_nonempty\", \"name\": \"ua\"}, {\"expected\": \"Mozilla\", \"kind\": \"saved_contains\", \"label\": \"ua_looks_like_browser\", \"name\": \"ua\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"user_agent\", \"save_as\": \"ua\"}]}, \"features\": [\"fw.playwright.browser.new_browser_cdp_session\", \"cdp.target.attach_to_browser_target\", \"cdp.browser.get_version\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_connect\", \"version.v0_3\"], \"task_id\": \"v3_pw_conn_browser_cdp_session\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"browser-level CDP session (newBrowserCDPSession) reads userAgent\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_conn_connect_version", "input": "connectOverCDP handshake + browser version/user-agent identity", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_conn_connect_version.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright connects to the engine over CDP (connectOverCDP) and reads the browser version and user agent without opening any page. Passes when both identity strings are non-empty, proving the bootstrap handshake (Target.setAutoAttach + Browser.getVersion) completed against the engine under test.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"version_op_ok\", \"step\": 0}, {\"kind\": \"saved_truthy\", \"label\": \"version_nonempty\", \"name\": \"ver\"}, {\"kind\": \"saved_truthy\", \"label\": \"user_agent_nonempty\", \"name\": \"ua\"}, {\"expected\": \"Mozilla\", \"kind\": \"saved_contains\", \"label\": \"ua_looks_like_browser\", \"name\": \"ua\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"version\", \"save_as\": \"ver\"}, {\"op\": \"user_agent\", \"save_as\": \"ua\"}]}, \"features\": [\"fw.playwright.browser.version\", \"fw.playwright.browser.new_browser_cdp_session\", \"cdp.target.set_auto_attach\", \"cdp.browser.get_version\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_connect\", \"version.v0_3\"], \"task_id\": \"v3_pw_conn_connect_version\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"connectOverCDP handshake + browser version/user-agent identity\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_conn_new_page_eval", "input": "newPage + evaluate on about:blank", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_conn_new_page_eval.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright creates a fresh page target (no navigation, about:blank execution context) and evaluates 6*7. Passes when the evaluation returns 42, proving Target.createTarget plus a working Runtime.evaluate round-trip on the new target.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"new_page_ok\", \"step\": 0}, {\"expected\": \"42\", \"kind\": \"saved_equals\", \"label\": \"eval_returns_42\", \"name\": \"product\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"expression\": \"6*7\", \"op\": \"evaluate\", \"save_as\": \"product\"}]}, \"features\": [\"fw.playwright.browser_context.new_page\", \"fw.playwright.page.evaluate\", \"cdp.target.create_target\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_connect\", \"version.v0_3\"], \"task_id\": \"v3_pw_conn_new_page_eval\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"newPage + evaluate on about:blank\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_conn_two_pages", "input": "two page targets with isolated JS worlds", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_conn_two_pages.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright opens two page targets in sequence: the first evaluation plants a window global and returns a distinct value, the second page evaluates its own distinct value and probes for the first page's global. Passes when each page returns its own value and the second page does NOT see the first page's global, proving multi-target attach with isolated sessions/contexts.\", \"driver\": {\"checks\": [{\"expected\": \"33\", \"kind\": \"saved_equals\", \"label\": \"page1_eval_33\", \"name\": \"first_value\"}, {\"expected\": \"56\", \"kind\": \"saved_equals\", \"label\": \"page2_eval_56\", \"name\": \"second_value\"}, {\"expected\": \"undefined\", \"kind\": \"saved_equals\", \"label\": \"page2_isolated_from_page1\", \"name\": \"leak_probe\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"expression\": \"(()=>{window.__abbPageOne = 'alpha'; return 11*3;})()\", \"op\": \"evaluate\", \"save_as\": \"first_value\"}, {\"op\": \"new_page\"}, {\"expression\": \"7*8\", \"op\": \"evaluate\", \"save_as\": \"second_value\"}, {\"expression\": \"String(window.__abbPageOne)\", \"op\": \"evaluate\", \"save_as\": \"leak_probe\"}]}, \"features\": [\"fw.playwright.browser_context.new_page\", \"fw.playwright.page.evaluate\", \"cdp.target.create_target\", \"cdp.target.attach_to_target\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_connect\", \"version.v0_3\"], \"task_id\": \"v3_pw_conn_two_pages\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"two page targets with isolated JS worlds\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_cookie_roundtrip", "input": "addCookies then read back via context.cookies and document.cookie", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_cookie_roundtrip.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright sets a cookie on the fixture URL through context.addCookies, reads it back through context.cookies, and also reads document.cookie inside the page. Passes when both readbacks contain the name/value pair, proving the Network/Storage cookie write and both read paths agree.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"set_cookie_ok\", \"step\": 2}, {\"expected\": \"abb_probe\", \"kind\": \"saved_contains\", \"label\": \"api_readback_has_name\", \"name\": \"cookies\"}, {\"expected\": \"cval-42\", \"kind\": \"saved_contains\", \"label\": \"api_readback_has_value\", \"name\": \"cookies\"}, {\"expected\": \"abb_probe=cval-42\", \"kind\": \"saved_contains\", \"label\": \"document_cookie_agrees\", \"name\": \"doc_cookie\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"name\": \"abb_probe\", \"op\": \"set_cookie\", \"url\": \"{fixture_url}\", \"value\": \"cval-42\"}, {\"op\": \"get_cookies\", \"save_as\": \"cookies\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.cookie\", \"op\": \"evaluate\", \"save_as\": \"doc_cookie\"}]}, \"features\": [\"fw.playwright.browser_context.add_cookies\", \"fw.playwright.browser_context.cookies\", \"cdp.network.set_cookie\", \"cdp.storage.get_cookies\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_cookies\", \"version.v0_3\"], \"task_id\": \"v3_pw_cookie_roundtrip\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"addCookies then read back via context.cookies and document.cookie\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_eval_arithmetic", "input": "evaluate an IIFE with array/closure arithmetic", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_eval_arithmetic.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright evaluates a self-invoking function that maps and reduces an array ((3+5+7+9)*2 = 48). Passes when the returned value is 48, proving Runtime.evaluate with returnByValue handles non-trivial expressions.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"evaluate_ok\", \"step\": 2}, {\"expected\": \"48\", \"kind\": \"saved_equals\", \"label\": \"sum_equals_48\", \"name\": \"sum\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"(()=>{const xs=[3,5,7,9]; return xs.map(x=>x*2).reduce((a,b)=>a+b,0);})()\", \"op\": \"evaluate\", \"save_as\": \"sum\"}]}, \"features\": [\"fw.playwright.page.evaluate\", \"cdp.runtime.evaluate\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_evaluate\", \"version.v0_3\"], \"task_id\": \"v3_pw_eval_arithmetic\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"evaluate an IIFE with array/closure arithmetic\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_eval_content_html", "input": "page.content() returns the full serialized HTML", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_eval_content_html.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright captures the whole page HTML via page.content() after navigating to the core fixture. Passes when the serialized document contains both the fixture title and the bottom-of-page marker, proving full-document serialization works.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"content_ok\", \"step\": 2}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_contains\", \"label\": \"html_has_title\", \"name\": \"html\"}, {\"expected\": \"bottom-marker\", \"kind\": \"saved_contains\", \"label\": \"html_has_bottom_marker\", \"name\": \"html\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"content\", \"save_as\": \"html\"}]}, \"features\": [\"fw.playwright.page.content\", \"cdp.page.get_frame_tree\", \"cdp.dom.get_outer_html\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_evaluate\", \"version.v0_3\"], \"task_id\": \"v3_pw_eval_content_html\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"page.content() returns the full serialized HTML\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_eval_dom_read", "input": "textContent + getAttribute + locator count DOM reads", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_eval_dom_read.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright reads the core fixture DOM three ways: textContent of #title, the placeholder attribute of #field, and the count of .para paragraphs. Passes when all three match the fixture's known values, proving the callFunctionOn-based DOM read surface works.\", \"driver\": {\"checks\": [{\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"title_text\", \"name\": \"title_text\"}, {\"expected\": \"type here\", \"kind\": \"saved_equals\", \"label\": \"placeholder_attr\", \"name\": \"placeholder\"}, {\"expected\": \"2\", \"kind\": \"saved_equals\", \"label\": \"para_count_2\", \"name\": \"para_count\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"title_text\", \"selector\": \"#title\"}, {\"name\": \"placeholder\", \"op\": \"get_attribute\", \"save_as\": \"placeholder\", \"selector\": \"#field\"}, {\"op\": \"count\", \"save_as\": \"para_count\", \"selector\": \".para\"}]}, \"features\": [\"fw.playwright.page.text_content\", \"fw.playwright.page.get_attribute\", \"fw.playwright.locator.count\", \"cdp.runtime.call_function_on\", \"cdp.dom.describe_node\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_evaluate\", \"version.v0_3\"], \"task_id\": \"v3_pw_eval_dom_read\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"textContent + getAttribute + locator count DOM reads\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_eval_input_value", "input": "inputValue reads back a filled control", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_eval_input_value.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright fills #textbox on the controls fixture and reads the value back via page.inputValue(). Passes when the read-back equals the exact filled string, proving the value-read path (Runtime.callFunctionOn on the element) reflects the fill.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"fill_ok\", \"step\": 2}, {\"expected\": \"probe-value-17\", \"kind\": \"saved_equals\", \"label\": \"input_value_matches\", \"name\": \"readback\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#textbox\", \"value\": \"probe-value-17\"}, {\"op\": \"input_value\", \"save_as\": \"readback\", \"selector\": \"#textbox\"}]}, \"features\": [\"fw.playwright.page.fill\", \"fw.playwright.page.input_value\", \"cdp.runtime.call_function_on\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_evaluate\", \"version.v0_3\"], \"task_id\": \"v3_pw_eval_input_value\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"inputValue reads back a filled control\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_int_route_abort", "input": "page.route aborts a fetch which must land in the catch branch", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_int_route_abort.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright registers a route that aborts **/v0_3/api/blocked, then the page fetches that URL; the fetch Promise must reject and the evaluate resolves through the catch branch. Passes when the saved outcome is 'FETCH_FAILED', proving Fetch.failRequest interception works.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"route_registered\", \"step\": 2}, {\"expected\": \"FETCH_FAILED\", \"kind\": \"saved_equals\", \"label\": \"fetch_hit_catch_branch\", \"name\": \"outcome\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"route_abort\", \"pattern\": \"**/v0_3/api/blocked\"}, {\"expression\": \"fetch('/v0_3/api/blocked').then(r=>'GOT:'+r.status).catch(e=>'FETCH_FAILED')\", \"op\": \"evaluate\", \"save_as\": \"outcome\"}]}, \"features\": [\"fw.playwright.page.route\", \"fw.playwright.route.abort\", \"cdp.fetch.enable\", \"cdp.fetch.fail_request\", \"cdp.fetch.request_paused\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_intercept\", \"version.v0_3\"], \"task_id\": \"v3_pw_int_route_abort\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"page.route aborts a fetch which must land in the catch branch\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_int_route_fulfill", "input": "page.route fulfills a fetch with a mocked JSON body", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_int_route_fulfill.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright registers a route that fulfills **/v0_3/api/probe with a mock JSON token, then the page fetches that URL and returns the parsed token (evaluate awaits the returned Promise). Passes when the token equals the injected mock value, proving the Fetch.enable/fulfillRequest interception path works.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"route_registered\", \"step\": 2}, {\"expected\": \"abb-mock-91\", \"kind\": \"saved_equals\", \"label\": \"mock_token_read\", \"name\": \"token\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"body\": \"{\\\"token\\\":\\\"abb-mock-91\\\"}\", \"content_type\": \"application/json\", \"op\": \"route_fulfill\", \"pattern\": \"**/v0_3/api/probe\", \"status\": 200}, {\"expression\": \"fetch('/v0_3/api/probe').then(r=>r.json()).then(d=>d.token).catch(e=>'ERR')\", \"op\": \"evaluate\", \"save_as\": \"token\"}]}, \"features\": [\"fw.playwright.page.route\", \"fw.playwright.route.fulfill\", \"cdp.fetch.enable\", \"cdp.fetch.fulfill_request\", \"cdp.fetch.request_paused\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_intercept\", \"version.v0_3\"], \"task_id\": \"v3_pw_int_route_fulfill\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"page.route fulfills a fetch with a mocked JSON body\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_nav_back_forward", "input": "history goBack/goForward across two fixture pages", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_nav_back_forward.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright navigates core -> page2, then goes back (URL must contain /l1/core, restored DOM title must read 'CDP Core Fixture') and forward again (URL must contain /page2, title 'Page Two'), proving Page.navigateToHistoryEntry drives real history hops. The hops are graded by post-navigation URL + DOM rather than the goBack/goForward return value: against an externally launched Chrome (no --disable-back-forward-cache), bfcache restores emit no load event, so Playwright's lifecycle wait inside goBack/goForward times out even though the history navigation itself commits correctly; the hops carry a short 3s timeout and are marked optional for that reason.\", \"driver\": {\"checks\": [{\"expected\": \"/l1/core\", \"kind\": \"saved_contains\", \"label\": \"back_lands_on_core\", \"name\": \"url_after_back\"}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"back_page_dom_alive\", \"name\": \"title_after_back\"}, {\"expected\": \"/page2\", \"kind\": \"saved_contains\", \"label\": \"forward_lands_on_page2\", \"name\": \"url_after_forward\"}, {\"expected\": \"Page Two\", \"kind\": \"saved_equals\", \"label\": \"forward_page_dom_alive\", \"name\": \"title_after_forward\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"goto\", \"url\": \"{fixture_origin}/page2\"}, {\"op\": \"go_back\", \"optional\": true, \"save_as\": \"back_result\", \"timeout_ms\": 3000}, {\"op\": \"url\", \"save_as\": \"url_after_back\"}, {\"op\": \"text_content\", \"save_as\": \"title_after_back\", \"selector\": \"#title\"}, {\"op\": \"go_forward\", \"optional\": true, \"save_as\": \"forward_result\", \"timeout_ms\": 3000}, {\"op\": \"url\", \"save_as\": \"url_after_forward\"}, {\"op\": \"text_content\", \"save_as\": \"title_after_forward\", \"selector\": \"#title\"}]}, \"features\": [\"fw.playwright.page.go_back\", \"fw.playwright.page.go_forward\", \"cdp.page.navigate_to_history_entry\", \"cdp.page.get_navigation_history\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_navigation\", \"version.v0_3\"], \"task_id\": \"v3_pw_nav_back_forward\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history goBack/goForward across two fixture pages\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_nav_goto_status", "input": "goto returns HTTP 200 and lands on the fixture URL", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_nav_goto_status.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright navigates a fresh page to the fixture and captures the navigation response status plus the resulting page URL. Passes when the status is 200 and the URL contains the fixture path, proving Page.navigate plus lifecycle settlement work end to end.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"200\", \"kind\": \"saved_equals\", \"label\": \"status_200\", \"name\": \"status\"}, {\"expected\": \"/l1/core\", \"kind\": \"saved_contains\", \"label\": \"url_on_fixture\", \"name\": \"final_url\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"save_as\": \"status\", \"url\": \"{fixture_url}\"}, {\"op\": \"url\", \"save_as\": \"final_url\"}]}, \"features\": [\"fw.playwright.page.goto\", \"fw.playwright.page.url\", \"cdp.page.navigate\", \"cdp.page.lifecycle_event\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_navigation\", \"version.v0_3\"], \"task_id\": \"v3_pw_nav_goto_status\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"goto returns HTTP 200 and lands on the fixture URL\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_nav_reload", "input": "reload discards a window global set before the reload", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_nav_reload.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright navigates, plants a window global via evaluate, reloads the page, then reads the global back. Passes when the pre-reload write is observed and the post-reload read is 'undefined', proving Page.reload actually re-created the JS world rather than reusing the old context.\", \"driver\": {\"checks\": [{\"expected\": \"seeded-31\", \"kind\": \"saved_equals\", \"label\": \"global_seeded\", \"name\": \"seeded\"}, {\"kind\": \"step_ok\", \"label\": \"reload_ok\", \"step\": 3}, {\"expected\": \"undefined\", \"kind\": \"saved_equals\", \"label\": \"global_gone_after_reload\", \"name\": \"after_reload\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"(window.__abbReloadProbe = 'seeded-31')\", \"op\": \"evaluate\", \"save_as\": \"seeded\"}, {\"op\": \"reload\", \"save_as\": \"reload_status\"}, {\"expression\": \"String(window.__abbReloadProbe)\", \"op\": \"evaluate\", \"save_as\": \"after_reload\"}]}, \"features\": [\"fw.playwright.page.reload\", \"fw.playwright.page.evaluate\", \"cdp.page.reload\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_navigation\", \"version.v0_3\"], \"task_id\": \"v3_pw_nav_reload\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"reload discards a window global set before the reload\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_nav_title_url", "input": "page.title() and page.url() after navigation", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_nav_title_url.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright navigates to the core fixture and reads back the document title and current URL through the framework API. Passes when the title equals the fixture's known title and the URL contains the fixture path.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"goto_ok\", \"step\": 1}, {\"expected\": \"CDP Core Fixture\", \"kind\": \"saved_equals\", \"label\": \"title_matches\", \"name\": \"title\"}, {\"expected\": \"/l1/core\", \"kind\": \"saved_contains\", \"label\": \"url_matches\", \"name\": \"url\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"title\", \"save_as\": \"title\"}, {\"op\": \"url\", \"save_as\": \"url\"}]}, \"features\": [\"fw.playwright.page.title\", \"fw.playwright.page.url\", \"cdp.page.get_frame_tree\", \"cdp.runtime.evaluate\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_navigation\", \"version.v0_3\"], \"task_id\": \"v3_pw_nav_title_url\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"page.title() and page.url() after navigation\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_nav_wait_for_selector", "input": "waitForSelector on a node injected 300ms after load", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_nav_wait_for_selector.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright navigates to the controls fixture where a script appends #late-item 300ms after load, then waits for that selector and reads its text. Passes when the wait resolves and the text equals the computed marker 'late-28', proving the polling/injected-helper wait machinery works on this engine.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"wait_for_selector_ok\", \"step\": 2}, {\"expected\": \"late-28\", \"kind\": \"saved_equals\", \"label\": \"late_item_text\", \"name\": \"late_text\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"wait_for_selector\", \"selector\": \"#late-item\", \"timeout_ms\": 5000}, {\"op\": \"text_content\", \"save_as\": \"late_text\", \"selector\": \"#late-item\"}]}, \"features\": [\"fw.playwright.page.wait_for_selector\", \"fw.playwright.page.text_content\", \"cdp.runtime.call_function_on\", \"cdp.page.add_script_to_evaluate_on_new_document\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_navigation\", \"version.v0_3\"], \"task_id\": \"v3_pw_nav_wait_for_selector\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"waitForSelector on a node injected 300ms after load\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_obs_ax_snapshot", "input": "accessibility snapshot exposes button semantics", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_obs_ax_snapshot.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright captures an accessibility snapshot of the controls fixture (probe tries page.accessibility.snapshot first, falling back to locator.ariaSnapshot). Passes when the serialized snapshot contains button semantics (loose contains check), proving the AX tree surface is readable through the framework.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"ax_snapshot_ok\", \"step\": 2}, {\"kind\": \"saved_truthy\", \"label\": \"snapshot_nonempty\", \"name\": \"ax\"}, {\"expected\": \"button\", \"kind\": \"saved_contains\", \"label\": \"button_semantics_present\", \"name\": \"ax\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"ax_snapshot\", \"save_as\": \"ax\"}]}, \"features\": [\"fw.playwright.page.accessibility.snapshot\", \"fw.playwright.locator.aria_snapshot\", \"cdp.accessibility.get_full_ax_tree\", \"cdp.accessibility.query_ax_tree\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/v0_3/probe/controls\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_observation\", \"version.v0_3\"], \"task_id\": \"v3_pw_obs_ax_snapshot\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"accessibility snapshot exposes button semantics\"}"}
{"driver": "framework_playwright", "family": "browser-protocol-and-web-platform", "id": "v3_pw_obs_console_dialog", "input": "console.log capture + confirm() dialog accept with return value", "language": "en", "layer": "L1", "source_path": "tasks/L1/playwright/v3_pw_obs_console_dialog.json", "source_suite": "l1.playwright", "task": "{\"artifact_profile\": \"l1_standard\", \"description\": \"Real Playwright wires a dialog handler (accept), then evaluates an IIFE that logs a marker to the console and calls window.confirm. Passes when the confirm return value is true (accepted dialog writes back into page JS - the Moli A5 target), the captured console contains the marker, and the recorded dialogs include a confirm.\", \"driver\": {\"checks\": [{\"expected\": \"true\", \"kind\": \"saved_equals\", \"label\": \"confirm_returned_true\", \"name\": \"confirm_result\"}, {\"expected\": \"abb-mark-77\", \"kind\": \"saved_contains\", \"label\": \"console_marker_captured\", \"name\": \"logs\"}, {\"expected\": \"confirm\", \"kind\": \"saved_contains\", \"label\": \"confirm_dialog_recorded\", \"name\": \"dialogs\"}], \"kind\": \"framework_playwright\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"action\": \"accept\", \"op\": \"on_dialog\"}, {\"expression\": \"(()=>{console.log('abb-mark-77'); return window.confirm('go?');})()\", \"op\": \"evaluate\", \"save_as\": \"confirm_result\"}, {\"op\": \"get_console\", \"save_as\": \"logs\"}, {\"op\": \"get_dialogs\", \"save_as\": \"dialogs\"}]}, \"features\": [\"fw.playwright.page.on_console\", \"fw.playwright.page.on_dialog\", \"fw.playwright.dialog.accept\", \"cdp.runtime.console_api_called\", \"cdp.page.javascript_dialog_opening\", \"cdp.page.handle_javascript_dialog\"], \"grader\": {\"checks\": [], \"kind\": \"inline_assertions\"}, \"layer\": \"L1\", \"scene\": {\"kind\": \"self_hosted_fixture\", \"url\": \"/l1/core\"}, \"subset_id\": \"l1.playwright\", \"tags\": [\"family.framework_observation\", \"version.v0_3\"], \"task_id\": \"v3_pw_obs_console_dialog\", \"task_version\": 1, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"console.log capture + confirm() dialog accept with return value\"}"}