{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "WebRunner action JSON",
  "description": "Generated from the runtime executor event_dict.",
  "definitions": {
    "action": {
      "type": "array",
      "minItems": 1,
      "maxItems": 3,
      "prefixItems": [
        {
          "type": "string",
          "enum": [
            "WR_CleanTestObject",
            "WR_SaveTestObject",
            "WR_a11y_load_axe",
            "WR_a11y_run_audit",
            "WR_a11y_summarise",
            "WR_add_cookie",
            "WR_add_package_to_callback_executor",
            "WR_add_package_to_executor",
            "WR_appium_android_caps",
            "WR_appium_ios_caps",
            "WR_appium_quit",
            "WR_appium_start",
            "WR_assert_no_secrets",
            "WR_audit_security_headers",
            "WR_audit_security_headers_url",
            "WR_back",
            "WR_browserstack_capabilities",
            "WR_build_action_schema",
            "WR_build_command_reference",
            "WR_build_dependency_graph",
            "WR_build_replay_html",
            "WR_cdp",
            "WR_change_index_of_webdriver",
            "WR_check_current_webdriver",
            "WR_chrome_options_with_extension",
            "WR_classify_error",
            "WR_classify_failure",
            "WR_classify_failures",
            "WR_clear_fallback_locators",
            "WR_clear_test_objects",
            "WR_click_element",
            "WR_connect_browserstack",
            "WR_connect_lambdatest",
            "WR_connect_saucelabs",
            "WR_dashboard_start",
            "WR_dashboard_stop",
            "WR_db_assert_count",
            "WR_db_assert_empty",
            "WR_db_assert_exists",
            "WR_db_assert_value",
            "WR_db_query",
            "WR_delete_all_cookies",
            "WR_delete_cookie",
            "WR_delete_snapshot",
            "WR_diff_ab_records",
            "WR_diff_har",
            "WR_diff_har_files",
            "WR_drag_and_drop",
            "WR_drag_and_drop_offset",
            "WR_element_assert",
            "WR_element_change_web_element",
            "WR_element_check_current_web_element",
            "WR_element_clear",
            "WR_element_click",
            "WR_element_get_attribute",
            "WR_element_get_dom_attribute",
            "WR_element_get_property",
            "WR_element_get_select",
            "WR_element_input",
            "WR_element_is_displayed",
            "WR_element_is_enabled",
            "WR_element_is_selected",
            "WR_element_screenshot",
            "WR_element_select_by_index",
            "WR_element_select_by_value",
            "WR_element_select_by_visible_text",
            "WR_element_submit",
            "WR_element_value_of_css_property",
            "WR_execute",
            "WR_execute_action",
            "WR_execute_async_script",
            "WR_execute_files",
            "WR_execute_script",
            "WR_expand_env_in_action",
            "WR_expand_with_row",
            "WR_explicit_wait",
            "WR_explict_wait",
            "WR_export_action_schema",
            "WR_export_command_reference",
            "WR_export_replay_studio",
            "WR_faker",
            "WR_faker_address",
            "WR_faker_credit_card",
            "WR_faker_email",
            "WR_faker_first_name",
            "WR_faker_last_name",
            "WR_faker_name",
            "WR_faker_password",
            "WR_faker_phone",
            "WR_faker_seed",
            "WR_faker_text",
            "WR_faker_url",
            "WR_faker_user_agent",
            "WR_faker_uuid",
            "WR_filter_paths",
            "WR_find_element",
            "WR_find_elements",
            "WR_find_recorded_element",
            "WR_find_recorded_elements",
            "WR_find_with_healing",
            "WR_flakiness_stats",
            "WR_flaky_paths",
            "WR_forward",
            "WR_fullscreen_window",
            "WR_generate_all_reports",
            "WR_generate_allure",
            "WR_generate_allure_report",
            "WR_generate_html",
            "WR_generate_html_report",
            "WR_generate_json",
            "WR_generate_json_report",
            "WR_generate_junit_xml",
            "WR_generate_junit_xml_report",
            "WR_generate_pom_from_html",
            "WR_generate_pom_from_url",
            "WR_generate_xml",
            "WR_generate_xml_report",
            "WR_get_cookie",
            "WR_get_cookies",
            "WR_get_env",
            "WR_get_log",
            "WR_get_screenshot_as_base64",
            "WR_get_screenshot_as_png",
            "WR_get_webdriver_manager",
            "WR_get_window_position",
            "WR_get_window_rect",
            "WR_gh_emit_failures",
            "WR_gh_emit_from_junit_xml",
            "WR_gh_format_error",
            "WR_http_assert_json_contains",
            "WR_http_assert_status",
            "WR_http_delete",
            "WR_http_get",
            "WR_http_patch",
            "WR_http_post",
            "WR_http_put",
            "WR_http_request",
            "WR_iframe_back_to_default",
            "WR_iframe_switch_chain",
            "WR_implicitly_wait",
            "WR_indexed_db_drop",
            "WR_input_to_element",
            "WR_jira_create_failure_issues",
            "WR_jira_create_issue",
            "WR_lambdatest_capabilities",
            "WR_ledger_clear",
            "WR_ledger_failed_files",
            "WR_ledger_passed_files",
            "WR_ledger_record_run",
            "WR_left_click",
            "WR_left_click_and_hold",
            "WR_left_double_click",
            "WR_lighthouse_assert_scores",
            "WR_lighthouse_run",
            "WR_lint_action",
            "WR_lint_action_file",
            "WR_lint_severity_counts",
            "WR_list_commands",
            "WR_list_new_downloads",
            "WR_llm_generate_actions",
            "WR_llm_has_callable",
            "WR_llm_self_heal_locator",
            "WR_llm_set_callable",
            "WR_llm_suggest_locator",
            "WR_load_dataset_csv",
            "WR_load_dataset_json",
            "WR_load_env",
            "WR_local_storage_all",
            "WR_local_storage_clear",
            "WR_local_storage_get",
            "WR_local_storage_remove",
            "WR_local_storage_set",
            "WR_locust_build_user_class",
            "WR_locust_run",
            "WR_match_snapshot",
            "WR_maximize_window",
            "WR_migrate_action",
            "WR_migrate_action_file",
            "WR_migrate_directory",
            "WR_minimize_window",
            "WR_move_by_offset",
            "WR_move_to_element",
            "WR_move_to_element_with_offset",
            "WR_new_driver",
            "WR_notify_run_summary",
            "WR_notify_slack",
            "WR_notify_webhook",
            "WR_oauth_bearer_header",
            "WR_oauth_clear_cache",
            "WR_oauth_client_credentials",
            "WR_oauth_get_cached",
            "WR_oauth_password_grant",
            "WR_oauth_refresh_token",
            "WR_order_factory",
            "WR_parse_shard_spec",
            "WR_partition",
            "WR_partition_with_spec",
            "WR_pause",
            "WR_perf_assert_within",
            "WR_perf_collect",
            "WR_perform",
            "WR_press_key",
            "WR_product_factory",
            "WR_pw_a11y_run_audit",
            "WR_pw_add_cookies",
            "WR_pw_assert_no_4xx_or_5xx",
            "WR_pw_assert_no_5xx",
            "WR_pw_assert_no_console_errors",
            "WR_pw_back",
            "WR_pw_cdp",
            "WR_pw_cdp_reset_sessions",
            "WR_pw_check",
            "WR_pw_clear_cookies",
            "WR_pw_clear_permissions",
            "WR_pw_click",
            "WR_pw_clock_install",
            "WR_pw_clock_run_for",
            "WR_pw_clock_set_time",
            "WR_pw_close_page",
            "WR_pw_console_messages",
            "WR_pw_content",
            "WR_pw_dblclick",
            "WR_pw_drag_and_drop",
            "WR_pw_element_change",
            "WR_pw_element_check",
            "WR_pw_element_clear",
            "WR_pw_element_click",
            "WR_pw_element_dblclick",
            "WR_pw_element_fill",
            "WR_pw_element_get_attribute",
            "WR_pw_element_get_property",
            "WR_pw_element_hover",
            "WR_pw_element_inner_html",
            "WR_pw_element_inner_text",
            "WR_pw_element_is_checked",
            "WR_pw_element_is_enabled",
            "WR_pw_element_is_visible",
            "WR_pw_element_press",
            "WR_pw_element_screenshot",
            "WR_pw_element_scroll_into_view",
            "WR_pw_element_select_option",
            "WR_pw_element_type_text",
            "WR_pw_element_uncheck",
            "WR_pw_emulate",
            "WR_pw_evaluate",
            "WR_pw_event_capture_clear",
            "WR_pw_event_capture_start",
            "WR_pw_event_capture_stop",
            "WR_pw_extension_args",
            "WR_pw_fill",
            "WR_pw_find_element",
            "WR_pw_find_element_with_test_object_record",
            "WR_pw_find_elements",
            "WR_pw_find_elements_with_test_object_record",
            "WR_pw_find_with_healing",
            "WR_pw_forward",
            "WR_pw_frame_locator_chain",
            "WR_pw_get_cookies",
            "WR_pw_grant_permissions",
            "WR_pw_hover",
            "WR_pw_indexed_db_drop",
            "WR_pw_keyboard_down",
            "WR_pw_keyboard_press",
            "WR_pw_keyboard_type",
            "WR_pw_keyboard_up",
            "WR_pw_launch",
            "WR_pw_list_devices",
            "WR_pw_local_storage_all",
            "WR_pw_local_storage_clear",
            "WR_pw_local_storage_get",
            "WR_pw_local_storage_remove",
            "WR_pw_local_storage_set",
            "WR_pw_mouse_click",
            "WR_pw_mouse_down",
            "WR_pw_mouse_move",
            "WR_pw_mouse_up",
            "WR_pw_network_responses",
            "WR_pw_new_page",
            "WR_pw_page_count",
            "WR_pw_perf_collect",
            "WR_pw_press",
            "WR_pw_quit",
            "WR_pw_refresh",
            "WR_pw_route_clear",
            "WR_pw_route_mock",
            "WR_pw_route_mock_json",
            "WR_pw_route_unmock",
            "WR_pw_save_test_object_to_selector",
            "WR_pw_screenshot",
            "WR_pw_screenshot_bytes",
            "WR_pw_select_option",
            "WR_pw_session_storage_clear",
            "WR_pw_session_storage_get",
            "WR_pw_session_storage_set",
            "WR_pw_set_default_navigation_timeout",
            "WR_pw_set_default_timeout",
            "WR_pw_set_geolocation",
            "WR_pw_set_locale",
            "WR_pw_set_timezone",
            "WR_pw_set_viewport_size",
            "WR_pw_shadow_query",
            "WR_pw_shadow_selector",
            "WR_pw_start_har_recording",
            "WR_pw_stop_emulate",
            "WR_pw_stop_har_recording",
            "WR_pw_sw_bypass",
            "WR_pw_sw_clear_caches",
            "WR_pw_sw_unregister",
            "WR_pw_switch_to_page",
            "WR_pw_throttle",
            "WR_pw_throttle_clear",
            "WR_pw_title",
            "WR_pw_to_url",
            "WR_pw_type_text",
            "WR_pw_uncheck",
            "WR_pw_upload_file",
            "WR_pw_url",
            "WR_pw_viewport_size",
            "WR_pw_wait_for_load_state",
            "WR_pw_wait_for_selector",
            "WR_pw_wait_for_timeout",
            "WR_pw_wait_for_url",
            "WR_quit",
            "WR_quit_all",
            "WR_quit_current",
            "WR_read_depends_on",
            "WR_read_metadata",
            "WR_recorder_pull_events",
            "WR_recorder_save",
            "WR_recorder_start",
            "WR_recorder_stop",
            "WR_refresh",
            "WR_register_fallback_locator",
            "WR_register_fallback_locators",
            "WR_release",
            "WR_release_key",
            "WR_report_expected_paths",
            "WR_reset_actions",
            "WR_reset_scheduler",
            "WR_right_click",
            "WR_run_ab",
            "WR_run_for_users",
            "WR_run_scheduler_for",
            "WR_run_scheduler_forever",
            "WR_run_with_dataset",
            "WR_saucelabs_capabilities",
            "WR_save_test_object",
            "WR_scan_secrets",
            "WR_scan_secrets_file",
            "WR_schedule",
            "WR_scheduler_counts",
            "WR_scroll",
            "WR_send_keys",
            "WR_send_keys_to_element",
            "WR_session_storage_clear",
            "WR_session_storage_get",
            "WR_session_storage_set",
            "WR_set_action_span_factory",
            "WR_set_allow_arbitrary_script",
            "WR_set_driver",
            "WR_set_failure_screenshot_dir",
            "WR_set_page_load_timeout",
            "WR_set_record_enable",
            "WR_set_retry_policy",
            "WR_set_script_timeout",
            "WR_set_webdriver_options_capability",
            "WR_set_window_position",
            "WR_set_window_rect",
            "WR_set_window_size",
            "WR_shadow_query",
            "WR_single_quit",
            "WR_skip_dependents_of_failed",
            "WR_snapshot_directory",
            "WR_start_remote_driver",
            "WR_stop_scheduler",
            "WR_summarise_run",
            "WR_sw_bypass",
            "WR_sw_clear_caches",
            "WR_sw_unregister",
            "WR_switch",
            "WR_tc_cleanup_all",
            "WR_tc_generic",
            "WR_tc_postgres",
            "WR_tc_redis",
            "WR_tc_started_count",
            "WR_tc_stop",
            "WR_testrail_close_run",
            "WR_testrail_results_from_pairs",
            "WR_testrail_send_results",
            "WR_throttle",
            "WR_throttle_clear",
            "WR_throttle_presets",
            "WR_to_url",
            "WR_topological_order",
            "WR_update_snapshot",
            "WR_upload_file",
            "WR_user_factory",
            "WR_validate_action_file",
            "WR_validate_action_json",
            "WR_visual_capture_baseline",
            "WR_visual_compare",
            "WR_wait_for_download",
            "WR_write_pom_to_file"
          ],
          "title": "WebRunner command"
        },
        {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "type": "array"
            }
          ]
        },
        {
          "type": "object"
        }
      ],
      "items": false
    }
  },
  "oneOf": [
    {
      "type": "array",
      "items": {
        "$ref": "#/definitions/action"
      }
    },
    {
      "type": "object",
      "properties": {
        "webdriver_wrapper": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/action"
          }
        },
        "meta": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "depends_on": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "webdriver_wrapper"
      ],
      "additionalProperties": true
    }
  ]
}