diff --git "a/data/l1.selenium.jsonl" "b/data/l1.selenium.jsonl" new file mode 100644--- /dev/null +++ "b/data/l1.selenium.jsonl" @@ -0,0 +1,87 @@ +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_add_single_item__se", "input": "Adding one item is reflected in the server-side cart total (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_add_single_item__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_add_single_item__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Adding one item is reflected in the server-side cart total (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_cart_persists_reload__se", "input": "The cart survives a page reload via the session cookie (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_cart_persists_reload__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.op.reload\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_cart_persists_reload__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The cart survives a page reload via the session cookie (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_cart_total_two_items__se", "input": "Two different items sum to the server-computed total (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_cart_total_two_items__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_cart_total_two_items__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Two different items sum to the server-computed total (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_checkout_receipt__se", "input": "Checkout returns a server-computed order receipt (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_checkout_receipt__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_checkout_receipt__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Checkout returns a server-computed order receipt (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_filter_narrows__se", "input": "Typing a filter narrows the item list to matching entries (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_filter_narrows__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_filter_narrows__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Typing a filter narrows the item list to matching entries (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_filter_then_add__se", "input": "An item added from a filtered view lands in the cart (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_filter_then_add__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_filter_then_add__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An item added from a filtered view lands in the cart (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_full_flow_aggregate__se", "input": "The full login-add-add-checkout flow aggregates end to end (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_full_flow_aggregate__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_full_flow_aggregate__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The full login-add-add-checkout flow aggregates end to end (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_locked_without_login__se", "input": "The item list is locked without a session (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_locked_without_login__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.op.reload\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_locked_without_login__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The item list is locked without a session (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_login_greets__se", "input": "Logging in yields a server-echoed greeting (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_login_greets__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_login_greets__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Logging in yields a server-echoed greeting (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_logout_locks__se", "input": "Logging out drops the server session and relocks the list (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_logout_locks__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_logout_locks__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Logging out drops the server session and relocks the list (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_qty_accumulates__se", "input": "Adding the same item twice accumulates quantity server-side (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_qty_accumulates__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_qty_accumulates__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Adding the same item twice accumulates quantity server-side (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_app_remove_item__se", "input": "Removing a cart line updates the server-side total (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_app_remove_item__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.multi_step_flow\", \"version.v0_4\"], \"task_id\": \"sc_app_remove_item__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Removing a cart line updates the server-side total (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_eval_context_persists__se", "input": "The JS world persists between separate driver evaluate calls (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_eval_context_persists__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_eval_context_persists__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The JS world persists between separate driver evaluate calls (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_fresh_page_no_stale_globals__se", "input": "A newly created page starts with a fresh JS world (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_fresh_page_no_stale_globals__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_fresh_page_no_stale_globals__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A newly created page starts with a fresh JS world (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_ready_state_complete__se", "input": "A settled navigation reports document.readyState complete (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_ready_state_complete__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"expression\": \"document.readyState\", \"op\": \"evaluate\", \"save_as\": \"answer\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_ready_state_complete__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A settled navigation reports document.readyState complete (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_second_page_independent_nav__se", "input": "A second page navigates independently of the first (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_second_page_independent_nav__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_second_page_independent_nav__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A second page navigates independently of the first (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_session_survives_three_pages__se", "input": "The driver session stays healthy across three page creations (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_session_survives_three_pages__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_session_survives_three_pages__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver session stays healthy across three page creations (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_two_pages_isolated__se", "input": "State set in one page must not leak into a second page (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_two_pages_isolated__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_two_pages_isolated__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"State set in one page must not leak into a second page (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_ua_surface__se", "input": "Read the browser identity through the driver and the page (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_ua_surface__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"user_agent\", \"save_as\": \"driver_ua\"}, {\"expression\": \"navigator.userAgent\", \"op\": \"evaluate\", \"save_as\": \"answer\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.user_agent\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_ua_surface__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read the browser identity through the driver and the page (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_cs_url_surface__se", "input": "The driver's URL surface reflects the navigated location (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_cs_url_surface__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"url\", \"save_as\": \"answer\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\"], \"task_id\": \"sc_cs_url_surface__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver's URL surface reflects the navigated location (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_dyn_counter_clicks__se", "input": "Click a counter button repeatedly and read the tally (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_dyn_counter_clicks__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_dyn_counter_clicks__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Click a counter button repeatedly and read the tally (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_dyn_paging_final__se", "input": "Advance paging via XHR clicks and read the final datum (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_dyn_paging_final__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_dyn_paging_final__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Advance paging via XHR clicks and read the final datum (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_checkbox_check__se", "input": "Check a checkbox and observe the checked property (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_checkbox_check__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"check\", \"selector\": \"#checkbox\"}, {\"expression\": \"document.getElementById('checkbox').checked\", \"op\": \"evaluate\", \"save_as\": \"answer\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.check\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_checkbox_check__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Check a checkbox and observe the checked property (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_checkbox_event__se", "input": "Check a checkbox and observe its change handler output (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_checkbox_event__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"check\", \"selector\": \"#agree\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#agree-out\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.check\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_checkbox_event__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Check a checkbox and observe its change handler output (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_fill_overwrites__se", "input": "A second fill replaces the first value (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_fill_overwrites__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_fill_overwrites__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A second fill replaces the first value (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_fill_readback__se", "input": "Fill a text input and read the value back (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_fill_readback__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_fill_readback__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Fill a text input and read the value back (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_focus_active_element__se", "input": "The driver focus route changes document.activeElement (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_focus_active_element__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"focus\", \"selector\": \"#field\"}, {\"expression\": \"document.activeElement && document.activeElement.id\", \"op\": \"evaluate\", \"save_as\": \"answer\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.focus\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\", \"purpose.issue_106\"], \"task_id\": \"sc_form_focus_active_element__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The driver focus route changes document.activeElement (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_label_click_toggles__se", "input": "Clicking a label toggles its control and fires change (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_label_click_toggles__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \"#via-label\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#label-out\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_label_click_toggles__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Clicking a label toggles its control and fires change (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_press_enter_handler__se", "input": "press Enter reaches the focused field's key handler (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_press_enter_handler__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.press\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_press_enter_handler__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"press Enter reaches the focused field's key handler (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_radio_pick__se", "input": "Clicking one radio selects it and deselects siblings (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_radio_pick__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_radio_pick__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Clicking one radio selects it and deselects siblings (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_select_option__se", "input": "Select a dropdown option and observe the change event (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_select_option__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.select_option\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_select_option__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Select a dropdown option and observe the change event (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_submit_roundtrip__se", "input": "Submit a GET form and read the echoed query (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_submit_roundtrip__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_submit_roundtrip__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Submit a GET form and read the echoed query (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_form_textarea_fill__se", "input": "Fill a textarea and read it back (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_form_textarea_fill__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.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.selenium\", \"tags\": [\"family.forms\", \"version.v0_4\"], \"task_id\": \"sc_form_textarea_fill__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Fill a textarea and read it back (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_child_posts_parent__se", "input": "Child frames deliver postMessage to the parent document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_child_posts_parent__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_child_posts_parent__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Child frames deliver postMessage to the parent document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_child_self_navigation__se", "input": "A child frame navigates itself while the parent document survives (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_child_self_navigation__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_child_self_navigation__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A child frame navigates itself while the parent document survives (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_cross_origin_blocked__se", "input": "Top-document JS cannot reach into a cross-origin iframe (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_cross_origin_blocked__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_cross_origin_blocked__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Top-document JS cannot reach into a cross-origin iframe (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_dynamic_iframe_attach__se", "input": "A dynamically inserted iframe attaches and runs its document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_dynamic_iframe_attach__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_dynamic_iframe_attach__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A dynamically inserted iframe attaches and runs its document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_frame_tree_shape__se", "input": "The live frame tree reflects static plus dynamic children (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_frame_tree_shape__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_frame_tree_shape__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"The live frame tree reflects static plus dynamic children (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_iframe_detach__se", "input": "Removing an iframe detaches its frame from the tree (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_iframe_detach__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_iframe_detach__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Removing an iframe detaches its frame from the tree (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_nested_two_levels__se", "input": "A grandchild frame two levels down is reachable through the frame tree (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_nested_two_levels__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_nested_two_levels__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A grandchild frame two levels down is reachable through the frame tree (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_sibling_isolation__se", "input": "Writing into one child frame leaves its sibling untouched (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_sibling_isolation__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_sibling_isolation__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Writing into one child frame leaves its sibling untouched (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_fr_static_child_read__se", "input": "Read text out of a statically embedded same-origin iframe (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_fr_static_child_read__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.frames_oopif\", \"version.v0_4\"], \"task_id\": \"sc_fr_static_child_read__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read text out of a statically embedded same-origin iframe (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_adjacent_sibling__se", "input": "Resolve an adjacent-sibling combinator (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_adjacent_sibling__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#lead + .next\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_adjacent_sibling__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Resolve an adjacent-sibling combinator (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_attribute_selector_click__se", "input": "Click an element located by attribute selector (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_attribute_selector_click__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_attribute_selector_click__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Click an element located by attribute selector (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_class_count__se", "input": "Count elements matching a class selector (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_class_count__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"count\", \"save_as\": \"answer\", \"selector\": \".card\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_class_count__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Count elements matching a class selector (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_descendant_scope__se", "input": "A descendant selector stays inside its ancestor (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_descendant_scope__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#zone .value\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_descendant_scope__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A descendant selector stays inside its ancestor (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_first_match_semantics__se", "input": "A multi-match selector acts on the first match (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_first_match_semantics__se.json", "source_suite": "l1.selenium", "task": "{\"_generated_from\": \"tasks/scenarios/loc_first_match_semantics.scenario.json\", \"artifact_profile\": \"l1_standard\", \"chrome_gate\": \"required\", \"description\": \"Clicks .btn where two buttons match; querySelector semantics require the FIRST one, whose handler records its rank.\", \"driver\": {\"checks\": [{\"kind\": \"step_ok\", \"label\": \"click_ok\", \"step\": 2}, {\"expected\": \"clicked-first\", \"kind\": \"saved_equals\", \"label\": \"first_won\", \"name\": \"answer\"}], \"kind\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"click\", \"selector\": \".btn\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#btn-out\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_first_match_semantics__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A multi-match selector acts on the first match (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_iframe_same_origin_read__se", "input": "Read content inside a same-origin iframe (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_iframe_same_origin_read__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_iframe_same_origin_read__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read content inside a same-origin iframe (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_iframe_scope_top_document__se", "input": "Selectors resolve in the top document, not the iframe (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_iframe_scope_top_document__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#dup\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_iframe_scope_top_document__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Selectors resolve in the top document, not the iframe (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_missing_element_fails_cleanly__se", "input": "A missing selector fails the op, not the harness (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_missing_element_fails_cleanly__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.text_content\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_missing_element_fails_cleanly__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A missing selector fails the op, not the harness (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_nth_child_text__se", "input": "Read the second list item via :nth-child (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_nth_child_text__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#fruits li:nth-child(2)\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_nth_child_text__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read the second list item via :nth-child (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_shadow_closed_hidden__se", "input": "A closed shadow root is not exposed (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_shadow_closed_hidden__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_shadow_closed_hidden__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A closed shadow root is not exposed (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_loc_shadow_open_pierce__se", "input": "Read inside an open shadow root (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_loc_shadow_open_pierce__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_loc_shadow_open_pierce__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Read inside an open shadow root (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_locator_textbox_len__se", "input": "Type into a textbox and read the derived length output (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_locator_textbox_len__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"fill\", \"selector\": \"#textbox\", \"value\": \"abcde\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#textbox-len\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.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.selenium\", \"tags\": [\"family.locator\", \"version.v0_4\"], \"task_id\": \"sc_locator_textbox_len__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Type into a textbox and read the derived length output (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_multi_tab_collect__se", "input": "Collect and aggregate values from two tabs in one driver session (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_multi_tab_collect__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.connect_session\", \"version.v0_4\", \"purpose.issue_106\"], \"task_id\": \"sc_multi_tab_collect__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Collect and aggregate values from two tabs in one driver session (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_back_restores__se", "input": "history back returns to the first document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_back_restores__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.go_back\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_back_restores__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history back returns to the first document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_cross_page__se", "input": "Navigate across two pages and read the second heading (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_cross_page__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/page2\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_cross_page__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Navigate across two pages and read the second heading (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_forward_after_back__se", "input": "history forward re-reaches the second document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_forward_after_back__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.go_back\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.op.go_forward\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_forward_after_back__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history forward re-reaches the second document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_hash_change__se", "input": "hash navigation changes location without a reload (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_hash_change__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_hash_change__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"hash navigation changes location without a reload (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_push_state__se", "input": "history.pushState changes the URL without a load (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_push_state__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_push_state__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history.pushState changes the URL without a load (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_push_state_back__se", "input": "history back pops a pushState entry in-document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_push_state_back__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.op.go_back\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_push_state_back__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history back pops a pushState entry in-document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_redirect_chain__se", "input": "goto follows a 302 redirect chain to the final document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_redirect_chain__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_redirect_chain__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"goto follows a 302 redirect chain to the final document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_reload_resets_dom__se", "input": "Reload discards un-persisted DOM state (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_reload_resets_dom__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.fill\", \"fw.selenium.op.reload\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_reload_resets_dom__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Reload discards un-persisted DOM state (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_reload_title__se", "input": "Reload the page and re-read the heading (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_reload_title__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"reload\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.reload\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_reload_title__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Reload the page and re-read the heading (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_replace_state_collapses_entry__se", "input": "history.replaceState rewrites the current entry instead of adding one (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_replace_state_collapses_entry__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_replace_state_collapses_entry__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"history.replaceState rewrites the current entry instead of adding one (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_slow_document__se", "input": "goto waits out a slow-responding document (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_slow_document__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_base_url}/v0_4/slow?ms=1200\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#slow-title\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_slow_document__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"goto waits out a slow-responding document (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_nav_title_read__se", "input": "Navigate and read the page heading (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_nav_title_read__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"steps\": [{\"op\": \"new_page\"}, {\"op\": \"goto\", \"url\": \"{fixture_url}\"}, {\"op\": \"text_content\", \"save_as\": \"answer\", \"selector\": \"#title\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.navigation_lifecycle\", \"version.v0_4\"], \"task_id\": \"sc_nav_title_read__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Navigate and read the page heading (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_net_route_passthrough__se", "input": "An unintercepted fetch reaches the real server (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_net_route_passthrough__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.click\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.network_interception\", \"version.v0_4\"], \"task_id\": \"sc_net_route_passthrough__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"An unintercepted fetch reaches the real server (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_obs_box_model_geometry__se", "input": "Layout geometry of a fixed-size element is observable (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_obs_box_model_geometry__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_box_model_geometry__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Layout geometry of a fixed-size element is observable (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_obs_title_url_surface__se", "input": "Document title and URL observation surfaces agree with the page (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_obs_title_url_surface__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_title_url_surface__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Document title and URL observation surfaces agree with the page (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_obs_visibility_matrix__se", "input": "Visible and display:none elements are distinguishable (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_obs_visibility_matrix__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.observation\", \"version.v0_4\", \"purpose.diagnostic\"], \"task_id\": \"sc_obs_visibility_matrix__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Visible and display:none elements are distinguishable (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_cookie_document_roundtrip__se", "input": "document.cookie set/read round-trip (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_cookie_document_roundtrip__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_cookie_document_roundtrip__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"document.cookie set/read round-trip (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_cookie_survives_reload__se", "input": "A cookie survives a reload (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_cookie_survives_reload__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_cookie_survives_reload__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"A cookie survives a reload (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_local_roundtrip__se", "input": "localStorage set/get round-trip in one page (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_local_roundtrip__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_local_roundtrip__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage set/get round-trip in one page (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_local_shared_same_origin__se", "input": "localStorage is shared across pages of one origin (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_local_shared_same_origin__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_local_shared_same_origin__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage is shared across pages of one origin (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_local_survives_reload__se", "input": "localStorage survives a reload (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_local_survives_reload__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.evaluate\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_local_survives_reload__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage survives a reload (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_session_isolated_new_page__se", "input": "sessionStorage does not leak into a new page (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_session_isolated_new_page__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_session_isolated_new_page__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"sessionStorage does not leak into a new page (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_session_storage_roundtrip__se", "input": "sessionStorage set/get round-trip (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_session_storage_roundtrip__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_session_storage_roundtrip__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"sessionStorage set/get round-trip (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_st_storage_remove__se", "input": "localStorage removeItem removes exactly one key (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_st_storage_remove__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.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.selenium\", \"tags\": [\"family.state\", \"version.v0_4\"], \"task_id\": \"sc_st_storage_remove__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"localStorage removeItem removes exactly one key (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_attribute_set__se", "input": "Wait for a late attribute and read it through the driver (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_attribute_set__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_attribute_set__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a late attribute and read it through the driver (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_element_hidden__se", "input": "Wait for a present element to become hidden (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_element_hidden__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_element_hidden__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a present element to become hidden (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_enabled_then_click__se", "input": "Wait for a disabled control to enable, then click it (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_enabled_then_click__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.op.click\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_enabled_then_click__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a disabled control to enable, then click it (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_late_item__se", "input": "Wait for a late-inserted list item (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_late_item__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_selector\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_late_item__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a late-inserted list item (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_list_progressive_fill__se", "input": "Wait for a progressively filled list to complete (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_list_progressive_fill__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_list_progressive_fill__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a progressively filled list to complete (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_slow_badge__se", "input": "Wait for a 400ms-late element and read it (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_slow_badge__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_selector\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_slow_badge__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for a 400ms-late element and read it (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_spinner_replaced__se", "input": "Wait for spinner content to be replaced (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_spinner_replaced__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_spinner_replaced__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait for spinner content to be replaced (selenium)\"}"} +{"driver": "webdriver_selenium", "family": "browser-protocol-and-web-platform", "id": "sc_wait_two_phase_settle__se", "input": "Wait through an intermediate state to the settled one (selenium)", "language": "en", "layer": "L1", "source_path": "tasks/L1/selenium/sc_wait_two_phase_settle__se.json", "source_suite": "l1.selenium", "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\": \"webdriver_selenium\", \"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\"}], \"transport_policy\": \"engine_native\"}, \"features\": [\"fw.selenium.op.new_page\", \"fw.selenium.op.goto\", \"fw.selenium.op.wait_for_function\", \"fw.selenium.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.selenium\", \"tags\": [\"family.waiting_dynamic\", \"version.v0_4\"], \"task_id\": \"sc_wait_two_phase_settle__se\", \"task_version\": 2, \"timeouts\": {\"hard_kill_ms\": 45000, \"task_ms\": 30000}, \"title\": \"Wait through an intermediate state to the settled one (selenium)\"}"}