free-computer-use 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/.env.example +31 -0
  2. package/CHANGELOG.md +19 -0
  3. package/CONTRIBUTING.md +66 -0
  4. package/LICENSE +21 -0
  5. package/README.md +140 -0
  6. package/SECURITY.md +133 -0
  7. package/artifacts/benchmark-public.json +797 -0
  8. package/assets/readme/hero.svg +53 -0
  9. package/assets/readme/incident-demo.gif +0 -0
  10. package/assets/readme/incident-evidence.json +52 -0
  11. package/dist/actions/compiler.d.ts +5 -0
  12. package/dist/actions/compiler.js +16 -0
  13. package/dist/actions/compiler.js.map +1 -0
  14. package/dist/actions/executor.d.ts +38 -0
  15. package/dist/actions/executor.js +305 -0
  16. package/dist/actions/executor.js.map +1 -0
  17. package/dist/actions/policy.d.ts +4 -0
  18. package/dist/actions/policy.js +18 -0
  19. package/dist/actions/policy.js.map +1 -0
  20. package/dist/actions/schema.d.ts +4149 -0
  21. package/dist/actions/schema.js +59 -0
  22. package/dist/actions/schema.js.map +1 -0
  23. package/dist/adapters/generic.d.ts +14 -0
  24. package/dist/adapters/generic.js +33 -0
  25. package/dist/adapters/generic.js.map +1 -0
  26. package/dist/agent/Agent.d.ts +69 -0
  27. package/dist/agent/Agent.js +375 -0
  28. package/dist/agent/Agent.js.map +1 -0
  29. package/dist/agent/Control.d.ts +23 -0
  30. package/dist/agent/Control.js +51 -0
  31. package/dist/agent/Control.js.map +1 -0
  32. package/dist/agent/TokenBudget.d.ts +52 -0
  33. package/dist/agent/TokenBudget.js +47 -0
  34. package/dist/agent/TokenBudget.js.map +1 -0
  35. package/dist/agent/goalCriteria.d.ts +2 -0
  36. package/dist/agent/goalCriteria.js +13 -0
  37. package/dist/agent/goalCriteria.js.map +1 -0
  38. package/dist/browser/Browser.d.ts +72 -0
  39. package/dist/browser/Browser.js +378 -0
  40. package/dist/browser/Browser.js.map +1 -0
  41. package/dist/browser/DomExtractor.d.ts +6 -0
  42. package/dist/browser/DomExtractor.js +134 -0
  43. package/dist/browser/DomExtractor.js.map +1 -0
  44. package/dist/browser/Interaction.d.ts +43 -0
  45. package/dist/browser/Interaction.js +225 -0
  46. package/dist/browser/Interaction.js.map +1 -0
  47. package/dist/browser/NetworkGuardProxy.d.ts +31 -0
  48. package/dist/browser/NetworkGuardProxy.js +331 -0
  49. package/dist/browser/NetworkGuardProxy.js.map +1 -0
  50. package/dist/browser/Observer.d.ts +12 -0
  51. package/dist/browser/Observer.js +31 -0
  52. package/dist/browser/Observer.js.map +1 -0
  53. package/dist/browser/PageCompressor.d.ts +47 -0
  54. package/dist/browser/PageCompressor.js +62 -0
  55. package/dist/browser/PageCompressor.js.map +1 -0
  56. package/dist/browser/SecurityBoundaryError.d.ts +3 -0
  57. package/dist/browser/SecurityBoundaryError.js +4 -0
  58. package/dist/browser/SecurityBoundaryError.js.map +1 -0
  59. package/dist/browser/SelectorEngine.d.ts +18 -0
  60. package/dist/browser/SelectorEngine.js +72 -0
  61. package/dist/browser/SelectorEngine.js.map +1 -0
  62. package/dist/browser/types.d.ts +38 -0
  63. package/dist/browser/types.js +2 -0
  64. package/dist/browser/types.js.map +1 -0
  65. package/dist/cli/index.d.ts +2 -0
  66. package/dist/cli/index.js +284 -0
  67. package/dist/cli/index.js.map +1 -0
  68. package/dist/config.d.ts +11 -0
  69. package/dist/config.js +77 -0
  70. package/dist/config.js.map +1 -0
  71. package/dist/history/TraceStore.d.ts +29 -0
  72. package/dist/history/TraceStore.js +53 -0
  73. package/dist/history/TraceStore.js.map +1 -0
  74. package/dist/index.d.ts +18 -0
  75. package/dist/index.js +16 -0
  76. package/dist/index.js.map +1 -0
  77. package/dist/llm/ClaudeSubscriptionProvider.d.ts +26 -0
  78. package/dist/llm/ClaudeSubscriptionProvider.js +182 -0
  79. package/dist/llm/ClaudeSubscriptionProvider.js.map +1 -0
  80. package/dist/llm/CodexSubscriptionProvider.d.ts +26 -0
  81. package/dist/llm/CodexSubscriptionProvider.js +168 -0
  82. package/dist/llm/CodexSubscriptionProvider.js.map +1 -0
  83. package/dist/llm/FlashProvider.d.ts +27 -0
  84. package/dist/llm/FlashProvider.js +103 -0
  85. package/dist/llm/FlashProvider.js.map +1 -0
  86. package/dist/llm/LLMProvider.d.ts +37 -0
  87. package/dist/llm/LLMProvider.js +2 -0
  88. package/dist/llm/LLMProvider.js.map +1 -0
  89. package/dist/llm/cliEnvironment.d.ts +5 -0
  90. package/dist/llm/cliEnvironment.js +21 -0
  91. package/dist/llm/cliEnvironment.js.map +1 -0
  92. package/dist/llm/prompts.d.ts +4 -0
  93. package/dist/llm/prompts.js +12 -0
  94. package/dist/llm/prompts.js.map +1 -0
  95. package/dist/llm/structuredOutput.d.ts +3 -0
  96. package/dist/llm/structuredOutput.js +58 -0
  97. package/dist/llm/structuredOutput.js.map +1 -0
  98. package/dist/mcp/index.d.ts +13 -0
  99. package/dist/mcp/index.js +243 -0
  100. package/dist/mcp/index.js.map +1 -0
  101. package/dist/profile/ProfileStore.d.ts +7 -0
  102. package/dist/profile/ProfileStore.js +52 -0
  103. package/dist/profile/ProfileStore.js.map +1 -0
  104. package/dist/profile/VariableResolver.d.ts +15 -0
  105. package/dist/profile/VariableResolver.js +50 -0
  106. package/dist/profile/VariableResolver.js.map +1 -0
  107. package/dist/server/index.d.ts +14 -0
  108. package/dist/server/index.js +239 -0
  109. package/dist/server/index.js.map +1 -0
  110. package/dist/ui/app.js +132 -0
  111. package/dist/ui/index.html +29 -0
  112. package/dist/ui/logo.svg +5 -0
  113. package/dist/ui/results.js +59 -0
  114. package/dist/ui/style.css +33 -0
  115. package/dist/verification/Verifier.d.ts +72 -0
  116. package/dist/verification/Verifier.js +87 -0
  117. package/dist/verification/Verifier.js.map +1 -0
  118. package/dist/workflows/WorkflowEngine.d.ts +23 -0
  119. package/dist/workflows/WorkflowEngine.js +52 -0
  120. package/dist/workflows/WorkflowEngine.js.map +1 -0
  121. package/docs/ADOPTION.md +61 -0
  122. package/docs/ARCHITECTURE.md +65 -0
  123. package/docs/BENCHMARKS.md +64 -0
  124. package/docs/IMPLEMENTATION.md +93 -0
  125. package/docs/LOCAL_DATA.md +98 -0
  126. package/docs/LOCAL_VALIDATION.md +87 -0
  127. package/docs/MCP.md +81 -0
  128. package/docs/PROVIDERS.md +150 -0
  129. package/docs/RELEASE_CHECKLIST.md +37 -0
  130. package/docs/REQUIREMENTS.md +39 -0
  131. package/docs/SUPPORT_MATRIX.md +193 -0
  132. package/docs/THREAT_MODEL.md +108 -0
  133. package/docs/USEFUL_EXAMPLES.md +151 -0
  134. package/docs/brand-mark.svg +12 -0
  135. package/package.json +90 -0
@@ -0,0 +1,4149 @@
1
+ import { z } from 'zod';
2
+ export declare const SemanticTargetSchema: z.ZodObject<{
3
+ role: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ label: z.ZodOptional<z.ZodString>;
6
+ placeholder: z.ZodOptional<z.ZodString>;
7
+ testId: z.ZodOptional<z.ZodString>;
8
+ id: z.ZodOptional<z.ZodString>;
9
+ attributeName: z.ZodOptional<z.ZodString>;
10
+ text: z.ZodOptional<z.ZodString>;
11
+ css: z.ZodOptional<z.ZodString>;
12
+ frame: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strict>;
14
+ export declare const TargetSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
15
+ role: z.ZodOptional<z.ZodString>;
16
+ name: z.ZodOptional<z.ZodString>;
17
+ label: z.ZodOptional<z.ZodString>;
18
+ placeholder: z.ZodOptional<z.ZodString>;
19
+ testId: z.ZodOptional<z.ZodString>;
20
+ id: z.ZodOptional<z.ZodString>;
21
+ attributeName: z.ZodOptional<z.ZodString>;
22
+ text: z.ZodOptional<z.ZodString>;
23
+ css: z.ZodOptional<z.ZodString>;
24
+ frame: z.ZodOptional<z.ZodNumber>;
25
+ }, z.core.$strict>]>;
26
+ export type SemanticTarget = z.infer<typeof SemanticTargetSchema>;
27
+ export type Target = z.infer<typeof TargetSchema>;
28
+ export declare const ConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
+ type: z.ZodLiteral<"input_value_equals">;
30
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
31
+ role: z.ZodOptional<z.ZodString>;
32
+ name: z.ZodOptional<z.ZodString>;
33
+ label: z.ZodOptional<z.ZodString>;
34
+ placeholder: z.ZodOptional<z.ZodString>;
35
+ testId: z.ZodOptional<z.ZodString>;
36
+ id: z.ZodOptional<z.ZodString>;
37
+ attributeName: z.ZodOptional<z.ZodString>;
38
+ text: z.ZodOptional<z.ZodString>;
39
+ css: z.ZodOptional<z.ZodString>;
40
+ frame: z.ZodOptional<z.ZodNumber>;
41
+ }, z.core.$strict>]>;
42
+ value: z.ZodString;
43
+ }, z.core.$strict>, z.ZodObject<{
44
+ type: z.ZodLiteral<"extraction_created">;
45
+ key: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strict>, z.ZodObject<{
47
+ type: z.ZodLiteral<"extraction_contains">;
48
+ key: z.ZodOptional<z.ZodString>;
49
+ value: z.ZodString;
50
+ }, z.core.$strict>, z.ZodObject<{
51
+ type: z.ZodLiteral<"tab_count">;
52
+ count: z.ZodNumber;
53
+ }, z.core.$strict>, z.ZodObject<{
54
+ type: z.ZodLiteral<"extraction_count">;
55
+ key: z.ZodOptional<z.ZodString>;
56
+ min: z.ZodNumber;
57
+ max: z.ZodOptional<z.ZodNumber>;
58
+ }, z.core.$strict>, ...(z.ZodObject<{
59
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
60
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
61
+ role: z.ZodOptional<z.ZodString>;
62
+ name: z.ZodOptional<z.ZodString>;
63
+ label: z.ZodOptional<z.ZodString>;
64
+ placeholder: z.ZodOptional<z.ZodString>;
65
+ testId: z.ZodOptional<z.ZodString>;
66
+ id: z.ZodOptional<z.ZodString>;
67
+ attributeName: z.ZodOptional<z.ZodString>;
68
+ text: z.ZodOptional<z.ZodString>;
69
+ css: z.ZodOptional<z.ZodString>;
70
+ frame: z.ZodOptional<z.ZodNumber>;
71
+ }, z.core.$strict>]>;
72
+ }, z.core.$strict> | z.ZodObject<{
73
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
74
+ value: z.ZodString;
75
+ }, z.core.$strict>)[], z.ZodObject<{
76
+ type: z.ZodLiteral<"network_response">;
77
+ value: z.ZodString;
78
+ status: z.ZodOptional<z.ZodNumber>;
79
+ }, z.core.$strict>, z.ZodObject<{
80
+ type: z.ZodLiteral<"download_created">;
81
+ value: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strict>, z.ZodObject<{
83
+ type: z.ZodLiteral<"page_changed">;
84
+ value: z.ZodString;
85
+ }, z.core.$strict>], "type">;
86
+ export type Condition = z.infer<typeof ConditionSchema>;
87
+ export declare const ActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
88
+ sensitive: z.ZodOptional<z.ZodBoolean>;
89
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
90
+ type: z.ZodLiteral<"input_value_equals">;
91
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
92
+ role: z.ZodOptional<z.ZodString>;
93
+ name: z.ZodOptional<z.ZodString>;
94
+ label: z.ZodOptional<z.ZodString>;
95
+ placeholder: z.ZodOptional<z.ZodString>;
96
+ testId: z.ZodOptional<z.ZodString>;
97
+ id: z.ZodOptional<z.ZodString>;
98
+ attributeName: z.ZodOptional<z.ZodString>;
99
+ text: z.ZodOptional<z.ZodString>;
100
+ css: z.ZodOptional<z.ZodString>;
101
+ frame: z.ZodOptional<z.ZodNumber>;
102
+ }, z.core.$strict>]>;
103
+ value: z.ZodString;
104
+ }, z.core.$strict>, z.ZodObject<{
105
+ type: z.ZodLiteral<"extraction_created">;
106
+ key: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strict>, z.ZodObject<{
108
+ type: z.ZodLiteral<"extraction_contains">;
109
+ key: z.ZodOptional<z.ZodString>;
110
+ value: z.ZodString;
111
+ }, z.core.$strict>, z.ZodObject<{
112
+ type: z.ZodLiteral<"tab_count">;
113
+ count: z.ZodNumber;
114
+ }, z.core.$strict>, z.ZodObject<{
115
+ type: z.ZodLiteral<"extraction_count">;
116
+ key: z.ZodOptional<z.ZodString>;
117
+ min: z.ZodNumber;
118
+ max: z.ZodOptional<z.ZodNumber>;
119
+ }, z.core.$strict>, ...(z.ZodObject<{
120
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
121
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
122
+ role: z.ZodOptional<z.ZodString>;
123
+ name: z.ZodOptional<z.ZodString>;
124
+ label: z.ZodOptional<z.ZodString>;
125
+ placeholder: z.ZodOptional<z.ZodString>;
126
+ testId: z.ZodOptional<z.ZodString>;
127
+ id: z.ZodOptional<z.ZodString>;
128
+ attributeName: z.ZodOptional<z.ZodString>;
129
+ text: z.ZodOptional<z.ZodString>;
130
+ css: z.ZodOptional<z.ZodString>;
131
+ frame: z.ZodOptional<z.ZodNumber>;
132
+ }, z.core.$strict>]>;
133
+ }, z.core.$strict> | z.ZodObject<{
134
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
135
+ value: z.ZodString;
136
+ }, z.core.$strict>)[], z.ZodObject<{
137
+ type: z.ZodLiteral<"network_response">;
138
+ value: z.ZodString;
139
+ status: z.ZodOptional<z.ZodNumber>;
140
+ }, z.core.$strict>, z.ZodObject<{
141
+ type: z.ZodLiteral<"download_created">;
142
+ value: z.ZodOptional<z.ZodString>;
143
+ }, z.core.$strict>, z.ZodObject<{
144
+ type: z.ZodLiteral<"page_changed">;
145
+ value: z.ZodString;
146
+ }, z.core.$strict>], "type">>>;
147
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
148
+ type: z.ZodLiteral<"switchTab">;
149
+ index: z.ZodNumber;
150
+ }, z.core.$strict>, ...(z.ZodObject<{
151
+ sensitive: z.ZodOptional<z.ZodBoolean>;
152
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
153
+ type: z.ZodLiteral<"input_value_equals">;
154
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
155
+ role: z.ZodOptional<z.ZodString>;
156
+ name: z.ZodOptional<z.ZodString>;
157
+ label: z.ZodOptional<z.ZodString>;
158
+ placeholder: z.ZodOptional<z.ZodString>;
159
+ testId: z.ZodOptional<z.ZodString>;
160
+ id: z.ZodOptional<z.ZodString>;
161
+ attributeName: z.ZodOptional<z.ZodString>;
162
+ text: z.ZodOptional<z.ZodString>;
163
+ css: z.ZodOptional<z.ZodString>;
164
+ frame: z.ZodOptional<z.ZodNumber>;
165
+ }, z.core.$strict>]>;
166
+ value: z.ZodString;
167
+ }, z.core.$strict>, z.ZodObject<{
168
+ type: z.ZodLiteral<"extraction_created">;
169
+ key: z.ZodOptional<z.ZodString>;
170
+ }, z.core.$strict>, z.ZodObject<{
171
+ type: z.ZodLiteral<"extraction_contains">;
172
+ key: z.ZodOptional<z.ZodString>;
173
+ value: z.ZodString;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ type: z.ZodLiteral<"tab_count">;
176
+ count: z.ZodNumber;
177
+ }, z.core.$strict>, z.ZodObject<{
178
+ type: z.ZodLiteral<"extraction_count">;
179
+ key: z.ZodOptional<z.ZodString>;
180
+ min: z.ZodNumber;
181
+ max: z.ZodOptional<z.ZodNumber>;
182
+ }, z.core.$strict>, ...(z.ZodObject<{
183
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
184
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
185
+ role: z.ZodOptional<z.ZodString>;
186
+ name: z.ZodOptional<z.ZodString>;
187
+ label: z.ZodOptional<z.ZodString>;
188
+ placeholder: z.ZodOptional<z.ZodString>;
189
+ testId: z.ZodOptional<z.ZodString>;
190
+ id: z.ZodOptional<z.ZodString>;
191
+ attributeName: z.ZodOptional<z.ZodString>;
192
+ text: z.ZodOptional<z.ZodString>;
193
+ css: z.ZodOptional<z.ZodString>;
194
+ frame: z.ZodOptional<z.ZodNumber>;
195
+ }, z.core.$strict>]>;
196
+ }, z.core.$strict> | z.ZodObject<{
197
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
198
+ value: z.ZodString;
199
+ }, z.core.$strict>)[], z.ZodObject<{
200
+ type: z.ZodLiteral<"network_response">;
201
+ value: z.ZodString;
202
+ status: z.ZodOptional<z.ZodNumber>;
203
+ }, z.core.$strict>, z.ZodObject<{
204
+ type: z.ZodLiteral<"download_created">;
205
+ value: z.ZodOptional<z.ZodString>;
206
+ }, z.core.$strict>, z.ZodObject<{
207
+ type: z.ZodLiteral<"page_changed">;
208
+ value: z.ZodString;
209
+ }, z.core.$strict>], "type">>>;
210
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
211
+ type: z.ZodLiteral<"check" | "click" | "doubleClick" | "hover" | "submit" | "uncheck">;
212
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
213
+ role: z.ZodOptional<z.ZodString>;
214
+ name: z.ZodOptional<z.ZodString>;
215
+ label: z.ZodOptional<z.ZodString>;
216
+ placeholder: z.ZodOptional<z.ZodString>;
217
+ testId: z.ZodOptional<z.ZodString>;
218
+ id: z.ZodOptional<z.ZodString>;
219
+ attributeName: z.ZodOptional<z.ZodString>;
220
+ text: z.ZodOptional<z.ZodString>;
221
+ css: z.ZodOptional<z.ZodString>;
222
+ frame: z.ZodOptional<z.ZodNumber>;
223
+ }, z.core.$strict>]>;
224
+ }, z.core.$strict> | z.ZodObject<{
225
+ sensitive: z.ZodOptional<z.ZodBoolean>;
226
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
227
+ type: z.ZodLiteral<"input_value_equals">;
228
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
229
+ role: z.ZodOptional<z.ZodString>;
230
+ name: z.ZodOptional<z.ZodString>;
231
+ label: z.ZodOptional<z.ZodString>;
232
+ placeholder: z.ZodOptional<z.ZodString>;
233
+ testId: z.ZodOptional<z.ZodString>;
234
+ id: z.ZodOptional<z.ZodString>;
235
+ attributeName: z.ZodOptional<z.ZodString>;
236
+ text: z.ZodOptional<z.ZodString>;
237
+ css: z.ZodOptional<z.ZodString>;
238
+ frame: z.ZodOptional<z.ZodNumber>;
239
+ }, z.core.$strict>]>;
240
+ value: z.ZodString;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ type: z.ZodLiteral<"extraction_created">;
243
+ key: z.ZodOptional<z.ZodString>;
244
+ }, z.core.$strict>, z.ZodObject<{
245
+ type: z.ZodLiteral<"extraction_contains">;
246
+ key: z.ZodOptional<z.ZodString>;
247
+ value: z.ZodString;
248
+ }, z.core.$strict>, z.ZodObject<{
249
+ type: z.ZodLiteral<"tab_count">;
250
+ count: z.ZodNumber;
251
+ }, z.core.$strict>, z.ZodObject<{
252
+ type: z.ZodLiteral<"extraction_count">;
253
+ key: z.ZodOptional<z.ZodString>;
254
+ min: z.ZodNumber;
255
+ max: z.ZodOptional<z.ZodNumber>;
256
+ }, z.core.$strict>, ...(z.ZodObject<{
257
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
258
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
259
+ role: z.ZodOptional<z.ZodString>;
260
+ name: z.ZodOptional<z.ZodString>;
261
+ label: z.ZodOptional<z.ZodString>;
262
+ placeholder: z.ZodOptional<z.ZodString>;
263
+ testId: z.ZodOptional<z.ZodString>;
264
+ id: z.ZodOptional<z.ZodString>;
265
+ attributeName: z.ZodOptional<z.ZodString>;
266
+ text: z.ZodOptional<z.ZodString>;
267
+ css: z.ZodOptional<z.ZodString>;
268
+ frame: z.ZodOptional<z.ZodNumber>;
269
+ }, z.core.$strict>]>;
270
+ }, z.core.$strict> | z.ZodObject<{
271
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
272
+ value: z.ZodString;
273
+ }, z.core.$strict>)[], z.ZodObject<{
274
+ type: z.ZodLiteral<"network_response">;
275
+ value: z.ZodString;
276
+ status: z.ZodOptional<z.ZodNumber>;
277
+ }, z.core.$strict>, z.ZodObject<{
278
+ type: z.ZodLiteral<"download_created">;
279
+ value: z.ZodOptional<z.ZodString>;
280
+ }, z.core.$strict>, z.ZodObject<{
281
+ type: z.ZodLiteral<"page_changed">;
282
+ value: z.ZodString;
283
+ }, z.core.$strict>], "type">>>;
284
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
285
+ type: z.ZodLiteral<"fill" | "press" | "select" | "type">;
286
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
287
+ role: z.ZodOptional<z.ZodString>;
288
+ name: z.ZodOptional<z.ZodString>;
289
+ label: z.ZodOptional<z.ZodString>;
290
+ placeholder: z.ZodOptional<z.ZodString>;
291
+ testId: z.ZodOptional<z.ZodString>;
292
+ id: z.ZodOptional<z.ZodString>;
293
+ attributeName: z.ZodOptional<z.ZodString>;
294
+ text: z.ZodOptional<z.ZodString>;
295
+ css: z.ZodOptional<z.ZodString>;
296
+ frame: z.ZodOptional<z.ZodNumber>;
297
+ }, z.core.$strict>]>;
298
+ value: z.ZodString;
299
+ }, z.core.$strict> | z.ZodObject<{
300
+ sensitive: z.ZodOptional<z.ZodBoolean>;
301
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
302
+ type: z.ZodLiteral<"input_value_equals">;
303
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
304
+ role: z.ZodOptional<z.ZodString>;
305
+ name: z.ZodOptional<z.ZodString>;
306
+ label: z.ZodOptional<z.ZodString>;
307
+ placeholder: z.ZodOptional<z.ZodString>;
308
+ testId: z.ZodOptional<z.ZodString>;
309
+ id: z.ZodOptional<z.ZodString>;
310
+ attributeName: z.ZodOptional<z.ZodString>;
311
+ text: z.ZodOptional<z.ZodString>;
312
+ css: z.ZodOptional<z.ZodString>;
313
+ frame: z.ZodOptional<z.ZodNumber>;
314
+ }, z.core.$strict>]>;
315
+ value: z.ZodString;
316
+ }, z.core.$strict>, z.ZodObject<{
317
+ type: z.ZodLiteral<"extraction_created">;
318
+ key: z.ZodOptional<z.ZodString>;
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ type: z.ZodLiteral<"extraction_contains">;
321
+ key: z.ZodOptional<z.ZodString>;
322
+ value: z.ZodString;
323
+ }, z.core.$strict>, z.ZodObject<{
324
+ type: z.ZodLiteral<"tab_count">;
325
+ count: z.ZodNumber;
326
+ }, z.core.$strict>, z.ZodObject<{
327
+ type: z.ZodLiteral<"extraction_count">;
328
+ key: z.ZodOptional<z.ZodString>;
329
+ min: z.ZodNumber;
330
+ max: z.ZodOptional<z.ZodNumber>;
331
+ }, z.core.$strict>, ...(z.ZodObject<{
332
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
333
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
334
+ role: z.ZodOptional<z.ZodString>;
335
+ name: z.ZodOptional<z.ZodString>;
336
+ label: z.ZodOptional<z.ZodString>;
337
+ placeholder: z.ZodOptional<z.ZodString>;
338
+ testId: z.ZodOptional<z.ZodString>;
339
+ id: z.ZodOptional<z.ZodString>;
340
+ attributeName: z.ZodOptional<z.ZodString>;
341
+ text: z.ZodOptional<z.ZodString>;
342
+ css: z.ZodOptional<z.ZodString>;
343
+ frame: z.ZodOptional<z.ZodNumber>;
344
+ }, z.core.$strict>]>;
345
+ }, z.core.$strict> | z.ZodObject<{
346
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
347
+ value: z.ZodString;
348
+ }, z.core.$strict>)[], z.ZodObject<{
349
+ type: z.ZodLiteral<"network_response">;
350
+ value: z.ZodString;
351
+ status: z.ZodOptional<z.ZodNumber>;
352
+ }, z.core.$strict>, z.ZodObject<{
353
+ type: z.ZodLiteral<"download_created">;
354
+ value: z.ZodOptional<z.ZodString>;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ type: z.ZodLiteral<"page_changed">;
357
+ value: z.ZodString;
358
+ }, z.core.$strict>], "type">>>;
359
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
360
+ type: z.ZodLiteral<"navigate" | "openTab">;
361
+ url: z.ZodString;
362
+ }, z.core.$strict> | z.ZodObject<{
363
+ sensitive: z.ZodOptional<z.ZodBoolean>;
364
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
365
+ type: z.ZodLiteral<"input_value_equals">;
366
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
367
+ role: z.ZodOptional<z.ZodString>;
368
+ name: z.ZodOptional<z.ZodString>;
369
+ label: z.ZodOptional<z.ZodString>;
370
+ placeholder: z.ZodOptional<z.ZodString>;
371
+ testId: z.ZodOptional<z.ZodString>;
372
+ id: z.ZodOptional<z.ZodString>;
373
+ attributeName: z.ZodOptional<z.ZodString>;
374
+ text: z.ZodOptional<z.ZodString>;
375
+ css: z.ZodOptional<z.ZodString>;
376
+ frame: z.ZodOptional<z.ZodNumber>;
377
+ }, z.core.$strict>]>;
378
+ value: z.ZodString;
379
+ }, z.core.$strict>, z.ZodObject<{
380
+ type: z.ZodLiteral<"extraction_created">;
381
+ key: z.ZodOptional<z.ZodString>;
382
+ }, z.core.$strict>, z.ZodObject<{
383
+ type: z.ZodLiteral<"extraction_contains">;
384
+ key: z.ZodOptional<z.ZodString>;
385
+ value: z.ZodString;
386
+ }, z.core.$strict>, z.ZodObject<{
387
+ type: z.ZodLiteral<"tab_count">;
388
+ count: z.ZodNumber;
389
+ }, z.core.$strict>, z.ZodObject<{
390
+ type: z.ZodLiteral<"extraction_count">;
391
+ key: z.ZodOptional<z.ZodString>;
392
+ min: z.ZodNumber;
393
+ max: z.ZodOptional<z.ZodNumber>;
394
+ }, z.core.$strict>, ...(z.ZodObject<{
395
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
396
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
397
+ role: z.ZodOptional<z.ZodString>;
398
+ name: z.ZodOptional<z.ZodString>;
399
+ label: z.ZodOptional<z.ZodString>;
400
+ placeholder: z.ZodOptional<z.ZodString>;
401
+ testId: z.ZodOptional<z.ZodString>;
402
+ id: z.ZodOptional<z.ZodString>;
403
+ attributeName: z.ZodOptional<z.ZodString>;
404
+ text: z.ZodOptional<z.ZodString>;
405
+ css: z.ZodOptional<z.ZodString>;
406
+ frame: z.ZodOptional<z.ZodNumber>;
407
+ }, z.core.$strict>]>;
408
+ }, z.core.$strict> | z.ZodObject<{
409
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
410
+ value: z.ZodString;
411
+ }, z.core.$strict>)[], z.ZodObject<{
412
+ type: z.ZodLiteral<"network_response">;
413
+ value: z.ZodString;
414
+ status: z.ZodOptional<z.ZodNumber>;
415
+ }, z.core.$strict>, z.ZodObject<{
416
+ type: z.ZodLiteral<"download_created">;
417
+ value: z.ZodOptional<z.ZodString>;
418
+ }, z.core.$strict>, z.ZodObject<{
419
+ type: z.ZodLiteral<"page_changed">;
420
+ value: z.ZodString;
421
+ }, z.core.$strict>], "type">>>;
422
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
423
+ type: z.ZodLiteral<"upload">;
424
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
425
+ role: z.ZodOptional<z.ZodString>;
426
+ name: z.ZodOptional<z.ZodString>;
427
+ label: z.ZodOptional<z.ZodString>;
428
+ placeholder: z.ZodOptional<z.ZodString>;
429
+ testId: z.ZodOptional<z.ZodString>;
430
+ id: z.ZodOptional<z.ZodString>;
431
+ attributeName: z.ZodOptional<z.ZodString>;
432
+ text: z.ZodOptional<z.ZodString>;
433
+ css: z.ZodOptional<z.ZodString>;
434
+ frame: z.ZodOptional<z.ZodNumber>;
435
+ }, z.core.$strict>]>;
436
+ file: z.ZodString;
437
+ }, z.core.$strict> | z.ZodObject<{
438
+ sensitive: z.ZodOptional<z.ZodBoolean>;
439
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
440
+ type: z.ZodLiteral<"input_value_equals">;
441
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
442
+ role: z.ZodOptional<z.ZodString>;
443
+ name: z.ZodOptional<z.ZodString>;
444
+ label: z.ZodOptional<z.ZodString>;
445
+ placeholder: z.ZodOptional<z.ZodString>;
446
+ testId: z.ZodOptional<z.ZodString>;
447
+ id: z.ZodOptional<z.ZodString>;
448
+ attributeName: z.ZodOptional<z.ZodString>;
449
+ text: z.ZodOptional<z.ZodString>;
450
+ css: z.ZodOptional<z.ZodString>;
451
+ frame: z.ZodOptional<z.ZodNumber>;
452
+ }, z.core.$strict>]>;
453
+ value: z.ZodString;
454
+ }, z.core.$strict>, z.ZodObject<{
455
+ type: z.ZodLiteral<"extraction_created">;
456
+ key: z.ZodOptional<z.ZodString>;
457
+ }, z.core.$strict>, z.ZodObject<{
458
+ type: z.ZodLiteral<"extraction_contains">;
459
+ key: z.ZodOptional<z.ZodString>;
460
+ value: z.ZodString;
461
+ }, z.core.$strict>, z.ZodObject<{
462
+ type: z.ZodLiteral<"tab_count">;
463
+ count: z.ZodNumber;
464
+ }, z.core.$strict>, z.ZodObject<{
465
+ type: z.ZodLiteral<"extraction_count">;
466
+ key: z.ZodOptional<z.ZodString>;
467
+ min: z.ZodNumber;
468
+ max: z.ZodOptional<z.ZodNumber>;
469
+ }, z.core.$strict>, ...(z.ZodObject<{
470
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
471
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
472
+ role: z.ZodOptional<z.ZodString>;
473
+ name: z.ZodOptional<z.ZodString>;
474
+ label: z.ZodOptional<z.ZodString>;
475
+ placeholder: z.ZodOptional<z.ZodString>;
476
+ testId: z.ZodOptional<z.ZodString>;
477
+ id: z.ZodOptional<z.ZodString>;
478
+ attributeName: z.ZodOptional<z.ZodString>;
479
+ text: z.ZodOptional<z.ZodString>;
480
+ css: z.ZodOptional<z.ZodString>;
481
+ frame: z.ZodOptional<z.ZodNumber>;
482
+ }, z.core.$strict>]>;
483
+ }, z.core.$strict> | z.ZodObject<{
484
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
485
+ value: z.ZodString;
486
+ }, z.core.$strict>)[], z.ZodObject<{
487
+ type: z.ZodLiteral<"network_response">;
488
+ value: z.ZodString;
489
+ status: z.ZodOptional<z.ZodNumber>;
490
+ }, z.core.$strict>, z.ZodObject<{
491
+ type: z.ZodLiteral<"download_created">;
492
+ value: z.ZodOptional<z.ZodString>;
493
+ }, z.core.$strict>, z.ZodObject<{
494
+ type: z.ZodLiteral<"page_changed">;
495
+ value: z.ZodString;
496
+ }, z.core.$strict>], "type">>>;
497
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
498
+ type: z.ZodLiteral<"download">;
499
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
500
+ role: z.ZodOptional<z.ZodString>;
501
+ name: z.ZodOptional<z.ZodString>;
502
+ label: z.ZodOptional<z.ZodString>;
503
+ placeholder: z.ZodOptional<z.ZodString>;
504
+ testId: z.ZodOptional<z.ZodString>;
505
+ id: z.ZodOptional<z.ZodString>;
506
+ attributeName: z.ZodOptional<z.ZodString>;
507
+ text: z.ZodOptional<z.ZodString>;
508
+ css: z.ZodOptional<z.ZodString>;
509
+ frame: z.ZodOptional<z.ZodNumber>;
510
+ }, z.core.$strict>]>;
511
+ filename: z.ZodOptional<z.ZodString>;
512
+ }, z.core.$strict> | z.ZodObject<{
513
+ sensitive: z.ZodOptional<z.ZodBoolean>;
514
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
515
+ type: z.ZodLiteral<"input_value_equals">;
516
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
517
+ role: z.ZodOptional<z.ZodString>;
518
+ name: z.ZodOptional<z.ZodString>;
519
+ label: z.ZodOptional<z.ZodString>;
520
+ placeholder: z.ZodOptional<z.ZodString>;
521
+ testId: z.ZodOptional<z.ZodString>;
522
+ id: z.ZodOptional<z.ZodString>;
523
+ attributeName: z.ZodOptional<z.ZodString>;
524
+ text: z.ZodOptional<z.ZodString>;
525
+ css: z.ZodOptional<z.ZodString>;
526
+ frame: z.ZodOptional<z.ZodNumber>;
527
+ }, z.core.$strict>]>;
528
+ value: z.ZodString;
529
+ }, z.core.$strict>, z.ZodObject<{
530
+ type: z.ZodLiteral<"extraction_created">;
531
+ key: z.ZodOptional<z.ZodString>;
532
+ }, z.core.$strict>, z.ZodObject<{
533
+ type: z.ZodLiteral<"extraction_contains">;
534
+ key: z.ZodOptional<z.ZodString>;
535
+ value: z.ZodString;
536
+ }, z.core.$strict>, z.ZodObject<{
537
+ type: z.ZodLiteral<"tab_count">;
538
+ count: z.ZodNumber;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ type: z.ZodLiteral<"extraction_count">;
541
+ key: z.ZodOptional<z.ZodString>;
542
+ min: z.ZodNumber;
543
+ max: z.ZodOptional<z.ZodNumber>;
544
+ }, z.core.$strict>, ...(z.ZodObject<{
545
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
546
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
547
+ role: z.ZodOptional<z.ZodString>;
548
+ name: z.ZodOptional<z.ZodString>;
549
+ label: z.ZodOptional<z.ZodString>;
550
+ placeholder: z.ZodOptional<z.ZodString>;
551
+ testId: z.ZodOptional<z.ZodString>;
552
+ id: z.ZodOptional<z.ZodString>;
553
+ attributeName: z.ZodOptional<z.ZodString>;
554
+ text: z.ZodOptional<z.ZodString>;
555
+ css: z.ZodOptional<z.ZodString>;
556
+ frame: z.ZodOptional<z.ZodNumber>;
557
+ }, z.core.$strict>]>;
558
+ }, z.core.$strict> | z.ZodObject<{
559
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
560
+ value: z.ZodString;
561
+ }, z.core.$strict>)[], z.ZodObject<{
562
+ type: z.ZodLiteral<"network_response">;
563
+ value: z.ZodString;
564
+ status: z.ZodOptional<z.ZodNumber>;
565
+ }, z.core.$strict>, z.ZodObject<{
566
+ type: z.ZodLiteral<"download_created">;
567
+ value: z.ZodOptional<z.ZodString>;
568
+ }, z.core.$strict>, z.ZodObject<{
569
+ type: z.ZodLiteral<"page_changed">;
570
+ value: z.ZodString;
571
+ }, z.core.$strict>], "type">>>;
572
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
573
+ type: z.ZodLiteral<"extract">;
574
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
575
+ role: z.ZodOptional<z.ZodString>;
576
+ name: z.ZodOptional<z.ZodString>;
577
+ label: z.ZodOptional<z.ZodString>;
578
+ placeholder: z.ZodOptional<z.ZodString>;
579
+ testId: z.ZodOptional<z.ZodString>;
580
+ id: z.ZodOptional<z.ZodString>;
581
+ attributeName: z.ZodOptional<z.ZodString>;
582
+ text: z.ZodOptional<z.ZodString>;
583
+ css: z.ZodOptional<z.ZodString>;
584
+ frame: z.ZodOptional<z.ZodNumber>;
585
+ }, z.core.$strict>]>>;
586
+ format: z.ZodDefault<z.ZodEnum<{
587
+ links: "links";
588
+ records: "records";
589
+ table: "table";
590
+ text: "text";
591
+ }>>;
592
+ key: z.ZodDefault<z.ZodString>;
593
+ match: z.ZodOptional<z.ZodString>;
594
+ limit: z.ZodOptional<z.ZodNumber>;
595
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
596
+ css: z.ZodString;
597
+ attribute: z.ZodDefault<z.ZodEnum<{
598
+ href: "href";
599
+ src: "src";
600
+ text: "text";
601
+ title: "title";
602
+ value: "value";
603
+ }>>;
604
+ }, z.core.$strict>>>;
605
+ }, z.core.$strict> | z.ZodObject<{
606
+ sensitive: z.ZodOptional<z.ZodBoolean>;
607
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
608
+ type: z.ZodLiteral<"input_value_equals">;
609
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
610
+ role: z.ZodOptional<z.ZodString>;
611
+ name: z.ZodOptional<z.ZodString>;
612
+ label: z.ZodOptional<z.ZodString>;
613
+ placeholder: z.ZodOptional<z.ZodString>;
614
+ testId: z.ZodOptional<z.ZodString>;
615
+ id: z.ZodOptional<z.ZodString>;
616
+ attributeName: z.ZodOptional<z.ZodString>;
617
+ text: z.ZodOptional<z.ZodString>;
618
+ css: z.ZodOptional<z.ZodString>;
619
+ frame: z.ZodOptional<z.ZodNumber>;
620
+ }, z.core.$strict>]>;
621
+ value: z.ZodString;
622
+ }, z.core.$strict>, z.ZodObject<{
623
+ type: z.ZodLiteral<"extraction_created">;
624
+ key: z.ZodOptional<z.ZodString>;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ type: z.ZodLiteral<"extraction_contains">;
627
+ key: z.ZodOptional<z.ZodString>;
628
+ value: z.ZodString;
629
+ }, z.core.$strict>, z.ZodObject<{
630
+ type: z.ZodLiteral<"tab_count">;
631
+ count: z.ZodNumber;
632
+ }, z.core.$strict>, z.ZodObject<{
633
+ type: z.ZodLiteral<"extraction_count">;
634
+ key: z.ZodOptional<z.ZodString>;
635
+ min: z.ZodNumber;
636
+ max: z.ZodOptional<z.ZodNumber>;
637
+ }, z.core.$strict>, ...(z.ZodObject<{
638
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
639
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
640
+ role: z.ZodOptional<z.ZodString>;
641
+ name: z.ZodOptional<z.ZodString>;
642
+ label: z.ZodOptional<z.ZodString>;
643
+ placeholder: z.ZodOptional<z.ZodString>;
644
+ testId: z.ZodOptional<z.ZodString>;
645
+ id: z.ZodOptional<z.ZodString>;
646
+ attributeName: z.ZodOptional<z.ZodString>;
647
+ text: z.ZodOptional<z.ZodString>;
648
+ css: z.ZodOptional<z.ZodString>;
649
+ frame: z.ZodOptional<z.ZodNumber>;
650
+ }, z.core.$strict>]>;
651
+ }, z.core.$strict> | z.ZodObject<{
652
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
653
+ value: z.ZodString;
654
+ }, z.core.$strict>)[], z.ZodObject<{
655
+ type: z.ZodLiteral<"network_response">;
656
+ value: z.ZodString;
657
+ status: z.ZodOptional<z.ZodNumber>;
658
+ }, z.core.$strict>, z.ZodObject<{
659
+ type: z.ZodLiteral<"download_created">;
660
+ value: z.ZodOptional<z.ZodString>;
661
+ }, z.core.$strict>, z.ZodObject<{
662
+ type: z.ZodLiteral<"page_changed">;
663
+ value: z.ZodString;
664
+ }, z.core.$strict>], "type">>>;
665
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
666
+ type: z.ZodLiteral<"wait">;
667
+ condition: z.ZodDiscriminatedUnion<[z.ZodObject<{
668
+ type: z.ZodLiteral<"input_value_equals">;
669
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
670
+ role: z.ZodOptional<z.ZodString>;
671
+ name: z.ZodOptional<z.ZodString>;
672
+ label: z.ZodOptional<z.ZodString>;
673
+ placeholder: z.ZodOptional<z.ZodString>;
674
+ testId: z.ZodOptional<z.ZodString>;
675
+ id: z.ZodOptional<z.ZodString>;
676
+ attributeName: z.ZodOptional<z.ZodString>;
677
+ text: z.ZodOptional<z.ZodString>;
678
+ css: z.ZodOptional<z.ZodString>;
679
+ frame: z.ZodOptional<z.ZodNumber>;
680
+ }, z.core.$strict>]>;
681
+ value: z.ZodString;
682
+ }, z.core.$strict>, z.ZodObject<{
683
+ type: z.ZodLiteral<"extraction_created">;
684
+ key: z.ZodOptional<z.ZodString>;
685
+ }, z.core.$strict>, z.ZodObject<{
686
+ type: z.ZodLiteral<"extraction_contains">;
687
+ key: z.ZodOptional<z.ZodString>;
688
+ value: z.ZodString;
689
+ }, z.core.$strict>, z.ZodObject<{
690
+ type: z.ZodLiteral<"tab_count">;
691
+ count: z.ZodNumber;
692
+ }, z.core.$strict>, z.ZodObject<{
693
+ type: z.ZodLiteral<"extraction_count">;
694
+ key: z.ZodOptional<z.ZodString>;
695
+ min: z.ZodNumber;
696
+ max: z.ZodOptional<z.ZodNumber>;
697
+ }, z.core.$strict>, ...(z.ZodObject<{
698
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
699
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
700
+ role: z.ZodOptional<z.ZodString>;
701
+ name: z.ZodOptional<z.ZodString>;
702
+ label: z.ZodOptional<z.ZodString>;
703
+ placeholder: z.ZodOptional<z.ZodString>;
704
+ testId: z.ZodOptional<z.ZodString>;
705
+ id: z.ZodOptional<z.ZodString>;
706
+ attributeName: z.ZodOptional<z.ZodString>;
707
+ text: z.ZodOptional<z.ZodString>;
708
+ css: z.ZodOptional<z.ZodString>;
709
+ frame: z.ZodOptional<z.ZodNumber>;
710
+ }, z.core.$strict>]>;
711
+ }, z.core.$strict> | z.ZodObject<{
712
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
713
+ value: z.ZodString;
714
+ }, z.core.$strict>)[], z.ZodObject<{
715
+ type: z.ZodLiteral<"network_response">;
716
+ value: z.ZodString;
717
+ status: z.ZodOptional<z.ZodNumber>;
718
+ }, z.core.$strict>, z.ZodObject<{
719
+ type: z.ZodLiteral<"download_created">;
720
+ value: z.ZodOptional<z.ZodString>;
721
+ }, z.core.$strict>, z.ZodObject<{
722
+ type: z.ZodLiteral<"page_changed">;
723
+ value: z.ZodString;
724
+ }, z.core.$strict>], "type">;
725
+ }, z.core.$strict> | z.ZodObject<{
726
+ sensitive: z.ZodOptional<z.ZodBoolean>;
727
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
728
+ type: z.ZodLiteral<"input_value_equals">;
729
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
730
+ role: z.ZodOptional<z.ZodString>;
731
+ name: z.ZodOptional<z.ZodString>;
732
+ label: z.ZodOptional<z.ZodString>;
733
+ placeholder: z.ZodOptional<z.ZodString>;
734
+ testId: z.ZodOptional<z.ZodString>;
735
+ id: z.ZodOptional<z.ZodString>;
736
+ attributeName: z.ZodOptional<z.ZodString>;
737
+ text: z.ZodOptional<z.ZodString>;
738
+ css: z.ZodOptional<z.ZodString>;
739
+ frame: z.ZodOptional<z.ZodNumber>;
740
+ }, z.core.$strict>]>;
741
+ value: z.ZodString;
742
+ }, z.core.$strict>, z.ZodObject<{
743
+ type: z.ZodLiteral<"extraction_created">;
744
+ key: z.ZodOptional<z.ZodString>;
745
+ }, z.core.$strict>, z.ZodObject<{
746
+ type: z.ZodLiteral<"extraction_contains">;
747
+ key: z.ZodOptional<z.ZodString>;
748
+ value: z.ZodString;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ type: z.ZodLiteral<"tab_count">;
751
+ count: z.ZodNumber;
752
+ }, z.core.$strict>, z.ZodObject<{
753
+ type: z.ZodLiteral<"extraction_count">;
754
+ key: z.ZodOptional<z.ZodString>;
755
+ min: z.ZodNumber;
756
+ max: z.ZodOptional<z.ZodNumber>;
757
+ }, z.core.$strict>, ...(z.ZodObject<{
758
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
759
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
760
+ role: z.ZodOptional<z.ZodString>;
761
+ name: z.ZodOptional<z.ZodString>;
762
+ label: z.ZodOptional<z.ZodString>;
763
+ placeholder: z.ZodOptional<z.ZodString>;
764
+ testId: z.ZodOptional<z.ZodString>;
765
+ id: z.ZodOptional<z.ZodString>;
766
+ attributeName: z.ZodOptional<z.ZodString>;
767
+ text: z.ZodOptional<z.ZodString>;
768
+ css: z.ZodOptional<z.ZodString>;
769
+ frame: z.ZodOptional<z.ZodNumber>;
770
+ }, z.core.$strict>]>;
771
+ }, z.core.$strict> | z.ZodObject<{
772
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
773
+ value: z.ZodString;
774
+ }, z.core.$strict>)[], z.ZodObject<{
775
+ type: z.ZodLiteral<"network_response">;
776
+ value: z.ZodString;
777
+ status: z.ZodOptional<z.ZodNumber>;
778
+ }, z.core.$strict>, z.ZodObject<{
779
+ type: z.ZodLiteral<"download_created">;
780
+ value: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strict>, z.ZodObject<{
782
+ type: z.ZodLiteral<"page_changed">;
783
+ value: z.ZodString;
784
+ }, z.core.$strict>], "type">>>;
785
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
786
+ type: z.ZodLiteral<"scroll">;
787
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
788
+ role: z.ZodOptional<z.ZodString>;
789
+ name: z.ZodOptional<z.ZodString>;
790
+ label: z.ZodOptional<z.ZodString>;
791
+ placeholder: z.ZodOptional<z.ZodString>;
792
+ testId: z.ZodOptional<z.ZodString>;
793
+ id: z.ZodOptional<z.ZodString>;
794
+ attributeName: z.ZodOptional<z.ZodString>;
795
+ text: z.ZodOptional<z.ZodString>;
796
+ css: z.ZodOptional<z.ZodString>;
797
+ frame: z.ZodOptional<z.ZodNumber>;
798
+ }, z.core.$strict>]>>;
799
+ direction: z.ZodDefault<z.ZodEnum<{
800
+ down: "down";
801
+ up: "up";
802
+ }>>;
803
+ pixels: z.ZodDefault<z.ZodNumber>;
804
+ }, z.core.$strict> | z.ZodObject<{
805
+ sensitive: z.ZodOptional<z.ZodBoolean>;
806
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
807
+ type: z.ZodLiteral<"input_value_equals">;
808
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
809
+ role: z.ZodOptional<z.ZodString>;
810
+ name: z.ZodOptional<z.ZodString>;
811
+ label: z.ZodOptional<z.ZodString>;
812
+ placeholder: z.ZodOptional<z.ZodString>;
813
+ testId: z.ZodOptional<z.ZodString>;
814
+ id: z.ZodOptional<z.ZodString>;
815
+ attributeName: z.ZodOptional<z.ZodString>;
816
+ text: z.ZodOptional<z.ZodString>;
817
+ css: z.ZodOptional<z.ZodString>;
818
+ frame: z.ZodOptional<z.ZodNumber>;
819
+ }, z.core.$strict>]>;
820
+ value: z.ZodString;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ type: z.ZodLiteral<"extraction_created">;
823
+ key: z.ZodOptional<z.ZodString>;
824
+ }, z.core.$strict>, z.ZodObject<{
825
+ type: z.ZodLiteral<"extraction_contains">;
826
+ key: z.ZodOptional<z.ZodString>;
827
+ value: z.ZodString;
828
+ }, z.core.$strict>, z.ZodObject<{
829
+ type: z.ZodLiteral<"tab_count">;
830
+ count: z.ZodNumber;
831
+ }, z.core.$strict>, z.ZodObject<{
832
+ type: z.ZodLiteral<"extraction_count">;
833
+ key: z.ZodOptional<z.ZodString>;
834
+ min: z.ZodNumber;
835
+ max: z.ZodOptional<z.ZodNumber>;
836
+ }, z.core.$strict>, ...(z.ZodObject<{
837
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
838
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
839
+ role: z.ZodOptional<z.ZodString>;
840
+ name: z.ZodOptional<z.ZodString>;
841
+ label: z.ZodOptional<z.ZodString>;
842
+ placeholder: z.ZodOptional<z.ZodString>;
843
+ testId: z.ZodOptional<z.ZodString>;
844
+ id: z.ZodOptional<z.ZodString>;
845
+ attributeName: z.ZodOptional<z.ZodString>;
846
+ text: z.ZodOptional<z.ZodString>;
847
+ css: z.ZodOptional<z.ZodString>;
848
+ frame: z.ZodOptional<z.ZodNumber>;
849
+ }, z.core.$strict>]>;
850
+ }, z.core.$strict> | z.ZodObject<{
851
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
852
+ value: z.ZodString;
853
+ }, z.core.$strict>)[], z.ZodObject<{
854
+ type: z.ZodLiteral<"network_response">;
855
+ value: z.ZodString;
856
+ status: z.ZodOptional<z.ZodNumber>;
857
+ }, z.core.$strict>, z.ZodObject<{
858
+ type: z.ZodLiteral<"download_created">;
859
+ value: z.ZodOptional<z.ZodString>;
860
+ }, z.core.$strict>, z.ZodObject<{
861
+ type: z.ZodLiteral<"page_changed">;
862
+ value: z.ZodString;
863
+ }, z.core.$strict>], "type">>>;
864
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
865
+ type: z.ZodLiteral<"back" | "closeTab" | "forward" | "reload">;
866
+ }, z.core.$strict>)[]], "type">;
867
+ export type Action = z.infer<typeof ActionSchema>;
868
+ export declare const PlanSchema: z.ZodObject<{
869
+ goal: z.ZodString;
870
+ steps: z.ZodArray<z.ZodString>;
871
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
872
+ sensitive: z.ZodOptional<z.ZodBoolean>;
873
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
874
+ type: z.ZodLiteral<"input_value_equals">;
875
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
876
+ role: z.ZodOptional<z.ZodString>;
877
+ name: z.ZodOptional<z.ZodString>;
878
+ label: z.ZodOptional<z.ZodString>;
879
+ placeholder: z.ZodOptional<z.ZodString>;
880
+ testId: z.ZodOptional<z.ZodString>;
881
+ id: z.ZodOptional<z.ZodString>;
882
+ attributeName: z.ZodOptional<z.ZodString>;
883
+ text: z.ZodOptional<z.ZodString>;
884
+ css: z.ZodOptional<z.ZodString>;
885
+ frame: z.ZodOptional<z.ZodNumber>;
886
+ }, z.core.$strict>]>;
887
+ value: z.ZodString;
888
+ }, z.core.$strict>, z.ZodObject<{
889
+ type: z.ZodLiteral<"extraction_created">;
890
+ key: z.ZodOptional<z.ZodString>;
891
+ }, z.core.$strict>, z.ZodObject<{
892
+ type: z.ZodLiteral<"extraction_contains">;
893
+ key: z.ZodOptional<z.ZodString>;
894
+ value: z.ZodString;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ type: z.ZodLiteral<"tab_count">;
897
+ count: z.ZodNumber;
898
+ }, z.core.$strict>, z.ZodObject<{
899
+ type: z.ZodLiteral<"extraction_count">;
900
+ key: z.ZodOptional<z.ZodString>;
901
+ min: z.ZodNumber;
902
+ max: z.ZodOptional<z.ZodNumber>;
903
+ }, z.core.$strict>, ...(z.ZodObject<{
904
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
905
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
906
+ role: z.ZodOptional<z.ZodString>;
907
+ name: z.ZodOptional<z.ZodString>;
908
+ label: z.ZodOptional<z.ZodString>;
909
+ placeholder: z.ZodOptional<z.ZodString>;
910
+ testId: z.ZodOptional<z.ZodString>;
911
+ id: z.ZodOptional<z.ZodString>;
912
+ attributeName: z.ZodOptional<z.ZodString>;
913
+ text: z.ZodOptional<z.ZodString>;
914
+ css: z.ZodOptional<z.ZodString>;
915
+ frame: z.ZodOptional<z.ZodNumber>;
916
+ }, z.core.$strict>]>;
917
+ }, z.core.$strict> | z.ZodObject<{
918
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
919
+ value: z.ZodString;
920
+ }, z.core.$strict>)[], z.ZodObject<{
921
+ type: z.ZodLiteral<"network_response">;
922
+ value: z.ZodString;
923
+ status: z.ZodOptional<z.ZodNumber>;
924
+ }, z.core.$strict>, z.ZodObject<{
925
+ type: z.ZodLiteral<"download_created">;
926
+ value: z.ZodOptional<z.ZodString>;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ type: z.ZodLiteral<"page_changed">;
929
+ value: z.ZodString;
930
+ }, z.core.$strict>], "type">>>;
931
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
932
+ type: z.ZodLiteral<"switchTab">;
933
+ index: z.ZodNumber;
934
+ }, z.core.$strict>, ...(z.ZodObject<{
935
+ sensitive: z.ZodOptional<z.ZodBoolean>;
936
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
937
+ type: z.ZodLiteral<"input_value_equals">;
938
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
939
+ role: z.ZodOptional<z.ZodString>;
940
+ name: z.ZodOptional<z.ZodString>;
941
+ label: z.ZodOptional<z.ZodString>;
942
+ placeholder: z.ZodOptional<z.ZodString>;
943
+ testId: z.ZodOptional<z.ZodString>;
944
+ id: z.ZodOptional<z.ZodString>;
945
+ attributeName: z.ZodOptional<z.ZodString>;
946
+ text: z.ZodOptional<z.ZodString>;
947
+ css: z.ZodOptional<z.ZodString>;
948
+ frame: z.ZodOptional<z.ZodNumber>;
949
+ }, z.core.$strict>]>;
950
+ value: z.ZodString;
951
+ }, z.core.$strict>, z.ZodObject<{
952
+ type: z.ZodLiteral<"extraction_created">;
953
+ key: z.ZodOptional<z.ZodString>;
954
+ }, z.core.$strict>, z.ZodObject<{
955
+ type: z.ZodLiteral<"extraction_contains">;
956
+ key: z.ZodOptional<z.ZodString>;
957
+ value: z.ZodString;
958
+ }, z.core.$strict>, z.ZodObject<{
959
+ type: z.ZodLiteral<"tab_count">;
960
+ count: z.ZodNumber;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ type: z.ZodLiteral<"extraction_count">;
963
+ key: z.ZodOptional<z.ZodString>;
964
+ min: z.ZodNumber;
965
+ max: z.ZodOptional<z.ZodNumber>;
966
+ }, z.core.$strict>, ...(z.ZodObject<{
967
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
968
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
969
+ role: z.ZodOptional<z.ZodString>;
970
+ name: z.ZodOptional<z.ZodString>;
971
+ label: z.ZodOptional<z.ZodString>;
972
+ placeholder: z.ZodOptional<z.ZodString>;
973
+ testId: z.ZodOptional<z.ZodString>;
974
+ id: z.ZodOptional<z.ZodString>;
975
+ attributeName: z.ZodOptional<z.ZodString>;
976
+ text: z.ZodOptional<z.ZodString>;
977
+ css: z.ZodOptional<z.ZodString>;
978
+ frame: z.ZodOptional<z.ZodNumber>;
979
+ }, z.core.$strict>]>;
980
+ }, z.core.$strict> | z.ZodObject<{
981
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
982
+ value: z.ZodString;
983
+ }, z.core.$strict>)[], z.ZodObject<{
984
+ type: z.ZodLiteral<"network_response">;
985
+ value: z.ZodString;
986
+ status: z.ZodOptional<z.ZodNumber>;
987
+ }, z.core.$strict>, z.ZodObject<{
988
+ type: z.ZodLiteral<"download_created">;
989
+ value: z.ZodOptional<z.ZodString>;
990
+ }, z.core.$strict>, z.ZodObject<{
991
+ type: z.ZodLiteral<"page_changed">;
992
+ value: z.ZodString;
993
+ }, z.core.$strict>], "type">>>;
994
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
995
+ type: z.ZodLiteral<"check" | "click" | "doubleClick" | "hover" | "submit" | "uncheck">;
996
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
997
+ role: z.ZodOptional<z.ZodString>;
998
+ name: z.ZodOptional<z.ZodString>;
999
+ label: z.ZodOptional<z.ZodString>;
1000
+ placeholder: z.ZodOptional<z.ZodString>;
1001
+ testId: z.ZodOptional<z.ZodString>;
1002
+ id: z.ZodOptional<z.ZodString>;
1003
+ attributeName: z.ZodOptional<z.ZodString>;
1004
+ text: z.ZodOptional<z.ZodString>;
1005
+ css: z.ZodOptional<z.ZodString>;
1006
+ frame: z.ZodOptional<z.ZodNumber>;
1007
+ }, z.core.$strict>]>;
1008
+ }, z.core.$strict> | z.ZodObject<{
1009
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1010
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1011
+ type: z.ZodLiteral<"input_value_equals">;
1012
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1013
+ role: z.ZodOptional<z.ZodString>;
1014
+ name: z.ZodOptional<z.ZodString>;
1015
+ label: z.ZodOptional<z.ZodString>;
1016
+ placeholder: z.ZodOptional<z.ZodString>;
1017
+ testId: z.ZodOptional<z.ZodString>;
1018
+ id: z.ZodOptional<z.ZodString>;
1019
+ attributeName: z.ZodOptional<z.ZodString>;
1020
+ text: z.ZodOptional<z.ZodString>;
1021
+ css: z.ZodOptional<z.ZodString>;
1022
+ frame: z.ZodOptional<z.ZodNumber>;
1023
+ }, z.core.$strict>]>;
1024
+ value: z.ZodString;
1025
+ }, z.core.$strict>, z.ZodObject<{
1026
+ type: z.ZodLiteral<"extraction_created">;
1027
+ key: z.ZodOptional<z.ZodString>;
1028
+ }, z.core.$strict>, z.ZodObject<{
1029
+ type: z.ZodLiteral<"extraction_contains">;
1030
+ key: z.ZodOptional<z.ZodString>;
1031
+ value: z.ZodString;
1032
+ }, z.core.$strict>, z.ZodObject<{
1033
+ type: z.ZodLiteral<"tab_count">;
1034
+ count: z.ZodNumber;
1035
+ }, z.core.$strict>, z.ZodObject<{
1036
+ type: z.ZodLiteral<"extraction_count">;
1037
+ key: z.ZodOptional<z.ZodString>;
1038
+ min: z.ZodNumber;
1039
+ max: z.ZodOptional<z.ZodNumber>;
1040
+ }, z.core.$strict>, ...(z.ZodObject<{
1041
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1042
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1043
+ role: z.ZodOptional<z.ZodString>;
1044
+ name: z.ZodOptional<z.ZodString>;
1045
+ label: z.ZodOptional<z.ZodString>;
1046
+ placeholder: z.ZodOptional<z.ZodString>;
1047
+ testId: z.ZodOptional<z.ZodString>;
1048
+ id: z.ZodOptional<z.ZodString>;
1049
+ attributeName: z.ZodOptional<z.ZodString>;
1050
+ text: z.ZodOptional<z.ZodString>;
1051
+ css: z.ZodOptional<z.ZodString>;
1052
+ frame: z.ZodOptional<z.ZodNumber>;
1053
+ }, z.core.$strict>]>;
1054
+ }, z.core.$strict> | z.ZodObject<{
1055
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1056
+ value: z.ZodString;
1057
+ }, z.core.$strict>)[], z.ZodObject<{
1058
+ type: z.ZodLiteral<"network_response">;
1059
+ value: z.ZodString;
1060
+ status: z.ZodOptional<z.ZodNumber>;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ type: z.ZodLiteral<"download_created">;
1063
+ value: z.ZodOptional<z.ZodString>;
1064
+ }, z.core.$strict>, z.ZodObject<{
1065
+ type: z.ZodLiteral<"page_changed">;
1066
+ value: z.ZodString;
1067
+ }, z.core.$strict>], "type">>>;
1068
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1069
+ type: z.ZodLiteral<"fill" | "press" | "select" | "type">;
1070
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1071
+ role: z.ZodOptional<z.ZodString>;
1072
+ name: z.ZodOptional<z.ZodString>;
1073
+ label: z.ZodOptional<z.ZodString>;
1074
+ placeholder: z.ZodOptional<z.ZodString>;
1075
+ testId: z.ZodOptional<z.ZodString>;
1076
+ id: z.ZodOptional<z.ZodString>;
1077
+ attributeName: z.ZodOptional<z.ZodString>;
1078
+ text: z.ZodOptional<z.ZodString>;
1079
+ css: z.ZodOptional<z.ZodString>;
1080
+ frame: z.ZodOptional<z.ZodNumber>;
1081
+ }, z.core.$strict>]>;
1082
+ value: z.ZodString;
1083
+ }, z.core.$strict> | z.ZodObject<{
1084
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1085
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1086
+ type: z.ZodLiteral<"input_value_equals">;
1087
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1088
+ role: z.ZodOptional<z.ZodString>;
1089
+ name: z.ZodOptional<z.ZodString>;
1090
+ label: z.ZodOptional<z.ZodString>;
1091
+ placeholder: z.ZodOptional<z.ZodString>;
1092
+ testId: z.ZodOptional<z.ZodString>;
1093
+ id: z.ZodOptional<z.ZodString>;
1094
+ attributeName: z.ZodOptional<z.ZodString>;
1095
+ text: z.ZodOptional<z.ZodString>;
1096
+ css: z.ZodOptional<z.ZodString>;
1097
+ frame: z.ZodOptional<z.ZodNumber>;
1098
+ }, z.core.$strict>]>;
1099
+ value: z.ZodString;
1100
+ }, z.core.$strict>, z.ZodObject<{
1101
+ type: z.ZodLiteral<"extraction_created">;
1102
+ key: z.ZodOptional<z.ZodString>;
1103
+ }, z.core.$strict>, z.ZodObject<{
1104
+ type: z.ZodLiteral<"extraction_contains">;
1105
+ key: z.ZodOptional<z.ZodString>;
1106
+ value: z.ZodString;
1107
+ }, z.core.$strict>, z.ZodObject<{
1108
+ type: z.ZodLiteral<"tab_count">;
1109
+ count: z.ZodNumber;
1110
+ }, z.core.$strict>, z.ZodObject<{
1111
+ type: z.ZodLiteral<"extraction_count">;
1112
+ key: z.ZodOptional<z.ZodString>;
1113
+ min: z.ZodNumber;
1114
+ max: z.ZodOptional<z.ZodNumber>;
1115
+ }, z.core.$strict>, ...(z.ZodObject<{
1116
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1117
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1118
+ role: z.ZodOptional<z.ZodString>;
1119
+ name: z.ZodOptional<z.ZodString>;
1120
+ label: z.ZodOptional<z.ZodString>;
1121
+ placeholder: z.ZodOptional<z.ZodString>;
1122
+ testId: z.ZodOptional<z.ZodString>;
1123
+ id: z.ZodOptional<z.ZodString>;
1124
+ attributeName: z.ZodOptional<z.ZodString>;
1125
+ text: z.ZodOptional<z.ZodString>;
1126
+ css: z.ZodOptional<z.ZodString>;
1127
+ frame: z.ZodOptional<z.ZodNumber>;
1128
+ }, z.core.$strict>]>;
1129
+ }, z.core.$strict> | z.ZodObject<{
1130
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1131
+ value: z.ZodString;
1132
+ }, z.core.$strict>)[], z.ZodObject<{
1133
+ type: z.ZodLiteral<"network_response">;
1134
+ value: z.ZodString;
1135
+ status: z.ZodOptional<z.ZodNumber>;
1136
+ }, z.core.$strict>, z.ZodObject<{
1137
+ type: z.ZodLiteral<"download_created">;
1138
+ value: z.ZodOptional<z.ZodString>;
1139
+ }, z.core.$strict>, z.ZodObject<{
1140
+ type: z.ZodLiteral<"page_changed">;
1141
+ value: z.ZodString;
1142
+ }, z.core.$strict>], "type">>>;
1143
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1144
+ type: z.ZodLiteral<"navigate" | "openTab">;
1145
+ url: z.ZodString;
1146
+ }, z.core.$strict> | z.ZodObject<{
1147
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1148
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1149
+ type: z.ZodLiteral<"input_value_equals">;
1150
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1151
+ role: z.ZodOptional<z.ZodString>;
1152
+ name: z.ZodOptional<z.ZodString>;
1153
+ label: z.ZodOptional<z.ZodString>;
1154
+ placeholder: z.ZodOptional<z.ZodString>;
1155
+ testId: z.ZodOptional<z.ZodString>;
1156
+ id: z.ZodOptional<z.ZodString>;
1157
+ attributeName: z.ZodOptional<z.ZodString>;
1158
+ text: z.ZodOptional<z.ZodString>;
1159
+ css: z.ZodOptional<z.ZodString>;
1160
+ frame: z.ZodOptional<z.ZodNumber>;
1161
+ }, z.core.$strict>]>;
1162
+ value: z.ZodString;
1163
+ }, z.core.$strict>, z.ZodObject<{
1164
+ type: z.ZodLiteral<"extraction_created">;
1165
+ key: z.ZodOptional<z.ZodString>;
1166
+ }, z.core.$strict>, z.ZodObject<{
1167
+ type: z.ZodLiteral<"extraction_contains">;
1168
+ key: z.ZodOptional<z.ZodString>;
1169
+ value: z.ZodString;
1170
+ }, z.core.$strict>, z.ZodObject<{
1171
+ type: z.ZodLiteral<"tab_count">;
1172
+ count: z.ZodNumber;
1173
+ }, z.core.$strict>, z.ZodObject<{
1174
+ type: z.ZodLiteral<"extraction_count">;
1175
+ key: z.ZodOptional<z.ZodString>;
1176
+ min: z.ZodNumber;
1177
+ max: z.ZodOptional<z.ZodNumber>;
1178
+ }, z.core.$strict>, ...(z.ZodObject<{
1179
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1180
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1181
+ role: z.ZodOptional<z.ZodString>;
1182
+ name: z.ZodOptional<z.ZodString>;
1183
+ label: z.ZodOptional<z.ZodString>;
1184
+ placeholder: z.ZodOptional<z.ZodString>;
1185
+ testId: z.ZodOptional<z.ZodString>;
1186
+ id: z.ZodOptional<z.ZodString>;
1187
+ attributeName: z.ZodOptional<z.ZodString>;
1188
+ text: z.ZodOptional<z.ZodString>;
1189
+ css: z.ZodOptional<z.ZodString>;
1190
+ frame: z.ZodOptional<z.ZodNumber>;
1191
+ }, z.core.$strict>]>;
1192
+ }, z.core.$strict> | z.ZodObject<{
1193
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1194
+ value: z.ZodString;
1195
+ }, z.core.$strict>)[], z.ZodObject<{
1196
+ type: z.ZodLiteral<"network_response">;
1197
+ value: z.ZodString;
1198
+ status: z.ZodOptional<z.ZodNumber>;
1199
+ }, z.core.$strict>, z.ZodObject<{
1200
+ type: z.ZodLiteral<"download_created">;
1201
+ value: z.ZodOptional<z.ZodString>;
1202
+ }, z.core.$strict>, z.ZodObject<{
1203
+ type: z.ZodLiteral<"page_changed">;
1204
+ value: z.ZodString;
1205
+ }, z.core.$strict>], "type">>>;
1206
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1207
+ type: z.ZodLiteral<"upload">;
1208
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1209
+ role: z.ZodOptional<z.ZodString>;
1210
+ name: z.ZodOptional<z.ZodString>;
1211
+ label: z.ZodOptional<z.ZodString>;
1212
+ placeholder: z.ZodOptional<z.ZodString>;
1213
+ testId: z.ZodOptional<z.ZodString>;
1214
+ id: z.ZodOptional<z.ZodString>;
1215
+ attributeName: z.ZodOptional<z.ZodString>;
1216
+ text: z.ZodOptional<z.ZodString>;
1217
+ css: z.ZodOptional<z.ZodString>;
1218
+ frame: z.ZodOptional<z.ZodNumber>;
1219
+ }, z.core.$strict>]>;
1220
+ file: z.ZodString;
1221
+ }, z.core.$strict> | z.ZodObject<{
1222
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1223
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1224
+ type: z.ZodLiteral<"input_value_equals">;
1225
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1226
+ role: z.ZodOptional<z.ZodString>;
1227
+ name: z.ZodOptional<z.ZodString>;
1228
+ label: z.ZodOptional<z.ZodString>;
1229
+ placeholder: z.ZodOptional<z.ZodString>;
1230
+ testId: z.ZodOptional<z.ZodString>;
1231
+ id: z.ZodOptional<z.ZodString>;
1232
+ attributeName: z.ZodOptional<z.ZodString>;
1233
+ text: z.ZodOptional<z.ZodString>;
1234
+ css: z.ZodOptional<z.ZodString>;
1235
+ frame: z.ZodOptional<z.ZodNumber>;
1236
+ }, z.core.$strict>]>;
1237
+ value: z.ZodString;
1238
+ }, z.core.$strict>, z.ZodObject<{
1239
+ type: z.ZodLiteral<"extraction_created">;
1240
+ key: z.ZodOptional<z.ZodString>;
1241
+ }, z.core.$strict>, z.ZodObject<{
1242
+ type: z.ZodLiteral<"extraction_contains">;
1243
+ key: z.ZodOptional<z.ZodString>;
1244
+ value: z.ZodString;
1245
+ }, z.core.$strict>, z.ZodObject<{
1246
+ type: z.ZodLiteral<"tab_count">;
1247
+ count: z.ZodNumber;
1248
+ }, z.core.$strict>, z.ZodObject<{
1249
+ type: z.ZodLiteral<"extraction_count">;
1250
+ key: z.ZodOptional<z.ZodString>;
1251
+ min: z.ZodNumber;
1252
+ max: z.ZodOptional<z.ZodNumber>;
1253
+ }, z.core.$strict>, ...(z.ZodObject<{
1254
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1255
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1256
+ role: z.ZodOptional<z.ZodString>;
1257
+ name: z.ZodOptional<z.ZodString>;
1258
+ label: z.ZodOptional<z.ZodString>;
1259
+ placeholder: z.ZodOptional<z.ZodString>;
1260
+ testId: z.ZodOptional<z.ZodString>;
1261
+ id: z.ZodOptional<z.ZodString>;
1262
+ attributeName: z.ZodOptional<z.ZodString>;
1263
+ text: z.ZodOptional<z.ZodString>;
1264
+ css: z.ZodOptional<z.ZodString>;
1265
+ frame: z.ZodOptional<z.ZodNumber>;
1266
+ }, z.core.$strict>]>;
1267
+ }, z.core.$strict> | z.ZodObject<{
1268
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1269
+ value: z.ZodString;
1270
+ }, z.core.$strict>)[], z.ZodObject<{
1271
+ type: z.ZodLiteral<"network_response">;
1272
+ value: z.ZodString;
1273
+ status: z.ZodOptional<z.ZodNumber>;
1274
+ }, z.core.$strict>, z.ZodObject<{
1275
+ type: z.ZodLiteral<"download_created">;
1276
+ value: z.ZodOptional<z.ZodString>;
1277
+ }, z.core.$strict>, z.ZodObject<{
1278
+ type: z.ZodLiteral<"page_changed">;
1279
+ value: z.ZodString;
1280
+ }, z.core.$strict>], "type">>>;
1281
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1282
+ type: z.ZodLiteral<"download">;
1283
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1284
+ role: z.ZodOptional<z.ZodString>;
1285
+ name: z.ZodOptional<z.ZodString>;
1286
+ label: z.ZodOptional<z.ZodString>;
1287
+ placeholder: z.ZodOptional<z.ZodString>;
1288
+ testId: z.ZodOptional<z.ZodString>;
1289
+ id: z.ZodOptional<z.ZodString>;
1290
+ attributeName: z.ZodOptional<z.ZodString>;
1291
+ text: z.ZodOptional<z.ZodString>;
1292
+ css: z.ZodOptional<z.ZodString>;
1293
+ frame: z.ZodOptional<z.ZodNumber>;
1294
+ }, z.core.$strict>]>;
1295
+ filename: z.ZodOptional<z.ZodString>;
1296
+ }, z.core.$strict> | z.ZodObject<{
1297
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1298
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1299
+ type: z.ZodLiteral<"input_value_equals">;
1300
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1301
+ role: z.ZodOptional<z.ZodString>;
1302
+ name: z.ZodOptional<z.ZodString>;
1303
+ label: z.ZodOptional<z.ZodString>;
1304
+ placeholder: z.ZodOptional<z.ZodString>;
1305
+ testId: z.ZodOptional<z.ZodString>;
1306
+ id: z.ZodOptional<z.ZodString>;
1307
+ attributeName: z.ZodOptional<z.ZodString>;
1308
+ text: z.ZodOptional<z.ZodString>;
1309
+ css: z.ZodOptional<z.ZodString>;
1310
+ frame: z.ZodOptional<z.ZodNumber>;
1311
+ }, z.core.$strict>]>;
1312
+ value: z.ZodString;
1313
+ }, z.core.$strict>, z.ZodObject<{
1314
+ type: z.ZodLiteral<"extraction_created">;
1315
+ key: z.ZodOptional<z.ZodString>;
1316
+ }, z.core.$strict>, z.ZodObject<{
1317
+ type: z.ZodLiteral<"extraction_contains">;
1318
+ key: z.ZodOptional<z.ZodString>;
1319
+ value: z.ZodString;
1320
+ }, z.core.$strict>, z.ZodObject<{
1321
+ type: z.ZodLiteral<"tab_count">;
1322
+ count: z.ZodNumber;
1323
+ }, z.core.$strict>, z.ZodObject<{
1324
+ type: z.ZodLiteral<"extraction_count">;
1325
+ key: z.ZodOptional<z.ZodString>;
1326
+ min: z.ZodNumber;
1327
+ max: z.ZodOptional<z.ZodNumber>;
1328
+ }, z.core.$strict>, ...(z.ZodObject<{
1329
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1330
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1331
+ role: z.ZodOptional<z.ZodString>;
1332
+ name: z.ZodOptional<z.ZodString>;
1333
+ label: z.ZodOptional<z.ZodString>;
1334
+ placeholder: z.ZodOptional<z.ZodString>;
1335
+ testId: z.ZodOptional<z.ZodString>;
1336
+ id: z.ZodOptional<z.ZodString>;
1337
+ attributeName: z.ZodOptional<z.ZodString>;
1338
+ text: z.ZodOptional<z.ZodString>;
1339
+ css: z.ZodOptional<z.ZodString>;
1340
+ frame: z.ZodOptional<z.ZodNumber>;
1341
+ }, z.core.$strict>]>;
1342
+ }, z.core.$strict> | z.ZodObject<{
1343
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1344
+ value: z.ZodString;
1345
+ }, z.core.$strict>)[], z.ZodObject<{
1346
+ type: z.ZodLiteral<"network_response">;
1347
+ value: z.ZodString;
1348
+ status: z.ZodOptional<z.ZodNumber>;
1349
+ }, z.core.$strict>, z.ZodObject<{
1350
+ type: z.ZodLiteral<"download_created">;
1351
+ value: z.ZodOptional<z.ZodString>;
1352
+ }, z.core.$strict>, z.ZodObject<{
1353
+ type: z.ZodLiteral<"page_changed">;
1354
+ value: z.ZodString;
1355
+ }, z.core.$strict>], "type">>>;
1356
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1357
+ type: z.ZodLiteral<"extract">;
1358
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1359
+ role: z.ZodOptional<z.ZodString>;
1360
+ name: z.ZodOptional<z.ZodString>;
1361
+ label: z.ZodOptional<z.ZodString>;
1362
+ placeholder: z.ZodOptional<z.ZodString>;
1363
+ testId: z.ZodOptional<z.ZodString>;
1364
+ id: z.ZodOptional<z.ZodString>;
1365
+ attributeName: z.ZodOptional<z.ZodString>;
1366
+ text: z.ZodOptional<z.ZodString>;
1367
+ css: z.ZodOptional<z.ZodString>;
1368
+ frame: z.ZodOptional<z.ZodNumber>;
1369
+ }, z.core.$strict>]>>;
1370
+ format: z.ZodDefault<z.ZodEnum<{
1371
+ links: "links";
1372
+ records: "records";
1373
+ table: "table";
1374
+ text: "text";
1375
+ }>>;
1376
+ key: z.ZodDefault<z.ZodString>;
1377
+ match: z.ZodOptional<z.ZodString>;
1378
+ limit: z.ZodOptional<z.ZodNumber>;
1379
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1380
+ css: z.ZodString;
1381
+ attribute: z.ZodDefault<z.ZodEnum<{
1382
+ href: "href";
1383
+ src: "src";
1384
+ text: "text";
1385
+ title: "title";
1386
+ value: "value";
1387
+ }>>;
1388
+ }, z.core.$strict>>>;
1389
+ }, z.core.$strict> | z.ZodObject<{
1390
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1391
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1392
+ type: z.ZodLiteral<"input_value_equals">;
1393
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1394
+ role: z.ZodOptional<z.ZodString>;
1395
+ name: z.ZodOptional<z.ZodString>;
1396
+ label: z.ZodOptional<z.ZodString>;
1397
+ placeholder: z.ZodOptional<z.ZodString>;
1398
+ testId: z.ZodOptional<z.ZodString>;
1399
+ id: z.ZodOptional<z.ZodString>;
1400
+ attributeName: z.ZodOptional<z.ZodString>;
1401
+ text: z.ZodOptional<z.ZodString>;
1402
+ css: z.ZodOptional<z.ZodString>;
1403
+ frame: z.ZodOptional<z.ZodNumber>;
1404
+ }, z.core.$strict>]>;
1405
+ value: z.ZodString;
1406
+ }, z.core.$strict>, z.ZodObject<{
1407
+ type: z.ZodLiteral<"extraction_created">;
1408
+ key: z.ZodOptional<z.ZodString>;
1409
+ }, z.core.$strict>, z.ZodObject<{
1410
+ type: z.ZodLiteral<"extraction_contains">;
1411
+ key: z.ZodOptional<z.ZodString>;
1412
+ value: z.ZodString;
1413
+ }, z.core.$strict>, z.ZodObject<{
1414
+ type: z.ZodLiteral<"tab_count">;
1415
+ count: z.ZodNumber;
1416
+ }, z.core.$strict>, z.ZodObject<{
1417
+ type: z.ZodLiteral<"extraction_count">;
1418
+ key: z.ZodOptional<z.ZodString>;
1419
+ min: z.ZodNumber;
1420
+ max: z.ZodOptional<z.ZodNumber>;
1421
+ }, z.core.$strict>, ...(z.ZodObject<{
1422
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1423
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1424
+ role: z.ZodOptional<z.ZodString>;
1425
+ name: z.ZodOptional<z.ZodString>;
1426
+ label: z.ZodOptional<z.ZodString>;
1427
+ placeholder: z.ZodOptional<z.ZodString>;
1428
+ testId: z.ZodOptional<z.ZodString>;
1429
+ id: z.ZodOptional<z.ZodString>;
1430
+ attributeName: z.ZodOptional<z.ZodString>;
1431
+ text: z.ZodOptional<z.ZodString>;
1432
+ css: z.ZodOptional<z.ZodString>;
1433
+ frame: z.ZodOptional<z.ZodNumber>;
1434
+ }, z.core.$strict>]>;
1435
+ }, z.core.$strict> | z.ZodObject<{
1436
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1437
+ value: z.ZodString;
1438
+ }, z.core.$strict>)[], z.ZodObject<{
1439
+ type: z.ZodLiteral<"network_response">;
1440
+ value: z.ZodString;
1441
+ status: z.ZodOptional<z.ZodNumber>;
1442
+ }, z.core.$strict>, z.ZodObject<{
1443
+ type: z.ZodLiteral<"download_created">;
1444
+ value: z.ZodOptional<z.ZodString>;
1445
+ }, z.core.$strict>, z.ZodObject<{
1446
+ type: z.ZodLiteral<"page_changed">;
1447
+ value: z.ZodString;
1448
+ }, z.core.$strict>], "type">>>;
1449
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1450
+ type: z.ZodLiteral<"wait">;
1451
+ condition: z.ZodDiscriminatedUnion<[z.ZodObject<{
1452
+ type: z.ZodLiteral<"input_value_equals">;
1453
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1454
+ role: z.ZodOptional<z.ZodString>;
1455
+ name: z.ZodOptional<z.ZodString>;
1456
+ label: z.ZodOptional<z.ZodString>;
1457
+ placeholder: z.ZodOptional<z.ZodString>;
1458
+ testId: z.ZodOptional<z.ZodString>;
1459
+ id: z.ZodOptional<z.ZodString>;
1460
+ attributeName: z.ZodOptional<z.ZodString>;
1461
+ text: z.ZodOptional<z.ZodString>;
1462
+ css: z.ZodOptional<z.ZodString>;
1463
+ frame: z.ZodOptional<z.ZodNumber>;
1464
+ }, z.core.$strict>]>;
1465
+ value: z.ZodString;
1466
+ }, z.core.$strict>, z.ZodObject<{
1467
+ type: z.ZodLiteral<"extraction_created">;
1468
+ key: z.ZodOptional<z.ZodString>;
1469
+ }, z.core.$strict>, z.ZodObject<{
1470
+ type: z.ZodLiteral<"extraction_contains">;
1471
+ key: z.ZodOptional<z.ZodString>;
1472
+ value: z.ZodString;
1473
+ }, z.core.$strict>, z.ZodObject<{
1474
+ type: z.ZodLiteral<"tab_count">;
1475
+ count: z.ZodNumber;
1476
+ }, z.core.$strict>, z.ZodObject<{
1477
+ type: z.ZodLiteral<"extraction_count">;
1478
+ key: z.ZodOptional<z.ZodString>;
1479
+ min: z.ZodNumber;
1480
+ max: z.ZodOptional<z.ZodNumber>;
1481
+ }, z.core.$strict>, ...(z.ZodObject<{
1482
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1483
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1484
+ role: z.ZodOptional<z.ZodString>;
1485
+ name: z.ZodOptional<z.ZodString>;
1486
+ label: z.ZodOptional<z.ZodString>;
1487
+ placeholder: z.ZodOptional<z.ZodString>;
1488
+ testId: z.ZodOptional<z.ZodString>;
1489
+ id: z.ZodOptional<z.ZodString>;
1490
+ attributeName: z.ZodOptional<z.ZodString>;
1491
+ text: z.ZodOptional<z.ZodString>;
1492
+ css: z.ZodOptional<z.ZodString>;
1493
+ frame: z.ZodOptional<z.ZodNumber>;
1494
+ }, z.core.$strict>]>;
1495
+ }, z.core.$strict> | z.ZodObject<{
1496
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1497
+ value: z.ZodString;
1498
+ }, z.core.$strict>)[], z.ZodObject<{
1499
+ type: z.ZodLiteral<"network_response">;
1500
+ value: z.ZodString;
1501
+ status: z.ZodOptional<z.ZodNumber>;
1502
+ }, z.core.$strict>, z.ZodObject<{
1503
+ type: z.ZodLiteral<"download_created">;
1504
+ value: z.ZodOptional<z.ZodString>;
1505
+ }, z.core.$strict>, z.ZodObject<{
1506
+ type: z.ZodLiteral<"page_changed">;
1507
+ value: z.ZodString;
1508
+ }, z.core.$strict>], "type">;
1509
+ }, z.core.$strict> | z.ZodObject<{
1510
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1511
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1512
+ type: z.ZodLiteral<"input_value_equals">;
1513
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1514
+ role: z.ZodOptional<z.ZodString>;
1515
+ name: z.ZodOptional<z.ZodString>;
1516
+ label: z.ZodOptional<z.ZodString>;
1517
+ placeholder: z.ZodOptional<z.ZodString>;
1518
+ testId: z.ZodOptional<z.ZodString>;
1519
+ id: z.ZodOptional<z.ZodString>;
1520
+ attributeName: z.ZodOptional<z.ZodString>;
1521
+ text: z.ZodOptional<z.ZodString>;
1522
+ css: z.ZodOptional<z.ZodString>;
1523
+ frame: z.ZodOptional<z.ZodNumber>;
1524
+ }, z.core.$strict>]>;
1525
+ value: z.ZodString;
1526
+ }, z.core.$strict>, z.ZodObject<{
1527
+ type: z.ZodLiteral<"extraction_created">;
1528
+ key: z.ZodOptional<z.ZodString>;
1529
+ }, z.core.$strict>, z.ZodObject<{
1530
+ type: z.ZodLiteral<"extraction_contains">;
1531
+ key: z.ZodOptional<z.ZodString>;
1532
+ value: z.ZodString;
1533
+ }, z.core.$strict>, z.ZodObject<{
1534
+ type: z.ZodLiteral<"tab_count">;
1535
+ count: z.ZodNumber;
1536
+ }, z.core.$strict>, z.ZodObject<{
1537
+ type: z.ZodLiteral<"extraction_count">;
1538
+ key: z.ZodOptional<z.ZodString>;
1539
+ min: z.ZodNumber;
1540
+ max: z.ZodOptional<z.ZodNumber>;
1541
+ }, z.core.$strict>, ...(z.ZodObject<{
1542
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1543
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1544
+ role: z.ZodOptional<z.ZodString>;
1545
+ name: z.ZodOptional<z.ZodString>;
1546
+ label: z.ZodOptional<z.ZodString>;
1547
+ placeholder: z.ZodOptional<z.ZodString>;
1548
+ testId: z.ZodOptional<z.ZodString>;
1549
+ id: z.ZodOptional<z.ZodString>;
1550
+ attributeName: z.ZodOptional<z.ZodString>;
1551
+ text: z.ZodOptional<z.ZodString>;
1552
+ css: z.ZodOptional<z.ZodString>;
1553
+ frame: z.ZodOptional<z.ZodNumber>;
1554
+ }, z.core.$strict>]>;
1555
+ }, z.core.$strict> | z.ZodObject<{
1556
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1557
+ value: z.ZodString;
1558
+ }, z.core.$strict>)[], z.ZodObject<{
1559
+ type: z.ZodLiteral<"network_response">;
1560
+ value: z.ZodString;
1561
+ status: z.ZodOptional<z.ZodNumber>;
1562
+ }, z.core.$strict>, z.ZodObject<{
1563
+ type: z.ZodLiteral<"download_created">;
1564
+ value: z.ZodOptional<z.ZodString>;
1565
+ }, z.core.$strict>, z.ZodObject<{
1566
+ type: z.ZodLiteral<"page_changed">;
1567
+ value: z.ZodString;
1568
+ }, z.core.$strict>], "type">>>;
1569
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1570
+ type: z.ZodLiteral<"scroll">;
1571
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1572
+ role: z.ZodOptional<z.ZodString>;
1573
+ name: z.ZodOptional<z.ZodString>;
1574
+ label: z.ZodOptional<z.ZodString>;
1575
+ placeholder: z.ZodOptional<z.ZodString>;
1576
+ testId: z.ZodOptional<z.ZodString>;
1577
+ id: z.ZodOptional<z.ZodString>;
1578
+ attributeName: z.ZodOptional<z.ZodString>;
1579
+ text: z.ZodOptional<z.ZodString>;
1580
+ css: z.ZodOptional<z.ZodString>;
1581
+ frame: z.ZodOptional<z.ZodNumber>;
1582
+ }, z.core.$strict>]>>;
1583
+ direction: z.ZodDefault<z.ZodEnum<{
1584
+ down: "down";
1585
+ up: "up";
1586
+ }>>;
1587
+ pixels: z.ZodDefault<z.ZodNumber>;
1588
+ }, z.core.$strict> | z.ZodObject<{
1589
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1590
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1591
+ type: z.ZodLiteral<"input_value_equals">;
1592
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1593
+ role: z.ZodOptional<z.ZodString>;
1594
+ name: z.ZodOptional<z.ZodString>;
1595
+ label: z.ZodOptional<z.ZodString>;
1596
+ placeholder: z.ZodOptional<z.ZodString>;
1597
+ testId: z.ZodOptional<z.ZodString>;
1598
+ id: z.ZodOptional<z.ZodString>;
1599
+ attributeName: z.ZodOptional<z.ZodString>;
1600
+ text: z.ZodOptional<z.ZodString>;
1601
+ css: z.ZodOptional<z.ZodString>;
1602
+ frame: z.ZodOptional<z.ZodNumber>;
1603
+ }, z.core.$strict>]>;
1604
+ value: z.ZodString;
1605
+ }, z.core.$strict>, z.ZodObject<{
1606
+ type: z.ZodLiteral<"extraction_created">;
1607
+ key: z.ZodOptional<z.ZodString>;
1608
+ }, z.core.$strict>, z.ZodObject<{
1609
+ type: z.ZodLiteral<"extraction_contains">;
1610
+ key: z.ZodOptional<z.ZodString>;
1611
+ value: z.ZodString;
1612
+ }, z.core.$strict>, z.ZodObject<{
1613
+ type: z.ZodLiteral<"tab_count">;
1614
+ count: z.ZodNumber;
1615
+ }, z.core.$strict>, z.ZodObject<{
1616
+ type: z.ZodLiteral<"extraction_count">;
1617
+ key: z.ZodOptional<z.ZodString>;
1618
+ min: z.ZodNumber;
1619
+ max: z.ZodOptional<z.ZodNumber>;
1620
+ }, z.core.$strict>, ...(z.ZodObject<{
1621
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1622
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1623
+ role: z.ZodOptional<z.ZodString>;
1624
+ name: z.ZodOptional<z.ZodString>;
1625
+ label: z.ZodOptional<z.ZodString>;
1626
+ placeholder: z.ZodOptional<z.ZodString>;
1627
+ testId: z.ZodOptional<z.ZodString>;
1628
+ id: z.ZodOptional<z.ZodString>;
1629
+ attributeName: z.ZodOptional<z.ZodString>;
1630
+ text: z.ZodOptional<z.ZodString>;
1631
+ css: z.ZodOptional<z.ZodString>;
1632
+ frame: z.ZodOptional<z.ZodNumber>;
1633
+ }, z.core.$strict>]>;
1634
+ }, z.core.$strict> | z.ZodObject<{
1635
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1636
+ value: z.ZodString;
1637
+ }, z.core.$strict>)[], z.ZodObject<{
1638
+ type: z.ZodLiteral<"network_response">;
1639
+ value: z.ZodString;
1640
+ status: z.ZodOptional<z.ZodNumber>;
1641
+ }, z.core.$strict>, z.ZodObject<{
1642
+ type: z.ZodLiteral<"download_created">;
1643
+ value: z.ZodOptional<z.ZodString>;
1644
+ }, z.core.$strict>, z.ZodObject<{
1645
+ type: z.ZodLiteral<"page_changed">;
1646
+ value: z.ZodString;
1647
+ }, z.core.$strict>], "type">>>;
1648
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1649
+ type: z.ZodLiteral<"back" | "closeTab" | "forward" | "reload">;
1650
+ }, z.core.$strict>)[]], "type">>;
1651
+ completion: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1652
+ type: z.ZodLiteral<"input_value_equals">;
1653
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1654
+ role: z.ZodOptional<z.ZodString>;
1655
+ name: z.ZodOptional<z.ZodString>;
1656
+ label: z.ZodOptional<z.ZodString>;
1657
+ placeholder: z.ZodOptional<z.ZodString>;
1658
+ testId: z.ZodOptional<z.ZodString>;
1659
+ id: z.ZodOptional<z.ZodString>;
1660
+ attributeName: z.ZodOptional<z.ZodString>;
1661
+ text: z.ZodOptional<z.ZodString>;
1662
+ css: z.ZodOptional<z.ZodString>;
1663
+ frame: z.ZodOptional<z.ZodNumber>;
1664
+ }, z.core.$strict>]>;
1665
+ value: z.ZodString;
1666
+ }, z.core.$strict>, z.ZodObject<{
1667
+ type: z.ZodLiteral<"extraction_created">;
1668
+ key: z.ZodOptional<z.ZodString>;
1669
+ }, z.core.$strict>, z.ZodObject<{
1670
+ type: z.ZodLiteral<"extraction_contains">;
1671
+ key: z.ZodOptional<z.ZodString>;
1672
+ value: z.ZodString;
1673
+ }, z.core.$strict>, z.ZodObject<{
1674
+ type: z.ZodLiteral<"tab_count">;
1675
+ count: z.ZodNumber;
1676
+ }, z.core.$strict>, z.ZodObject<{
1677
+ type: z.ZodLiteral<"extraction_count">;
1678
+ key: z.ZodOptional<z.ZodString>;
1679
+ min: z.ZodNumber;
1680
+ max: z.ZodOptional<z.ZodNumber>;
1681
+ }, z.core.$strict>, ...(z.ZodObject<{
1682
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1683
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1684
+ role: z.ZodOptional<z.ZodString>;
1685
+ name: z.ZodOptional<z.ZodString>;
1686
+ label: z.ZodOptional<z.ZodString>;
1687
+ placeholder: z.ZodOptional<z.ZodString>;
1688
+ testId: z.ZodOptional<z.ZodString>;
1689
+ id: z.ZodOptional<z.ZodString>;
1690
+ attributeName: z.ZodOptional<z.ZodString>;
1691
+ text: z.ZodOptional<z.ZodString>;
1692
+ css: z.ZodOptional<z.ZodString>;
1693
+ frame: z.ZodOptional<z.ZodNumber>;
1694
+ }, z.core.$strict>]>;
1695
+ }, z.core.$strict> | z.ZodObject<{
1696
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1697
+ value: z.ZodString;
1698
+ }, z.core.$strict>)[], z.ZodObject<{
1699
+ type: z.ZodLiteral<"network_response">;
1700
+ value: z.ZodString;
1701
+ status: z.ZodOptional<z.ZodNumber>;
1702
+ }, z.core.$strict>, z.ZodObject<{
1703
+ type: z.ZodLiteral<"download_created">;
1704
+ value: z.ZodOptional<z.ZodString>;
1705
+ }, z.core.$strict>, z.ZodObject<{
1706
+ type: z.ZodLiteral<"page_changed">;
1707
+ value: z.ZodString;
1708
+ }, z.core.$strict>], "type">>;
1709
+ continue: z.ZodDefault<z.ZodBoolean>;
1710
+ }, z.core.$strict>;
1711
+ export type Plan = z.infer<typeof PlanSchema>;
1712
+ export declare const RepairSchema: z.ZodObject<{
1713
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1714
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1715
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1716
+ type: z.ZodLiteral<"input_value_equals">;
1717
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1718
+ role: z.ZodOptional<z.ZodString>;
1719
+ name: z.ZodOptional<z.ZodString>;
1720
+ label: z.ZodOptional<z.ZodString>;
1721
+ placeholder: z.ZodOptional<z.ZodString>;
1722
+ testId: z.ZodOptional<z.ZodString>;
1723
+ id: z.ZodOptional<z.ZodString>;
1724
+ attributeName: z.ZodOptional<z.ZodString>;
1725
+ text: z.ZodOptional<z.ZodString>;
1726
+ css: z.ZodOptional<z.ZodString>;
1727
+ frame: z.ZodOptional<z.ZodNumber>;
1728
+ }, z.core.$strict>]>;
1729
+ value: z.ZodString;
1730
+ }, z.core.$strict>, z.ZodObject<{
1731
+ type: z.ZodLiteral<"extraction_created">;
1732
+ key: z.ZodOptional<z.ZodString>;
1733
+ }, z.core.$strict>, z.ZodObject<{
1734
+ type: z.ZodLiteral<"extraction_contains">;
1735
+ key: z.ZodOptional<z.ZodString>;
1736
+ value: z.ZodString;
1737
+ }, z.core.$strict>, z.ZodObject<{
1738
+ type: z.ZodLiteral<"tab_count">;
1739
+ count: z.ZodNumber;
1740
+ }, z.core.$strict>, z.ZodObject<{
1741
+ type: z.ZodLiteral<"extraction_count">;
1742
+ key: z.ZodOptional<z.ZodString>;
1743
+ min: z.ZodNumber;
1744
+ max: z.ZodOptional<z.ZodNumber>;
1745
+ }, z.core.$strict>, ...(z.ZodObject<{
1746
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1747
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1748
+ role: z.ZodOptional<z.ZodString>;
1749
+ name: z.ZodOptional<z.ZodString>;
1750
+ label: z.ZodOptional<z.ZodString>;
1751
+ placeholder: z.ZodOptional<z.ZodString>;
1752
+ testId: z.ZodOptional<z.ZodString>;
1753
+ id: z.ZodOptional<z.ZodString>;
1754
+ attributeName: z.ZodOptional<z.ZodString>;
1755
+ text: z.ZodOptional<z.ZodString>;
1756
+ css: z.ZodOptional<z.ZodString>;
1757
+ frame: z.ZodOptional<z.ZodNumber>;
1758
+ }, z.core.$strict>]>;
1759
+ }, z.core.$strict> | z.ZodObject<{
1760
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1761
+ value: z.ZodString;
1762
+ }, z.core.$strict>)[], z.ZodObject<{
1763
+ type: z.ZodLiteral<"network_response">;
1764
+ value: z.ZodString;
1765
+ status: z.ZodOptional<z.ZodNumber>;
1766
+ }, z.core.$strict>, z.ZodObject<{
1767
+ type: z.ZodLiteral<"download_created">;
1768
+ value: z.ZodOptional<z.ZodString>;
1769
+ }, z.core.$strict>, z.ZodObject<{
1770
+ type: z.ZodLiteral<"page_changed">;
1771
+ value: z.ZodString;
1772
+ }, z.core.$strict>], "type">>>;
1773
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1774
+ type: z.ZodLiteral<"switchTab">;
1775
+ index: z.ZodNumber;
1776
+ }, z.core.$strict>, ...(z.ZodObject<{
1777
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1778
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1779
+ type: z.ZodLiteral<"input_value_equals">;
1780
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1781
+ role: z.ZodOptional<z.ZodString>;
1782
+ name: z.ZodOptional<z.ZodString>;
1783
+ label: z.ZodOptional<z.ZodString>;
1784
+ placeholder: z.ZodOptional<z.ZodString>;
1785
+ testId: z.ZodOptional<z.ZodString>;
1786
+ id: z.ZodOptional<z.ZodString>;
1787
+ attributeName: z.ZodOptional<z.ZodString>;
1788
+ text: z.ZodOptional<z.ZodString>;
1789
+ css: z.ZodOptional<z.ZodString>;
1790
+ frame: z.ZodOptional<z.ZodNumber>;
1791
+ }, z.core.$strict>]>;
1792
+ value: z.ZodString;
1793
+ }, z.core.$strict>, z.ZodObject<{
1794
+ type: z.ZodLiteral<"extraction_created">;
1795
+ key: z.ZodOptional<z.ZodString>;
1796
+ }, z.core.$strict>, z.ZodObject<{
1797
+ type: z.ZodLiteral<"extraction_contains">;
1798
+ key: z.ZodOptional<z.ZodString>;
1799
+ value: z.ZodString;
1800
+ }, z.core.$strict>, z.ZodObject<{
1801
+ type: z.ZodLiteral<"tab_count">;
1802
+ count: z.ZodNumber;
1803
+ }, z.core.$strict>, z.ZodObject<{
1804
+ type: z.ZodLiteral<"extraction_count">;
1805
+ key: z.ZodOptional<z.ZodString>;
1806
+ min: z.ZodNumber;
1807
+ max: z.ZodOptional<z.ZodNumber>;
1808
+ }, z.core.$strict>, ...(z.ZodObject<{
1809
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1810
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1811
+ role: z.ZodOptional<z.ZodString>;
1812
+ name: z.ZodOptional<z.ZodString>;
1813
+ label: z.ZodOptional<z.ZodString>;
1814
+ placeholder: z.ZodOptional<z.ZodString>;
1815
+ testId: z.ZodOptional<z.ZodString>;
1816
+ id: z.ZodOptional<z.ZodString>;
1817
+ attributeName: z.ZodOptional<z.ZodString>;
1818
+ text: z.ZodOptional<z.ZodString>;
1819
+ css: z.ZodOptional<z.ZodString>;
1820
+ frame: z.ZodOptional<z.ZodNumber>;
1821
+ }, z.core.$strict>]>;
1822
+ }, z.core.$strict> | z.ZodObject<{
1823
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1824
+ value: z.ZodString;
1825
+ }, z.core.$strict>)[], z.ZodObject<{
1826
+ type: z.ZodLiteral<"network_response">;
1827
+ value: z.ZodString;
1828
+ status: z.ZodOptional<z.ZodNumber>;
1829
+ }, z.core.$strict>, z.ZodObject<{
1830
+ type: z.ZodLiteral<"download_created">;
1831
+ value: z.ZodOptional<z.ZodString>;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ type: z.ZodLiteral<"page_changed">;
1834
+ value: z.ZodString;
1835
+ }, z.core.$strict>], "type">>>;
1836
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1837
+ type: z.ZodLiteral<"check" | "click" | "doubleClick" | "hover" | "submit" | "uncheck">;
1838
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1839
+ role: z.ZodOptional<z.ZodString>;
1840
+ name: z.ZodOptional<z.ZodString>;
1841
+ label: z.ZodOptional<z.ZodString>;
1842
+ placeholder: z.ZodOptional<z.ZodString>;
1843
+ testId: z.ZodOptional<z.ZodString>;
1844
+ id: z.ZodOptional<z.ZodString>;
1845
+ attributeName: z.ZodOptional<z.ZodString>;
1846
+ text: z.ZodOptional<z.ZodString>;
1847
+ css: z.ZodOptional<z.ZodString>;
1848
+ frame: z.ZodOptional<z.ZodNumber>;
1849
+ }, z.core.$strict>]>;
1850
+ }, z.core.$strict> | z.ZodObject<{
1851
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1852
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1853
+ type: z.ZodLiteral<"input_value_equals">;
1854
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1855
+ role: z.ZodOptional<z.ZodString>;
1856
+ name: z.ZodOptional<z.ZodString>;
1857
+ label: z.ZodOptional<z.ZodString>;
1858
+ placeholder: z.ZodOptional<z.ZodString>;
1859
+ testId: z.ZodOptional<z.ZodString>;
1860
+ id: z.ZodOptional<z.ZodString>;
1861
+ attributeName: z.ZodOptional<z.ZodString>;
1862
+ text: z.ZodOptional<z.ZodString>;
1863
+ css: z.ZodOptional<z.ZodString>;
1864
+ frame: z.ZodOptional<z.ZodNumber>;
1865
+ }, z.core.$strict>]>;
1866
+ value: z.ZodString;
1867
+ }, z.core.$strict>, z.ZodObject<{
1868
+ type: z.ZodLiteral<"extraction_created">;
1869
+ key: z.ZodOptional<z.ZodString>;
1870
+ }, z.core.$strict>, z.ZodObject<{
1871
+ type: z.ZodLiteral<"extraction_contains">;
1872
+ key: z.ZodOptional<z.ZodString>;
1873
+ value: z.ZodString;
1874
+ }, z.core.$strict>, z.ZodObject<{
1875
+ type: z.ZodLiteral<"tab_count">;
1876
+ count: z.ZodNumber;
1877
+ }, z.core.$strict>, z.ZodObject<{
1878
+ type: z.ZodLiteral<"extraction_count">;
1879
+ key: z.ZodOptional<z.ZodString>;
1880
+ min: z.ZodNumber;
1881
+ max: z.ZodOptional<z.ZodNumber>;
1882
+ }, z.core.$strict>, ...(z.ZodObject<{
1883
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1884
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1885
+ role: z.ZodOptional<z.ZodString>;
1886
+ name: z.ZodOptional<z.ZodString>;
1887
+ label: z.ZodOptional<z.ZodString>;
1888
+ placeholder: z.ZodOptional<z.ZodString>;
1889
+ testId: z.ZodOptional<z.ZodString>;
1890
+ id: z.ZodOptional<z.ZodString>;
1891
+ attributeName: z.ZodOptional<z.ZodString>;
1892
+ text: z.ZodOptional<z.ZodString>;
1893
+ css: z.ZodOptional<z.ZodString>;
1894
+ frame: z.ZodOptional<z.ZodNumber>;
1895
+ }, z.core.$strict>]>;
1896
+ }, z.core.$strict> | z.ZodObject<{
1897
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1898
+ value: z.ZodString;
1899
+ }, z.core.$strict>)[], z.ZodObject<{
1900
+ type: z.ZodLiteral<"network_response">;
1901
+ value: z.ZodString;
1902
+ status: z.ZodOptional<z.ZodNumber>;
1903
+ }, z.core.$strict>, z.ZodObject<{
1904
+ type: z.ZodLiteral<"download_created">;
1905
+ value: z.ZodOptional<z.ZodString>;
1906
+ }, z.core.$strict>, z.ZodObject<{
1907
+ type: z.ZodLiteral<"page_changed">;
1908
+ value: z.ZodString;
1909
+ }, z.core.$strict>], "type">>>;
1910
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1911
+ type: z.ZodLiteral<"fill" | "press" | "select" | "type">;
1912
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1913
+ role: z.ZodOptional<z.ZodString>;
1914
+ name: z.ZodOptional<z.ZodString>;
1915
+ label: z.ZodOptional<z.ZodString>;
1916
+ placeholder: z.ZodOptional<z.ZodString>;
1917
+ testId: z.ZodOptional<z.ZodString>;
1918
+ id: z.ZodOptional<z.ZodString>;
1919
+ attributeName: z.ZodOptional<z.ZodString>;
1920
+ text: z.ZodOptional<z.ZodString>;
1921
+ css: z.ZodOptional<z.ZodString>;
1922
+ frame: z.ZodOptional<z.ZodNumber>;
1923
+ }, z.core.$strict>]>;
1924
+ value: z.ZodString;
1925
+ }, z.core.$strict> | z.ZodObject<{
1926
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1927
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1928
+ type: z.ZodLiteral<"input_value_equals">;
1929
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1930
+ role: z.ZodOptional<z.ZodString>;
1931
+ name: z.ZodOptional<z.ZodString>;
1932
+ label: z.ZodOptional<z.ZodString>;
1933
+ placeholder: z.ZodOptional<z.ZodString>;
1934
+ testId: z.ZodOptional<z.ZodString>;
1935
+ id: z.ZodOptional<z.ZodString>;
1936
+ attributeName: z.ZodOptional<z.ZodString>;
1937
+ text: z.ZodOptional<z.ZodString>;
1938
+ css: z.ZodOptional<z.ZodString>;
1939
+ frame: z.ZodOptional<z.ZodNumber>;
1940
+ }, z.core.$strict>]>;
1941
+ value: z.ZodString;
1942
+ }, z.core.$strict>, z.ZodObject<{
1943
+ type: z.ZodLiteral<"extraction_created">;
1944
+ key: z.ZodOptional<z.ZodString>;
1945
+ }, z.core.$strict>, z.ZodObject<{
1946
+ type: z.ZodLiteral<"extraction_contains">;
1947
+ key: z.ZodOptional<z.ZodString>;
1948
+ value: z.ZodString;
1949
+ }, z.core.$strict>, z.ZodObject<{
1950
+ type: z.ZodLiteral<"tab_count">;
1951
+ count: z.ZodNumber;
1952
+ }, z.core.$strict>, z.ZodObject<{
1953
+ type: z.ZodLiteral<"extraction_count">;
1954
+ key: z.ZodOptional<z.ZodString>;
1955
+ min: z.ZodNumber;
1956
+ max: z.ZodOptional<z.ZodNumber>;
1957
+ }, z.core.$strict>, ...(z.ZodObject<{
1958
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
1959
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1960
+ role: z.ZodOptional<z.ZodString>;
1961
+ name: z.ZodOptional<z.ZodString>;
1962
+ label: z.ZodOptional<z.ZodString>;
1963
+ placeholder: z.ZodOptional<z.ZodString>;
1964
+ testId: z.ZodOptional<z.ZodString>;
1965
+ id: z.ZodOptional<z.ZodString>;
1966
+ attributeName: z.ZodOptional<z.ZodString>;
1967
+ text: z.ZodOptional<z.ZodString>;
1968
+ css: z.ZodOptional<z.ZodString>;
1969
+ frame: z.ZodOptional<z.ZodNumber>;
1970
+ }, z.core.$strict>]>;
1971
+ }, z.core.$strict> | z.ZodObject<{
1972
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
1973
+ value: z.ZodString;
1974
+ }, z.core.$strict>)[], z.ZodObject<{
1975
+ type: z.ZodLiteral<"network_response">;
1976
+ value: z.ZodString;
1977
+ status: z.ZodOptional<z.ZodNumber>;
1978
+ }, z.core.$strict>, z.ZodObject<{
1979
+ type: z.ZodLiteral<"download_created">;
1980
+ value: z.ZodOptional<z.ZodString>;
1981
+ }, z.core.$strict>, z.ZodObject<{
1982
+ type: z.ZodLiteral<"page_changed">;
1983
+ value: z.ZodString;
1984
+ }, z.core.$strict>], "type">>>;
1985
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1986
+ type: z.ZodLiteral<"navigate" | "openTab">;
1987
+ url: z.ZodString;
1988
+ }, z.core.$strict> | z.ZodObject<{
1989
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1990
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1991
+ type: z.ZodLiteral<"input_value_equals">;
1992
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1993
+ role: z.ZodOptional<z.ZodString>;
1994
+ name: z.ZodOptional<z.ZodString>;
1995
+ label: z.ZodOptional<z.ZodString>;
1996
+ placeholder: z.ZodOptional<z.ZodString>;
1997
+ testId: z.ZodOptional<z.ZodString>;
1998
+ id: z.ZodOptional<z.ZodString>;
1999
+ attributeName: z.ZodOptional<z.ZodString>;
2000
+ text: z.ZodOptional<z.ZodString>;
2001
+ css: z.ZodOptional<z.ZodString>;
2002
+ frame: z.ZodOptional<z.ZodNumber>;
2003
+ }, z.core.$strict>]>;
2004
+ value: z.ZodString;
2005
+ }, z.core.$strict>, z.ZodObject<{
2006
+ type: z.ZodLiteral<"extraction_created">;
2007
+ key: z.ZodOptional<z.ZodString>;
2008
+ }, z.core.$strict>, z.ZodObject<{
2009
+ type: z.ZodLiteral<"extraction_contains">;
2010
+ key: z.ZodOptional<z.ZodString>;
2011
+ value: z.ZodString;
2012
+ }, z.core.$strict>, z.ZodObject<{
2013
+ type: z.ZodLiteral<"tab_count">;
2014
+ count: z.ZodNumber;
2015
+ }, z.core.$strict>, z.ZodObject<{
2016
+ type: z.ZodLiteral<"extraction_count">;
2017
+ key: z.ZodOptional<z.ZodString>;
2018
+ min: z.ZodNumber;
2019
+ max: z.ZodOptional<z.ZodNumber>;
2020
+ }, z.core.$strict>, ...(z.ZodObject<{
2021
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2022
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2023
+ role: z.ZodOptional<z.ZodString>;
2024
+ name: z.ZodOptional<z.ZodString>;
2025
+ label: z.ZodOptional<z.ZodString>;
2026
+ placeholder: z.ZodOptional<z.ZodString>;
2027
+ testId: z.ZodOptional<z.ZodString>;
2028
+ id: z.ZodOptional<z.ZodString>;
2029
+ attributeName: z.ZodOptional<z.ZodString>;
2030
+ text: z.ZodOptional<z.ZodString>;
2031
+ css: z.ZodOptional<z.ZodString>;
2032
+ frame: z.ZodOptional<z.ZodNumber>;
2033
+ }, z.core.$strict>]>;
2034
+ }, z.core.$strict> | z.ZodObject<{
2035
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2036
+ value: z.ZodString;
2037
+ }, z.core.$strict>)[], z.ZodObject<{
2038
+ type: z.ZodLiteral<"network_response">;
2039
+ value: z.ZodString;
2040
+ status: z.ZodOptional<z.ZodNumber>;
2041
+ }, z.core.$strict>, z.ZodObject<{
2042
+ type: z.ZodLiteral<"download_created">;
2043
+ value: z.ZodOptional<z.ZodString>;
2044
+ }, z.core.$strict>, z.ZodObject<{
2045
+ type: z.ZodLiteral<"page_changed">;
2046
+ value: z.ZodString;
2047
+ }, z.core.$strict>], "type">>>;
2048
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2049
+ type: z.ZodLiteral<"upload">;
2050
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2051
+ role: z.ZodOptional<z.ZodString>;
2052
+ name: z.ZodOptional<z.ZodString>;
2053
+ label: z.ZodOptional<z.ZodString>;
2054
+ placeholder: z.ZodOptional<z.ZodString>;
2055
+ testId: z.ZodOptional<z.ZodString>;
2056
+ id: z.ZodOptional<z.ZodString>;
2057
+ attributeName: z.ZodOptional<z.ZodString>;
2058
+ text: z.ZodOptional<z.ZodString>;
2059
+ css: z.ZodOptional<z.ZodString>;
2060
+ frame: z.ZodOptional<z.ZodNumber>;
2061
+ }, z.core.$strict>]>;
2062
+ file: z.ZodString;
2063
+ }, z.core.$strict> | z.ZodObject<{
2064
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2065
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2066
+ type: z.ZodLiteral<"input_value_equals">;
2067
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2068
+ role: z.ZodOptional<z.ZodString>;
2069
+ name: z.ZodOptional<z.ZodString>;
2070
+ label: z.ZodOptional<z.ZodString>;
2071
+ placeholder: z.ZodOptional<z.ZodString>;
2072
+ testId: z.ZodOptional<z.ZodString>;
2073
+ id: z.ZodOptional<z.ZodString>;
2074
+ attributeName: z.ZodOptional<z.ZodString>;
2075
+ text: z.ZodOptional<z.ZodString>;
2076
+ css: z.ZodOptional<z.ZodString>;
2077
+ frame: z.ZodOptional<z.ZodNumber>;
2078
+ }, z.core.$strict>]>;
2079
+ value: z.ZodString;
2080
+ }, z.core.$strict>, z.ZodObject<{
2081
+ type: z.ZodLiteral<"extraction_created">;
2082
+ key: z.ZodOptional<z.ZodString>;
2083
+ }, z.core.$strict>, z.ZodObject<{
2084
+ type: z.ZodLiteral<"extraction_contains">;
2085
+ key: z.ZodOptional<z.ZodString>;
2086
+ value: z.ZodString;
2087
+ }, z.core.$strict>, z.ZodObject<{
2088
+ type: z.ZodLiteral<"tab_count">;
2089
+ count: z.ZodNumber;
2090
+ }, z.core.$strict>, z.ZodObject<{
2091
+ type: z.ZodLiteral<"extraction_count">;
2092
+ key: z.ZodOptional<z.ZodString>;
2093
+ min: z.ZodNumber;
2094
+ max: z.ZodOptional<z.ZodNumber>;
2095
+ }, z.core.$strict>, ...(z.ZodObject<{
2096
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2097
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2098
+ role: z.ZodOptional<z.ZodString>;
2099
+ name: z.ZodOptional<z.ZodString>;
2100
+ label: z.ZodOptional<z.ZodString>;
2101
+ placeholder: z.ZodOptional<z.ZodString>;
2102
+ testId: z.ZodOptional<z.ZodString>;
2103
+ id: z.ZodOptional<z.ZodString>;
2104
+ attributeName: z.ZodOptional<z.ZodString>;
2105
+ text: z.ZodOptional<z.ZodString>;
2106
+ css: z.ZodOptional<z.ZodString>;
2107
+ frame: z.ZodOptional<z.ZodNumber>;
2108
+ }, z.core.$strict>]>;
2109
+ }, z.core.$strict> | z.ZodObject<{
2110
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2111
+ value: z.ZodString;
2112
+ }, z.core.$strict>)[], z.ZodObject<{
2113
+ type: z.ZodLiteral<"network_response">;
2114
+ value: z.ZodString;
2115
+ status: z.ZodOptional<z.ZodNumber>;
2116
+ }, z.core.$strict>, z.ZodObject<{
2117
+ type: z.ZodLiteral<"download_created">;
2118
+ value: z.ZodOptional<z.ZodString>;
2119
+ }, z.core.$strict>, z.ZodObject<{
2120
+ type: z.ZodLiteral<"page_changed">;
2121
+ value: z.ZodString;
2122
+ }, z.core.$strict>], "type">>>;
2123
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2124
+ type: z.ZodLiteral<"download">;
2125
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2126
+ role: z.ZodOptional<z.ZodString>;
2127
+ name: z.ZodOptional<z.ZodString>;
2128
+ label: z.ZodOptional<z.ZodString>;
2129
+ placeholder: z.ZodOptional<z.ZodString>;
2130
+ testId: z.ZodOptional<z.ZodString>;
2131
+ id: z.ZodOptional<z.ZodString>;
2132
+ attributeName: z.ZodOptional<z.ZodString>;
2133
+ text: z.ZodOptional<z.ZodString>;
2134
+ css: z.ZodOptional<z.ZodString>;
2135
+ frame: z.ZodOptional<z.ZodNumber>;
2136
+ }, z.core.$strict>]>;
2137
+ filename: z.ZodOptional<z.ZodString>;
2138
+ }, z.core.$strict> | z.ZodObject<{
2139
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2140
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2141
+ type: z.ZodLiteral<"input_value_equals">;
2142
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2143
+ role: z.ZodOptional<z.ZodString>;
2144
+ name: z.ZodOptional<z.ZodString>;
2145
+ label: z.ZodOptional<z.ZodString>;
2146
+ placeholder: z.ZodOptional<z.ZodString>;
2147
+ testId: z.ZodOptional<z.ZodString>;
2148
+ id: z.ZodOptional<z.ZodString>;
2149
+ attributeName: z.ZodOptional<z.ZodString>;
2150
+ text: z.ZodOptional<z.ZodString>;
2151
+ css: z.ZodOptional<z.ZodString>;
2152
+ frame: z.ZodOptional<z.ZodNumber>;
2153
+ }, z.core.$strict>]>;
2154
+ value: z.ZodString;
2155
+ }, z.core.$strict>, z.ZodObject<{
2156
+ type: z.ZodLiteral<"extraction_created">;
2157
+ key: z.ZodOptional<z.ZodString>;
2158
+ }, z.core.$strict>, z.ZodObject<{
2159
+ type: z.ZodLiteral<"extraction_contains">;
2160
+ key: z.ZodOptional<z.ZodString>;
2161
+ value: z.ZodString;
2162
+ }, z.core.$strict>, z.ZodObject<{
2163
+ type: z.ZodLiteral<"tab_count">;
2164
+ count: z.ZodNumber;
2165
+ }, z.core.$strict>, z.ZodObject<{
2166
+ type: z.ZodLiteral<"extraction_count">;
2167
+ key: z.ZodOptional<z.ZodString>;
2168
+ min: z.ZodNumber;
2169
+ max: z.ZodOptional<z.ZodNumber>;
2170
+ }, z.core.$strict>, ...(z.ZodObject<{
2171
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2172
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2173
+ role: z.ZodOptional<z.ZodString>;
2174
+ name: z.ZodOptional<z.ZodString>;
2175
+ label: z.ZodOptional<z.ZodString>;
2176
+ placeholder: z.ZodOptional<z.ZodString>;
2177
+ testId: z.ZodOptional<z.ZodString>;
2178
+ id: z.ZodOptional<z.ZodString>;
2179
+ attributeName: z.ZodOptional<z.ZodString>;
2180
+ text: z.ZodOptional<z.ZodString>;
2181
+ css: z.ZodOptional<z.ZodString>;
2182
+ frame: z.ZodOptional<z.ZodNumber>;
2183
+ }, z.core.$strict>]>;
2184
+ }, z.core.$strict> | z.ZodObject<{
2185
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2186
+ value: z.ZodString;
2187
+ }, z.core.$strict>)[], z.ZodObject<{
2188
+ type: z.ZodLiteral<"network_response">;
2189
+ value: z.ZodString;
2190
+ status: z.ZodOptional<z.ZodNumber>;
2191
+ }, z.core.$strict>, z.ZodObject<{
2192
+ type: z.ZodLiteral<"download_created">;
2193
+ value: z.ZodOptional<z.ZodString>;
2194
+ }, z.core.$strict>, z.ZodObject<{
2195
+ type: z.ZodLiteral<"page_changed">;
2196
+ value: z.ZodString;
2197
+ }, z.core.$strict>], "type">>>;
2198
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2199
+ type: z.ZodLiteral<"extract">;
2200
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2201
+ role: z.ZodOptional<z.ZodString>;
2202
+ name: z.ZodOptional<z.ZodString>;
2203
+ label: z.ZodOptional<z.ZodString>;
2204
+ placeholder: z.ZodOptional<z.ZodString>;
2205
+ testId: z.ZodOptional<z.ZodString>;
2206
+ id: z.ZodOptional<z.ZodString>;
2207
+ attributeName: z.ZodOptional<z.ZodString>;
2208
+ text: z.ZodOptional<z.ZodString>;
2209
+ css: z.ZodOptional<z.ZodString>;
2210
+ frame: z.ZodOptional<z.ZodNumber>;
2211
+ }, z.core.$strict>]>>;
2212
+ format: z.ZodDefault<z.ZodEnum<{
2213
+ links: "links";
2214
+ records: "records";
2215
+ table: "table";
2216
+ text: "text";
2217
+ }>>;
2218
+ key: z.ZodDefault<z.ZodString>;
2219
+ match: z.ZodOptional<z.ZodString>;
2220
+ limit: z.ZodOptional<z.ZodNumber>;
2221
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2222
+ css: z.ZodString;
2223
+ attribute: z.ZodDefault<z.ZodEnum<{
2224
+ href: "href";
2225
+ src: "src";
2226
+ text: "text";
2227
+ title: "title";
2228
+ value: "value";
2229
+ }>>;
2230
+ }, z.core.$strict>>>;
2231
+ }, z.core.$strict> | z.ZodObject<{
2232
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2233
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2234
+ type: z.ZodLiteral<"input_value_equals">;
2235
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2236
+ role: z.ZodOptional<z.ZodString>;
2237
+ name: z.ZodOptional<z.ZodString>;
2238
+ label: z.ZodOptional<z.ZodString>;
2239
+ placeholder: z.ZodOptional<z.ZodString>;
2240
+ testId: z.ZodOptional<z.ZodString>;
2241
+ id: z.ZodOptional<z.ZodString>;
2242
+ attributeName: z.ZodOptional<z.ZodString>;
2243
+ text: z.ZodOptional<z.ZodString>;
2244
+ css: z.ZodOptional<z.ZodString>;
2245
+ frame: z.ZodOptional<z.ZodNumber>;
2246
+ }, z.core.$strict>]>;
2247
+ value: z.ZodString;
2248
+ }, z.core.$strict>, z.ZodObject<{
2249
+ type: z.ZodLiteral<"extraction_created">;
2250
+ key: z.ZodOptional<z.ZodString>;
2251
+ }, z.core.$strict>, z.ZodObject<{
2252
+ type: z.ZodLiteral<"extraction_contains">;
2253
+ key: z.ZodOptional<z.ZodString>;
2254
+ value: z.ZodString;
2255
+ }, z.core.$strict>, z.ZodObject<{
2256
+ type: z.ZodLiteral<"tab_count">;
2257
+ count: z.ZodNumber;
2258
+ }, z.core.$strict>, z.ZodObject<{
2259
+ type: z.ZodLiteral<"extraction_count">;
2260
+ key: z.ZodOptional<z.ZodString>;
2261
+ min: z.ZodNumber;
2262
+ max: z.ZodOptional<z.ZodNumber>;
2263
+ }, z.core.$strict>, ...(z.ZodObject<{
2264
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2265
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2266
+ role: z.ZodOptional<z.ZodString>;
2267
+ name: z.ZodOptional<z.ZodString>;
2268
+ label: z.ZodOptional<z.ZodString>;
2269
+ placeholder: z.ZodOptional<z.ZodString>;
2270
+ testId: z.ZodOptional<z.ZodString>;
2271
+ id: z.ZodOptional<z.ZodString>;
2272
+ attributeName: z.ZodOptional<z.ZodString>;
2273
+ text: z.ZodOptional<z.ZodString>;
2274
+ css: z.ZodOptional<z.ZodString>;
2275
+ frame: z.ZodOptional<z.ZodNumber>;
2276
+ }, z.core.$strict>]>;
2277
+ }, z.core.$strict> | z.ZodObject<{
2278
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2279
+ value: z.ZodString;
2280
+ }, z.core.$strict>)[], z.ZodObject<{
2281
+ type: z.ZodLiteral<"network_response">;
2282
+ value: z.ZodString;
2283
+ status: z.ZodOptional<z.ZodNumber>;
2284
+ }, z.core.$strict>, z.ZodObject<{
2285
+ type: z.ZodLiteral<"download_created">;
2286
+ value: z.ZodOptional<z.ZodString>;
2287
+ }, z.core.$strict>, z.ZodObject<{
2288
+ type: z.ZodLiteral<"page_changed">;
2289
+ value: z.ZodString;
2290
+ }, z.core.$strict>], "type">>>;
2291
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2292
+ type: z.ZodLiteral<"wait">;
2293
+ condition: z.ZodDiscriminatedUnion<[z.ZodObject<{
2294
+ type: z.ZodLiteral<"input_value_equals">;
2295
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2296
+ role: z.ZodOptional<z.ZodString>;
2297
+ name: z.ZodOptional<z.ZodString>;
2298
+ label: z.ZodOptional<z.ZodString>;
2299
+ placeholder: z.ZodOptional<z.ZodString>;
2300
+ testId: z.ZodOptional<z.ZodString>;
2301
+ id: z.ZodOptional<z.ZodString>;
2302
+ attributeName: z.ZodOptional<z.ZodString>;
2303
+ text: z.ZodOptional<z.ZodString>;
2304
+ css: z.ZodOptional<z.ZodString>;
2305
+ frame: z.ZodOptional<z.ZodNumber>;
2306
+ }, z.core.$strict>]>;
2307
+ value: z.ZodString;
2308
+ }, z.core.$strict>, z.ZodObject<{
2309
+ type: z.ZodLiteral<"extraction_created">;
2310
+ key: z.ZodOptional<z.ZodString>;
2311
+ }, z.core.$strict>, z.ZodObject<{
2312
+ type: z.ZodLiteral<"extraction_contains">;
2313
+ key: z.ZodOptional<z.ZodString>;
2314
+ value: z.ZodString;
2315
+ }, z.core.$strict>, z.ZodObject<{
2316
+ type: z.ZodLiteral<"tab_count">;
2317
+ count: z.ZodNumber;
2318
+ }, z.core.$strict>, z.ZodObject<{
2319
+ type: z.ZodLiteral<"extraction_count">;
2320
+ key: z.ZodOptional<z.ZodString>;
2321
+ min: z.ZodNumber;
2322
+ max: z.ZodOptional<z.ZodNumber>;
2323
+ }, z.core.$strict>, ...(z.ZodObject<{
2324
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2325
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2326
+ role: z.ZodOptional<z.ZodString>;
2327
+ name: z.ZodOptional<z.ZodString>;
2328
+ label: z.ZodOptional<z.ZodString>;
2329
+ placeholder: z.ZodOptional<z.ZodString>;
2330
+ testId: z.ZodOptional<z.ZodString>;
2331
+ id: z.ZodOptional<z.ZodString>;
2332
+ attributeName: z.ZodOptional<z.ZodString>;
2333
+ text: z.ZodOptional<z.ZodString>;
2334
+ css: z.ZodOptional<z.ZodString>;
2335
+ frame: z.ZodOptional<z.ZodNumber>;
2336
+ }, z.core.$strict>]>;
2337
+ }, z.core.$strict> | z.ZodObject<{
2338
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2339
+ value: z.ZodString;
2340
+ }, z.core.$strict>)[], z.ZodObject<{
2341
+ type: z.ZodLiteral<"network_response">;
2342
+ value: z.ZodString;
2343
+ status: z.ZodOptional<z.ZodNumber>;
2344
+ }, z.core.$strict>, z.ZodObject<{
2345
+ type: z.ZodLiteral<"download_created">;
2346
+ value: z.ZodOptional<z.ZodString>;
2347
+ }, z.core.$strict>, z.ZodObject<{
2348
+ type: z.ZodLiteral<"page_changed">;
2349
+ value: z.ZodString;
2350
+ }, z.core.$strict>], "type">;
2351
+ }, z.core.$strict> | z.ZodObject<{
2352
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2353
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2354
+ type: z.ZodLiteral<"input_value_equals">;
2355
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2356
+ role: z.ZodOptional<z.ZodString>;
2357
+ name: z.ZodOptional<z.ZodString>;
2358
+ label: z.ZodOptional<z.ZodString>;
2359
+ placeholder: z.ZodOptional<z.ZodString>;
2360
+ testId: z.ZodOptional<z.ZodString>;
2361
+ id: z.ZodOptional<z.ZodString>;
2362
+ attributeName: z.ZodOptional<z.ZodString>;
2363
+ text: z.ZodOptional<z.ZodString>;
2364
+ css: z.ZodOptional<z.ZodString>;
2365
+ frame: z.ZodOptional<z.ZodNumber>;
2366
+ }, z.core.$strict>]>;
2367
+ value: z.ZodString;
2368
+ }, z.core.$strict>, z.ZodObject<{
2369
+ type: z.ZodLiteral<"extraction_created">;
2370
+ key: z.ZodOptional<z.ZodString>;
2371
+ }, z.core.$strict>, z.ZodObject<{
2372
+ type: z.ZodLiteral<"extraction_contains">;
2373
+ key: z.ZodOptional<z.ZodString>;
2374
+ value: z.ZodString;
2375
+ }, z.core.$strict>, z.ZodObject<{
2376
+ type: z.ZodLiteral<"tab_count">;
2377
+ count: z.ZodNumber;
2378
+ }, z.core.$strict>, z.ZodObject<{
2379
+ type: z.ZodLiteral<"extraction_count">;
2380
+ key: z.ZodOptional<z.ZodString>;
2381
+ min: z.ZodNumber;
2382
+ max: z.ZodOptional<z.ZodNumber>;
2383
+ }, z.core.$strict>, ...(z.ZodObject<{
2384
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2385
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2386
+ role: z.ZodOptional<z.ZodString>;
2387
+ name: z.ZodOptional<z.ZodString>;
2388
+ label: z.ZodOptional<z.ZodString>;
2389
+ placeholder: z.ZodOptional<z.ZodString>;
2390
+ testId: z.ZodOptional<z.ZodString>;
2391
+ id: z.ZodOptional<z.ZodString>;
2392
+ attributeName: z.ZodOptional<z.ZodString>;
2393
+ text: z.ZodOptional<z.ZodString>;
2394
+ css: z.ZodOptional<z.ZodString>;
2395
+ frame: z.ZodOptional<z.ZodNumber>;
2396
+ }, z.core.$strict>]>;
2397
+ }, z.core.$strict> | z.ZodObject<{
2398
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2399
+ value: z.ZodString;
2400
+ }, z.core.$strict>)[], z.ZodObject<{
2401
+ type: z.ZodLiteral<"network_response">;
2402
+ value: z.ZodString;
2403
+ status: z.ZodOptional<z.ZodNumber>;
2404
+ }, z.core.$strict>, z.ZodObject<{
2405
+ type: z.ZodLiteral<"download_created">;
2406
+ value: z.ZodOptional<z.ZodString>;
2407
+ }, z.core.$strict>, z.ZodObject<{
2408
+ type: z.ZodLiteral<"page_changed">;
2409
+ value: z.ZodString;
2410
+ }, z.core.$strict>], "type">>>;
2411
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2412
+ type: z.ZodLiteral<"scroll">;
2413
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2414
+ role: z.ZodOptional<z.ZodString>;
2415
+ name: z.ZodOptional<z.ZodString>;
2416
+ label: z.ZodOptional<z.ZodString>;
2417
+ placeholder: z.ZodOptional<z.ZodString>;
2418
+ testId: z.ZodOptional<z.ZodString>;
2419
+ id: z.ZodOptional<z.ZodString>;
2420
+ attributeName: z.ZodOptional<z.ZodString>;
2421
+ text: z.ZodOptional<z.ZodString>;
2422
+ css: z.ZodOptional<z.ZodString>;
2423
+ frame: z.ZodOptional<z.ZodNumber>;
2424
+ }, z.core.$strict>]>>;
2425
+ direction: z.ZodDefault<z.ZodEnum<{
2426
+ down: "down";
2427
+ up: "up";
2428
+ }>>;
2429
+ pixels: z.ZodDefault<z.ZodNumber>;
2430
+ }, z.core.$strict> | z.ZodObject<{
2431
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2432
+ verify: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2433
+ type: z.ZodLiteral<"input_value_equals">;
2434
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2435
+ role: z.ZodOptional<z.ZodString>;
2436
+ name: z.ZodOptional<z.ZodString>;
2437
+ label: z.ZodOptional<z.ZodString>;
2438
+ placeholder: z.ZodOptional<z.ZodString>;
2439
+ testId: z.ZodOptional<z.ZodString>;
2440
+ id: z.ZodOptional<z.ZodString>;
2441
+ attributeName: z.ZodOptional<z.ZodString>;
2442
+ text: z.ZodOptional<z.ZodString>;
2443
+ css: z.ZodOptional<z.ZodString>;
2444
+ frame: z.ZodOptional<z.ZodNumber>;
2445
+ }, z.core.$strict>]>;
2446
+ value: z.ZodString;
2447
+ }, z.core.$strict>, z.ZodObject<{
2448
+ type: z.ZodLiteral<"extraction_created">;
2449
+ key: z.ZodOptional<z.ZodString>;
2450
+ }, z.core.$strict>, z.ZodObject<{
2451
+ type: z.ZodLiteral<"extraction_contains">;
2452
+ key: z.ZodOptional<z.ZodString>;
2453
+ value: z.ZodString;
2454
+ }, z.core.$strict>, z.ZodObject<{
2455
+ type: z.ZodLiteral<"tab_count">;
2456
+ count: z.ZodNumber;
2457
+ }, z.core.$strict>, z.ZodObject<{
2458
+ type: z.ZodLiteral<"extraction_count">;
2459
+ key: z.ZodOptional<z.ZodString>;
2460
+ min: z.ZodNumber;
2461
+ max: z.ZodOptional<z.ZodNumber>;
2462
+ }, z.core.$strict>, ...(z.ZodObject<{
2463
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2464
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2465
+ role: z.ZodOptional<z.ZodString>;
2466
+ name: z.ZodOptional<z.ZodString>;
2467
+ label: z.ZodOptional<z.ZodString>;
2468
+ placeholder: z.ZodOptional<z.ZodString>;
2469
+ testId: z.ZodOptional<z.ZodString>;
2470
+ id: z.ZodOptional<z.ZodString>;
2471
+ attributeName: z.ZodOptional<z.ZodString>;
2472
+ text: z.ZodOptional<z.ZodString>;
2473
+ css: z.ZodOptional<z.ZodString>;
2474
+ frame: z.ZodOptional<z.ZodNumber>;
2475
+ }, z.core.$strict>]>;
2476
+ }, z.core.$strict> | z.ZodObject<{
2477
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2478
+ value: z.ZodString;
2479
+ }, z.core.$strict>)[], z.ZodObject<{
2480
+ type: z.ZodLiteral<"network_response">;
2481
+ value: z.ZodString;
2482
+ status: z.ZodOptional<z.ZodNumber>;
2483
+ }, z.core.$strict>, z.ZodObject<{
2484
+ type: z.ZodLiteral<"download_created">;
2485
+ value: z.ZodOptional<z.ZodString>;
2486
+ }, z.core.$strict>, z.ZodObject<{
2487
+ type: z.ZodLiteral<"page_changed">;
2488
+ value: z.ZodString;
2489
+ }, z.core.$strict>], "type">>>;
2490
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2491
+ type: z.ZodLiteral<"back" | "closeTab" | "forward" | "reload">;
2492
+ }, z.core.$strict>)[]], "type">>;
2493
+ replace: z.ZodDefault<z.ZodNumber>;
2494
+ completion: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2495
+ type: z.ZodLiteral<"input_value_equals">;
2496
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2497
+ role: z.ZodOptional<z.ZodString>;
2498
+ name: z.ZodOptional<z.ZodString>;
2499
+ label: z.ZodOptional<z.ZodString>;
2500
+ placeholder: z.ZodOptional<z.ZodString>;
2501
+ testId: z.ZodOptional<z.ZodString>;
2502
+ id: z.ZodOptional<z.ZodString>;
2503
+ attributeName: z.ZodOptional<z.ZodString>;
2504
+ text: z.ZodOptional<z.ZodString>;
2505
+ css: z.ZodOptional<z.ZodString>;
2506
+ frame: z.ZodOptional<z.ZodNumber>;
2507
+ }, z.core.$strict>]>;
2508
+ value: z.ZodString;
2509
+ }, z.core.$strict>, z.ZodObject<{
2510
+ type: z.ZodLiteral<"extraction_created">;
2511
+ key: z.ZodOptional<z.ZodString>;
2512
+ }, z.core.$strict>, z.ZodObject<{
2513
+ type: z.ZodLiteral<"extraction_contains">;
2514
+ key: z.ZodOptional<z.ZodString>;
2515
+ value: z.ZodString;
2516
+ }, z.core.$strict>, z.ZodObject<{
2517
+ type: z.ZodLiteral<"tab_count">;
2518
+ count: z.ZodNumber;
2519
+ }, z.core.$strict>, z.ZodObject<{
2520
+ type: z.ZodLiteral<"extraction_count">;
2521
+ key: z.ZodOptional<z.ZodString>;
2522
+ min: z.ZodNumber;
2523
+ max: z.ZodOptional<z.ZodNumber>;
2524
+ }, z.core.$strict>, ...(z.ZodObject<{
2525
+ type: z.ZodLiteral<"checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted">;
2526
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2527
+ role: z.ZodOptional<z.ZodString>;
2528
+ name: z.ZodOptional<z.ZodString>;
2529
+ label: z.ZodOptional<z.ZodString>;
2530
+ placeholder: z.ZodOptional<z.ZodString>;
2531
+ testId: z.ZodOptional<z.ZodString>;
2532
+ id: z.ZodOptional<z.ZodString>;
2533
+ attributeName: z.ZodOptional<z.ZodString>;
2534
+ text: z.ZodOptional<z.ZodString>;
2535
+ css: z.ZodOptional<z.ZodString>;
2536
+ frame: z.ZodOptional<z.ZodNumber>;
2537
+ }, z.core.$strict>]>;
2538
+ }, z.core.$strict> | z.ZodObject<{
2539
+ type: z.ZodLiteral<"text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals">;
2540
+ value: z.ZodString;
2541
+ }, z.core.$strict>)[], z.ZodObject<{
2542
+ type: z.ZodLiteral<"network_response">;
2543
+ value: z.ZodString;
2544
+ status: z.ZodOptional<z.ZodNumber>;
2545
+ }, z.core.$strict>, z.ZodObject<{
2546
+ type: z.ZodLiteral<"download_created">;
2547
+ value: z.ZodOptional<z.ZodString>;
2548
+ }, z.core.$strict>, z.ZodObject<{
2549
+ type: z.ZodLiteral<"page_changed">;
2550
+ value: z.ZodString;
2551
+ }, z.core.$strict>], "type">>>;
2552
+ continue: z.ZodOptional<z.ZodBoolean>;
2553
+ }, z.core.$strict>;
2554
+ export type Repair = z.infer<typeof RepairSchema>;
2555
+ export declare const validateAction: (value: unknown) => {
2556
+ sensitive?: boolean | undefined;
2557
+ verify?: ({
2558
+ type: "input_value_equals";
2559
+ target: string | {
2560
+ role?: string | undefined;
2561
+ name?: string | undefined;
2562
+ label?: string | undefined;
2563
+ placeholder?: string | undefined;
2564
+ testId?: string | undefined;
2565
+ id?: string | undefined;
2566
+ attributeName?: string | undefined;
2567
+ text?: string | undefined;
2568
+ css?: string | undefined;
2569
+ frame?: number | undefined;
2570
+ };
2571
+ value: string;
2572
+ } | {
2573
+ type: "extraction_created";
2574
+ key?: string | undefined;
2575
+ } | {
2576
+ type: "extraction_contains";
2577
+ key?: string | undefined;
2578
+ value: string;
2579
+ } | {
2580
+ type: "tab_count";
2581
+ count: number;
2582
+ } | {
2583
+ type: "extraction_count";
2584
+ key?: string | undefined;
2585
+ min: number;
2586
+ max?: number | undefined;
2587
+ } | {
2588
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
2589
+ target: string | {
2590
+ role?: string | undefined;
2591
+ name?: string | undefined;
2592
+ label?: string | undefined;
2593
+ placeholder?: string | undefined;
2594
+ testId?: string | undefined;
2595
+ id?: string | undefined;
2596
+ attributeName?: string | undefined;
2597
+ text?: string | undefined;
2598
+ css?: string | undefined;
2599
+ frame?: number | undefined;
2600
+ };
2601
+ } | {
2602
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
2603
+ value: string;
2604
+ } | {
2605
+ type: "network_response";
2606
+ value: string;
2607
+ status?: number | undefined;
2608
+ } | {
2609
+ type: "download_created";
2610
+ value?: string | undefined;
2611
+ } | {
2612
+ type: "page_changed";
2613
+ value: string;
2614
+ })[] | undefined;
2615
+ timeoutMs?: number | undefined;
2616
+ type: "switchTab";
2617
+ index: number;
2618
+ } | {
2619
+ sensitive?: boolean | undefined;
2620
+ verify?: ({
2621
+ type: "input_value_equals";
2622
+ target: string | {
2623
+ role?: string | undefined;
2624
+ name?: string | undefined;
2625
+ label?: string | undefined;
2626
+ placeholder?: string | undefined;
2627
+ testId?: string | undefined;
2628
+ id?: string | undefined;
2629
+ attributeName?: string | undefined;
2630
+ text?: string | undefined;
2631
+ css?: string | undefined;
2632
+ frame?: number | undefined;
2633
+ };
2634
+ value: string;
2635
+ } | {
2636
+ type: "extraction_created";
2637
+ key?: string | undefined;
2638
+ } | {
2639
+ type: "extraction_contains";
2640
+ key?: string | undefined;
2641
+ value: string;
2642
+ } | {
2643
+ type: "tab_count";
2644
+ count: number;
2645
+ } | {
2646
+ type: "extraction_count";
2647
+ key?: string | undefined;
2648
+ min: number;
2649
+ max?: number | undefined;
2650
+ } | {
2651
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
2652
+ target: string | {
2653
+ role?: string | undefined;
2654
+ name?: string | undefined;
2655
+ label?: string | undefined;
2656
+ placeholder?: string | undefined;
2657
+ testId?: string | undefined;
2658
+ id?: string | undefined;
2659
+ attributeName?: string | undefined;
2660
+ text?: string | undefined;
2661
+ css?: string | undefined;
2662
+ frame?: number | undefined;
2663
+ };
2664
+ } | {
2665
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
2666
+ value: string;
2667
+ } | {
2668
+ type: "network_response";
2669
+ value: string;
2670
+ status?: number | undefined;
2671
+ } | {
2672
+ type: "download_created";
2673
+ value?: string | undefined;
2674
+ } | {
2675
+ type: "page_changed";
2676
+ value: string;
2677
+ })[] | undefined;
2678
+ timeoutMs?: number | undefined;
2679
+ type: "check" | "click" | "doubleClick" | "hover" | "submit" | "uncheck";
2680
+ target: string | {
2681
+ role?: string | undefined;
2682
+ name?: string | undefined;
2683
+ label?: string | undefined;
2684
+ placeholder?: string | undefined;
2685
+ testId?: string | undefined;
2686
+ id?: string | undefined;
2687
+ attributeName?: string | undefined;
2688
+ text?: string | undefined;
2689
+ css?: string | undefined;
2690
+ frame?: number | undefined;
2691
+ };
2692
+ } | {
2693
+ sensitive?: boolean | undefined;
2694
+ verify?: ({
2695
+ type: "input_value_equals";
2696
+ target: string | {
2697
+ role?: string | undefined;
2698
+ name?: string | undefined;
2699
+ label?: string | undefined;
2700
+ placeholder?: string | undefined;
2701
+ testId?: string | undefined;
2702
+ id?: string | undefined;
2703
+ attributeName?: string | undefined;
2704
+ text?: string | undefined;
2705
+ css?: string | undefined;
2706
+ frame?: number | undefined;
2707
+ };
2708
+ value: string;
2709
+ } | {
2710
+ type: "extraction_created";
2711
+ key?: string | undefined;
2712
+ } | {
2713
+ type: "extraction_contains";
2714
+ key?: string | undefined;
2715
+ value: string;
2716
+ } | {
2717
+ type: "tab_count";
2718
+ count: number;
2719
+ } | {
2720
+ type: "extraction_count";
2721
+ key?: string | undefined;
2722
+ min: number;
2723
+ max?: number | undefined;
2724
+ } | {
2725
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
2726
+ target: string | {
2727
+ role?: string | undefined;
2728
+ name?: string | undefined;
2729
+ label?: string | undefined;
2730
+ placeholder?: string | undefined;
2731
+ testId?: string | undefined;
2732
+ id?: string | undefined;
2733
+ attributeName?: string | undefined;
2734
+ text?: string | undefined;
2735
+ css?: string | undefined;
2736
+ frame?: number | undefined;
2737
+ };
2738
+ } | {
2739
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
2740
+ value: string;
2741
+ } | {
2742
+ type: "network_response";
2743
+ value: string;
2744
+ status?: number | undefined;
2745
+ } | {
2746
+ type: "download_created";
2747
+ value?: string | undefined;
2748
+ } | {
2749
+ type: "page_changed";
2750
+ value: string;
2751
+ })[] | undefined;
2752
+ timeoutMs?: number | undefined;
2753
+ type: "fill" | "press" | "select" | "type";
2754
+ target: string | {
2755
+ role?: string | undefined;
2756
+ name?: string | undefined;
2757
+ label?: string | undefined;
2758
+ placeholder?: string | undefined;
2759
+ testId?: string | undefined;
2760
+ id?: string | undefined;
2761
+ attributeName?: string | undefined;
2762
+ text?: string | undefined;
2763
+ css?: string | undefined;
2764
+ frame?: number | undefined;
2765
+ };
2766
+ value: string;
2767
+ } | {
2768
+ sensitive?: boolean | undefined;
2769
+ verify?: ({
2770
+ type: "input_value_equals";
2771
+ target: string | {
2772
+ role?: string | undefined;
2773
+ name?: string | undefined;
2774
+ label?: string | undefined;
2775
+ placeholder?: string | undefined;
2776
+ testId?: string | undefined;
2777
+ id?: string | undefined;
2778
+ attributeName?: string | undefined;
2779
+ text?: string | undefined;
2780
+ css?: string | undefined;
2781
+ frame?: number | undefined;
2782
+ };
2783
+ value: string;
2784
+ } | {
2785
+ type: "extraction_created";
2786
+ key?: string | undefined;
2787
+ } | {
2788
+ type: "extraction_contains";
2789
+ key?: string | undefined;
2790
+ value: string;
2791
+ } | {
2792
+ type: "tab_count";
2793
+ count: number;
2794
+ } | {
2795
+ type: "extraction_count";
2796
+ key?: string | undefined;
2797
+ min: number;
2798
+ max?: number | undefined;
2799
+ } | {
2800
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
2801
+ target: string | {
2802
+ role?: string | undefined;
2803
+ name?: string | undefined;
2804
+ label?: string | undefined;
2805
+ placeholder?: string | undefined;
2806
+ testId?: string | undefined;
2807
+ id?: string | undefined;
2808
+ attributeName?: string | undefined;
2809
+ text?: string | undefined;
2810
+ css?: string | undefined;
2811
+ frame?: number | undefined;
2812
+ };
2813
+ } | {
2814
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
2815
+ value: string;
2816
+ } | {
2817
+ type: "network_response";
2818
+ value: string;
2819
+ status?: number | undefined;
2820
+ } | {
2821
+ type: "download_created";
2822
+ value?: string | undefined;
2823
+ } | {
2824
+ type: "page_changed";
2825
+ value: string;
2826
+ })[] | undefined;
2827
+ timeoutMs?: number | undefined;
2828
+ type: "navigate" | "openTab";
2829
+ url: string;
2830
+ } | {
2831
+ sensitive?: boolean | undefined;
2832
+ verify?: ({
2833
+ type: "input_value_equals";
2834
+ target: string | {
2835
+ role?: string | undefined;
2836
+ name?: string | undefined;
2837
+ label?: string | undefined;
2838
+ placeholder?: string | undefined;
2839
+ testId?: string | undefined;
2840
+ id?: string | undefined;
2841
+ attributeName?: string | undefined;
2842
+ text?: string | undefined;
2843
+ css?: string | undefined;
2844
+ frame?: number | undefined;
2845
+ };
2846
+ value: string;
2847
+ } | {
2848
+ type: "extraction_created";
2849
+ key?: string | undefined;
2850
+ } | {
2851
+ type: "extraction_contains";
2852
+ key?: string | undefined;
2853
+ value: string;
2854
+ } | {
2855
+ type: "tab_count";
2856
+ count: number;
2857
+ } | {
2858
+ type: "extraction_count";
2859
+ key?: string | undefined;
2860
+ min: number;
2861
+ max?: number | undefined;
2862
+ } | {
2863
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
2864
+ target: string | {
2865
+ role?: string | undefined;
2866
+ name?: string | undefined;
2867
+ label?: string | undefined;
2868
+ placeholder?: string | undefined;
2869
+ testId?: string | undefined;
2870
+ id?: string | undefined;
2871
+ attributeName?: string | undefined;
2872
+ text?: string | undefined;
2873
+ css?: string | undefined;
2874
+ frame?: number | undefined;
2875
+ };
2876
+ } | {
2877
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
2878
+ value: string;
2879
+ } | {
2880
+ type: "network_response";
2881
+ value: string;
2882
+ status?: number | undefined;
2883
+ } | {
2884
+ type: "download_created";
2885
+ value?: string | undefined;
2886
+ } | {
2887
+ type: "page_changed";
2888
+ value: string;
2889
+ })[] | undefined;
2890
+ timeoutMs?: number | undefined;
2891
+ type: "upload";
2892
+ target: string | {
2893
+ role?: string | undefined;
2894
+ name?: string | undefined;
2895
+ label?: string | undefined;
2896
+ placeholder?: string | undefined;
2897
+ testId?: string | undefined;
2898
+ id?: string | undefined;
2899
+ attributeName?: string | undefined;
2900
+ text?: string | undefined;
2901
+ css?: string | undefined;
2902
+ frame?: number | undefined;
2903
+ };
2904
+ file: string;
2905
+ } | {
2906
+ sensitive?: boolean | undefined;
2907
+ verify?: ({
2908
+ type: "input_value_equals";
2909
+ target: string | {
2910
+ role?: string | undefined;
2911
+ name?: string | undefined;
2912
+ label?: string | undefined;
2913
+ placeholder?: string | undefined;
2914
+ testId?: string | undefined;
2915
+ id?: string | undefined;
2916
+ attributeName?: string | undefined;
2917
+ text?: string | undefined;
2918
+ css?: string | undefined;
2919
+ frame?: number | undefined;
2920
+ };
2921
+ value: string;
2922
+ } | {
2923
+ type: "extraction_created";
2924
+ key?: string | undefined;
2925
+ } | {
2926
+ type: "extraction_contains";
2927
+ key?: string | undefined;
2928
+ value: string;
2929
+ } | {
2930
+ type: "tab_count";
2931
+ count: number;
2932
+ } | {
2933
+ type: "extraction_count";
2934
+ key?: string | undefined;
2935
+ min: number;
2936
+ max?: number | undefined;
2937
+ } | {
2938
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
2939
+ target: string | {
2940
+ role?: string | undefined;
2941
+ name?: string | undefined;
2942
+ label?: string | undefined;
2943
+ placeholder?: string | undefined;
2944
+ testId?: string | undefined;
2945
+ id?: string | undefined;
2946
+ attributeName?: string | undefined;
2947
+ text?: string | undefined;
2948
+ css?: string | undefined;
2949
+ frame?: number | undefined;
2950
+ };
2951
+ } | {
2952
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
2953
+ value: string;
2954
+ } | {
2955
+ type: "network_response";
2956
+ value: string;
2957
+ status?: number | undefined;
2958
+ } | {
2959
+ type: "download_created";
2960
+ value?: string | undefined;
2961
+ } | {
2962
+ type: "page_changed";
2963
+ value: string;
2964
+ })[] | undefined;
2965
+ timeoutMs?: number | undefined;
2966
+ type: "download";
2967
+ target: string | {
2968
+ role?: string | undefined;
2969
+ name?: string | undefined;
2970
+ label?: string | undefined;
2971
+ placeholder?: string | undefined;
2972
+ testId?: string | undefined;
2973
+ id?: string | undefined;
2974
+ attributeName?: string | undefined;
2975
+ text?: string | undefined;
2976
+ css?: string | undefined;
2977
+ frame?: number | undefined;
2978
+ };
2979
+ filename?: string | undefined;
2980
+ } | {
2981
+ sensitive?: boolean | undefined;
2982
+ verify?: ({
2983
+ type: "input_value_equals";
2984
+ target: string | {
2985
+ role?: string | undefined;
2986
+ name?: string | undefined;
2987
+ label?: string | undefined;
2988
+ placeholder?: string | undefined;
2989
+ testId?: string | undefined;
2990
+ id?: string | undefined;
2991
+ attributeName?: string | undefined;
2992
+ text?: string | undefined;
2993
+ css?: string | undefined;
2994
+ frame?: number | undefined;
2995
+ };
2996
+ value: string;
2997
+ } | {
2998
+ type: "extraction_created";
2999
+ key?: string | undefined;
3000
+ } | {
3001
+ type: "extraction_contains";
3002
+ key?: string | undefined;
3003
+ value: string;
3004
+ } | {
3005
+ type: "tab_count";
3006
+ count: number;
3007
+ } | {
3008
+ type: "extraction_count";
3009
+ key?: string | undefined;
3010
+ min: number;
3011
+ max?: number | undefined;
3012
+ } | {
3013
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3014
+ target: string | {
3015
+ role?: string | undefined;
3016
+ name?: string | undefined;
3017
+ label?: string | undefined;
3018
+ placeholder?: string | undefined;
3019
+ testId?: string | undefined;
3020
+ id?: string | undefined;
3021
+ attributeName?: string | undefined;
3022
+ text?: string | undefined;
3023
+ css?: string | undefined;
3024
+ frame?: number | undefined;
3025
+ };
3026
+ } | {
3027
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3028
+ value: string;
3029
+ } | {
3030
+ type: "network_response";
3031
+ value: string;
3032
+ status?: number | undefined;
3033
+ } | {
3034
+ type: "download_created";
3035
+ value?: string | undefined;
3036
+ } | {
3037
+ type: "page_changed";
3038
+ value: string;
3039
+ })[] | undefined;
3040
+ timeoutMs?: number | undefined;
3041
+ type: "extract";
3042
+ target?: string | {
3043
+ role?: string | undefined;
3044
+ name?: string | undefined;
3045
+ label?: string | undefined;
3046
+ placeholder?: string | undefined;
3047
+ testId?: string | undefined;
3048
+ id?: string | undefined;
3049
+ attributeName?: string | undefined;
3050
+ text?: string | undefined;
3051
+ css?: string | undefined;
3052
+ frame?: number | undefined;
3053
+ } | undefined;
3054
+ format: "links" | "records" | "table" | "text";
3055
+ key: string;
3056
+ match?: string | undefined;
3057
+ limit?: number | undefined;
3058
+ fields?: Record<string, {
3059
+ css: string;
3060
+ attribute: "href" | "src" | "text" | "title" | "value";
3061
+ }> | undefined;
3062
+ } | {
3063
+ sensitive?: boolean | undefined;
3064
+ verify?: ({
3065
+ type: "input_value_equals";
3066
+ target: string | {
3067
+ role?: string | undefined;
3068
+ name?: string | undefined;
3069
+ label?: string | undefined;
3070
+ placeholder?: string | undefined;
3071
+ testId?: string | undefined;
3072
+ id?: string | undefined;
3073
+ attributeName?: string | undefined;
3074
+ text?: string | undefined;
3075
+ css?: string | undefined;
3076
+ frame?: number | undefined;
3077
+ };
3078
+ value: string;
3079
+ } | {
3080
+ type: "extraction_created";
3081
+ key?: string | undefined;
3082
+ } | {
3083
+ type: "extraction_contains";
3084
+ key?: string | undefined;
3085
+ value: string;
3086
+ } | {
3087
+ type: "tab_count";
3088
+ count: number;
3089
+ } | {
3090
+ type: "extraction_count";
3091
+ key?: string | undefined;
3092
+ min: number;
3093
+ max?: number | undefined;
3094
+ } | {
3095
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3096
+ target: string | {
3097
+ role?: string | undefined;
3098
+ name?: string | undefined;
3099
+ label?: string | undefined;
3100
+ placeholder?: string | undefined;
3101
+ testId?: string | undefined;
3102
+ id?: string | undefined;
3103
+ attributeName?: string | undefined;
3104
+ text?: string | undefined;
3105
+ css?: string | undefined;
3106
+ frame?: number | undefined;
3107
+ };
3108
+ } | {
3109
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3110
+ value: string;
3111
+ } | {
3112
+ type: "network_response";
3113
+ value: string;
3114
+ status?: number | undefined;
3115
+ } | {
3116
+ type: "download_created";
3117
+ value?: string | undefined;
3118
+ } | {
3119
+ type: "page_changed";
3120
+ value: string;
3121
+ })[] | undefined;
3122
+ timeoutMs?: number | undefined;
3123
+ type: "wait";
3124
+ condition: {
3125
+ type: "input_value_equals";
3126
+ target: string | {
3127
+ role?: string | undefined;
3128
+ name?: string | undefined;
3129
+ label?: string | undefined;
3130
+ placeholder?: string | undefined;
3131
+ testId?: string | undefined;
3132
+ id?: string | undefined;
3133
+ attributeName?: string | undefined;
3134
+ text?: string | undefined;
3135
+ css?: string | undefined;
3136
+ frame?: number | undefined;
3137
+ };
3138
+ value: string;
3139
+ } | {
3140
+ type: "extraction_created";
3141
+ key?: string | undefined;
3142
+ } | {
3143
+ type: "extraction_contains";
3144
+ key?: string | undefined;
3145
+ value: string;
3146
+ } | {
3147
+ type: "tab_count";
3148
+ count: number;
3149
+ } | {
3150
+ type: "extraction_count";
3151
+ key?: string | undefined;
3152
+ min: number;
3153
+ max?: number | undefined;
3154
+ } | {
3155
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3156
+ target: string | {
3157
+ role?: string | undefined;
3158
+ name?: string | undefined;
3159
+ label?: string | undefined;
3160
+ placeholder?: string | undefined;
3161
+ testId?: string | undefined;
3162
+ id?: string | undefined;
3163
+ attributeName?: string | undefined;
3164
+ text?: string | undefined;
3165
+ css?: string | undefined;
3166
+ frame?: number | undefined;
3167
+ };
3168
+ } | {
3169
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3170
+ value: string;
3171
+ } | {
3172
+ type: "network_response";
3173
+ value: string;
3174
+ status?: number | undefined;
3175
+ } | {
3176
+ type: "download_created";
3177
+ value?: string | undefined;
3178
+ } | {
3179
+ type: "page_changed";
3180
+ value: string;
3181
+ };
3182
+ } | {
3183
+ sensitive?: boolean | undefined;
3184
+ verify?: ({
3185
+ type: "input_value_equals";
3186
+ target: string | {
3187
+ role?: string | undefined;
3188
+ name?: string | undefined;
3189
+ label?: string | undefined;
3190
+ placeholder?: string | undefined;
3191
+ testId?: string | undefined;
3192
+ id?: string | undefined;
3193
+ attributeName?: string | undefined;
3194
+ text?: string | undefined;
3195
+ css?: string | undefined;
3196
+ frame?: number | undefined;
3197
+ };
3198
+ value: string;
3199
+ } | {
3200
+ type: "extraction_created";
3201
+ key?: string | undefined;
3202
+ } | {
3203
+ type: "extraction_contains";
3204
+ key?: string | undefined;
3205
+ value: string;
3206
+ } | {
3207
+ type: "tab_count";
3208
+ count: number;
3209
+ } | {
3210
+ type: "extraction_count";
3211
+ key?: string | undefined;
3212
+ min: number;
3213
+ max?: number | undefined;
3214
+ } | {
3215
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3216
+ target: string | {
3217
+ role?: string | undefined;
3218
+ name?: string | undefined;
3219
+ label?: string | undefined;
3220
+ placeholder?: string | undefined;
3221
+ testId?: string | undefined;
3222
+ id?: string | undefined;
3223
+ attributeName?: string | undefined;
3224
+ text?: string | undefined;
3225
+ css?: string | undefined;
3226
+ frame?: number | undefined;
3227
+ };
3228
+ } | {
3229
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3230
+ value: string;
3231
+ } | {
3232
+ type: "network_response";
3233
+ value: string;
3234
+ status?: number | undefined;
3235
+ } | {
3236
+ type: "download_created";
3237
+ value?: string | undefined;
3238
+ } | {
3239
+ type: "page_changed";
3240
+ value: string;
3241
+ })[] | undefined;
3242
+ timeoutMs?: number | undefined;
3243
+ type: "scroll";
3244
+ target?: string | {
3245
+ role?: string | undefined;
3246
+ name?: string | undefined;
3247
+ label?: string | undefined;
3248
+ placeholder?: string | undefined;
3249
+ testId?: string | undefined;
3250
+ id?: string | undefined;
3251
+ attributeName?: string | undefined;
3252
+ text?: string | undefined;
3253
+ css?: string | undefined;
3254
+ frame?: number | undefined;
3255
+ } | undefined;
3256
+ direction: "down" | "up";
3257
+ pixels: number;
3258
+ } | {
3259
+ sensitive?: boolean | undefined;
3260
+ verify?: ({
3261
+ type: "input_value_equals";
3262
+ target: string | {
3263
+ role?: string | undefined;
3264
+ name?: string | undefined;
3265
+ label?: string | undefined;
3266
+ placeholder?: string | undefined;
3267
+ testId?: string | undefined;
3268
+ id?: string | undefined;
3269
+ attributeName?: string | undefined;
3270
+ text?: string | undefined;
3271
+ css?: string | undefined;
3272
+ frame?: number | undefined;
3273
+ };
3274
+ value: string;
3275
+ } | {
3276
+ type: "extraction_created";
3277
+ key?: string | undefined;
3278
+ } | {
3279
+ type: "extraction_contains";
3280
+ key?: string | undefined;
3281
+ value: string;
3282
+ } | {
3283
+ type: "tab_count";
3284
+ count: number;
3285
+ } | {
3286
+ type: "extraction_count";
3287
+ key?: string | undefined;
3288
+ min: number;
3289
+ max?: number | undefined;
3290
+ } | {
3291
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3292
+ target: string | {
3293
+ role?: string | undefined;
3294
+ name?: string | undefined;
3295
+ label?: string | undefined;
3296
+ placeholder?: string | undefined;
3297
+ testId?: string | undefined;
3298
+ id?: string | undefined;
3299
+ attributeName?: string | undefined;
3300
+ text?: string | undefined;
3301
+ css?: string | undefined;
3302
+ frame?: number | undefined;
3303
+ };
3304
+ } | {
3305
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3306
+ value: string;
3307
+ } | {
3308
+ type: "network_response";
3309
+ value: string;
3310
+ status?: number | undefined;
3311
+ } | {
3312
+ type: "download_created";
3313
+ value?: string | undefined;
3314
+ } | {
3315
+ type: "page_changed";
3316
+ value: string;
3317
+ })[] | undefined;
3318
+ timeoutMs?: number | undefined;
3319
+ type: "back" | "closeTab" | "forward" | "reload";
3320
+ };
3321
+ export declare const validatePlan: (value: unknown) => {
3322
+ goal: string;
3323
+ steps: string[];
3324
+ actions: ({
3325
+ sensitive?: boolean | undefined;
3326
+ verify?: ({
3327
+ type: "input_value_equals";
3328
+ target: string | {
3329
+ role?: string | undefined;
3330
+ name?: string | undefined;
3331
+ label?: string | undefined;
3332
+ placeholder?: string | undefined;
3333
+ testId?: string | undefined;
3334
+ id?: string | undefined;
3335
+ attributeName?: string | undefined;
3336
+ text?: string | undefined;
3337
+ css?: string | undefined;
3338
+ frame?: number | undefined;
3339
+ };
3340
+ value: string;
3341
+ } | {
3342
+ type: "extraction_created";
3343
+ key?: string | undefined;
3344
+ } | {
3345
+ type: "extraction_contains";
3346
+ key?: string | undefined;
3347
+ value: string;
3348
+ } | {
3349
+ type: "tab_count";
3350
+ count: number;
3351
+ } | {
3352
+ type: "extraction_count";
3353
+ key?: string | undefined;
3354
+ min: number;
3355
+ max?: number | undefined;
3356
+ } | {
3357
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3358
+ target: string | {
3359
+ role?: string | undefined;
3360
+ name?: string | undefined;
3361
+ label?: string | undefined;
3362
+ placeholder?: string | undefined;
3363
+ testId?: string | undefined;
3364
+ id?: string | undefined;
3365
+ attributeName?: string | undefined;
3366
+ text?: string | undefined;
3367
+ css?: string | undefined;
3368
+ frame?: number | undefined;
3369
+ };
3370
+ } | {
3371
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3372
+ value: string;
3373
+ } | {
3374
+ type: "network_response";
3375
+ value: string;
3376
+ status?: number | undefined;
3377
+ } | {
3378
+ type: "download_created";
3379
+ value?: string | undefined;
3380
+ } | {
3381
+ type: "page_changed";
3382
+ value: string;
3383
+ })[] | undefined;
3384
+ timeoutMs?: number | undefined;
3385
+ type: "switchTab";
3386
+ index: number;
3387
+ } | {
3388
+ sensitive?: boolean | undefined;
3389
+ verify?: ({
3390
+ type: "input_value_equals";
3391
+ target: string | {
3392
+ role?: string | undefined;
3393
+ name?: string | undefined;
3394
+ label?: string | undefined;
3395
+ placeholder?: string | undefined;
3396
+ testId?: string | undefined;
3397
+ id?: string | undefined;
3398
+ attributeName?: string | undefined;
3399
+ text?: string | undefined;
3400
+ css?: string | undefined;
3401
+ frame?: number | undefined;
3402
+ };
3403
+ value: string;
3404
+ } | {
3405
+ type: "extraction_created";
3406
+ key?: string | undefined;
3407
+ } | {
3408
+ type: "extraction_contains";
3409
+ key?: string | undefined;
3410
+ value: string;
3411
+ } | {
3412
+ type: "tab_count";
3413
+ count: number;
3414
+ } | {
3415
+ type: "extraction_count";
3416
+ key?: string | undefined;
3417
+ min: number;
3418
+ max?: number | undefined;
3419
+ } | {
3420
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3421
+ target: string | {
3422
+ role?: string | undefined;
3423
+ name?: string | undefined;
3424
+ label?: string | undefined;
3425
+ placeholder?: string | undefined;
3426
+ testId?: string | undefined;
3427
+ id?: string | undefined;
3428
+ attributeName?: string | undefined;
3429
+ text?: string | undefined;
3430
+ css?: string | undefined;
3431
+ frame?: number | undefined;
3432
+ };
3433
+ } | {
3434
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3435
+ value: string;
3436
+ } | {
3437
+ type: "network_response";
3438
+ value: string;
3439
+ status?: number | undefined;
3440
+ } | {
3441
+ type: "download_created";
3442
+ value?: string | undefined;
3443
+ } | {
3444
+ type: "page_changed";
3445
+ value: string;
3446
+ })[] | undefined;
3447
+ timeoutMs?: number | undefined;
3448
+ type: "check" | "click" | "doubleClick" | "hover" | "submit" | "uncheck";
3449
+ target: string | {
3450
+ role?: string | undefined;
3451
+ name?: string | undefined;
3452
+ label?: string | undefined;
3453
+ placeholder?: string | undefined;
3454
+ testId?: string | undefined;
3455
+ id?: string | undefined;
3456
+ attributeName?: string | undefined;
3457
+ text?: string | undefined;
3458
+ css?: string | undefined;
3459
+ frame?: number | undefined;
3460
+ };
3461
+ } | {
3462
+ sensitive?: boolean | undefined;
3463
+ verify?: ({
3464
+ type: "input_value_equals";
3465
+ target: string | {
3466
+ role?: string | undefined;
3467
+ name?: string | undefined;
3468
+ label?: string | undefined;
3469
+ placeholder?: string | undefined;
3470
+ testId?: string | undefined;
3471
+ id?: string | undefined;
3472
+ attributeName?: string | undefined;
3473
+ text?: string | undefined;
3474
+ css?: string | undefined;
3475
+ frame?: number | undefined;
3476
+ };
3477
+ value: string;
3478
+ } | {
3479
+ type: "extraction_created";
3480
+ key?: string | undefined;
3481
+ } | {
3482
+ type: "extraction_contains";
3483
+ key?: string | undefined;
3484
+ value: string;
3485
+ } | {
3486
+ type: "tab_count";
3487
+ count: number;
3488
+ } | {
3489
+ type: "extraction_count";
3490
+ key?: string | undefined;
3491
+ min: number;
3492
+ max?: number | undefined;
3493
+ } | {
3494
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3495
+ target: string | {
3496
+ role?: string | undefined;
3497
+ name?: string | undefined;
3498
+ label?: string | undefined;
3499
+ placeholder?: string | undefined;
3500
+ testId?: string | undefined;
3501
+ id?: string | undefined;
3502
+ attributeName?: string | undefined;
3503
+ text?: string | undefined;
3504
+ css?: string | undefined;
3505
+ frame?: number | undefined;
3506
+ };
3507
+ } | {
3508
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3509
+ value: string;
3510
+ } | {
3511
+ type: "network_response";
3512
+ value: string;
3513
+ status?: number | undefined;
3514
+ } | {
3515
+ type: "download_created";
3516
+ value?: string | undefined;
3517
+ } | {
3518
+ type: "page_changed";
3519
+ value: string;
3520
+ })[] | undefined;
3521
+ timeoutMs?: number | undefined;
3522
+ type: "fill" | "press" | "select" | "type";
3523
+ target: string | {
3524
+ role?: string | undefined;
3525
+ name?: string | undefined;
3526
+ label?: string | undefined;
3527
+ placeholder?: string | undefined;
3528
+ testId?: string | undefined;
3529
+ id?: string | undefined;
3530
+ attributeName?: string | undefined;
3531
+ text?: string | undefined;
3532
+ css?: string | undefined;
3533
+ frame?: number | undefined;
3534
+ };
3535
+ value: string;
3536
+ } | {
3537
+ sensitive?: boolean | undefined;
3538
+ verify?: ({
3539
+ type: "input_value_equals";
3540
+ target: string | {
3541
+ role?: string | undefined;
3542
+ name?: string | undefined;
3543
+ label?: string | undefined;
3544
+ placeholder?: string | undefined;
3545
+ testId?: string | undefined;
3546
+ id?: string | undefined;
3547
+ attributeName?: string | undefined;
3548
+ text?: string | undefined;
3549
+ css?: string | undefined;
3550
+ frame?: number | undefined;
3551
+ };
3552
+ value: string;
3553
+ } | {
3554
+ type: "extraction_created";
3555
+ key?: string | undefined;
3556
+ } | {
3557
+ type: "extraction_contains";
3558
+ key?: string | undefined;
3559
+ value: string;
3560
+ } | {
3561
+ type: "tab_count";
3562
+ count: number;
3563
+ } | {
3564
+ type: "extraction_count";
3565
+ key?: string | undefined;
3566
+ min: number;
3567
+ max?: number | undefined;
3568
+ } | {
3569
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3570
+ target: string | {
3571
+ role?: string | undefined;
3572
+ name?: string | undefined;
3573
+ label?: string | undefined;
3574
+ placeholder?: string | undefined;
3575
+ testId?: string | undefined;
3576
+ id?: string | undefined;
3577
+ attributeName?: string | undefined;
3578
+ text?: string | undefined;
3579
+ css?: string | undefined;
3580
+ frame?: number | undefined;
3581
+ };
3582
+ } | {
3583
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3584
+ value: string;
3585
+ } | {
3586
+ type: "network_response";
3587
+ value: string;
3588
+ status?: number | undefined;
3589
+ } | {
3590
+ type: "download_created";
3591
+ value?: string | undefined;
3592
+ } | {
3593
+ type: "page_changed";
3594
+ value: string;
3595
+ })[] | undefined;
3596
+ timeoutMs?: number | undefined;
3597
+ type: "navigate" | "openTab";
3598
+ url: string;
3599
+ } | {
3600
+ sensitive?: boolean | undefined;
3601
+ verify?: ({
3602
+ type: "input_value_equals";
3603
+ target: string | {
3604
+ role?: string | undefined;
3605
+ name?: string | undefined;
3606
+ label?: string | undefined;
3607
+ placeholder?: string | undefined;
3608
+ testId?: string | undefined;
3609
+ id?: string | undefined;
3610
+ attributeName?: string | undefined;
3611
+ text?: string | undefined;
3612
+ css?: string | undefined;
3613
+ frame?: number | undefined;
3614
+ };
3615
+ value: string;
3616
+ } | {
3617
+ type: "extraction_created";
3618
+ key?: string | undefined;
3619
+ } | {
3620
+ type: "extraction_contains";
3621
+ key?: string | undefined;
3622
+ value: string;
3623
+ } | {
3624
+ type: "tab_count";
3625
+ count: number;
3626
+ } | {
3627
+ type: "extraction_count";
3628
+ key?: string | undefined;
3629
+ min: number;
3630
+ max?: number | undefined;
3631
+ } | {
3632
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3633
+ target: string | {
3634
+ role?: string | undefined;
3635
+ name?: string | undefined;
3636
+ label?: string | undefined;
3637
+ placeholder?: string | undefined;
3638
+ testId?: string | undefined;
3639
+ id?: string | undefined;
3640
+ attributeName?: string | undefined;
3641
+ text?: string | undefined;
3642
+ css?: string | undefined;
3643
+ frame?: number | undefined;
3644
+ };
3645
+ } | {
3646
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3647
+ value: string;
3648
+ } | {
3649
+ type: "network_response";
3650
+ value: string;
3651
+ status?: number | undefined;
3652
+ } | {
3653
+ type: "download_created";
3654
+ value?: string | undefined;
3655
+ } | {
3656
+ type: "page_changed";
3657
+ value: string;
3658
+ })[] | undefined;
3659
+ timeoutMs?: number | undefined;
3660
+ type: "upload";
3661
+ target: string | {
3662
+ role?: string | undefined;
3663
+ name?: string | undefined;
3664
+ label?: string | undefined;
3665
+ placeholder?: string | undefined;
3666
+ testId?: string | undefined;
3667
+ id?: string | undefined;
3668
+ attributeName?: string | undefined;
3669
+ text?: string | undefined;
3670
+ css?: string | undefined;
3671
+ frame?: number | undefined;
3672
+ };
3673
+ file: string;
3674
+ } | {
3675
+ sensitive?: boolean | undefined;
3676
+ verify?: ({
3677
+ type: "input_value_equals";
3678
+ target: string | {
3679
+ role?: string | undefined;
3680
+ name?: string | undefined;
3681
+ label?: string | undefined;
3682
+ placeholder?: string | undefined;
3683
+ testId?: string | undefined;
3684
+ id?: string | undefined;
3685
+ attributeName?: string | undefined;
3686
+ text?: string | undefined;
3687
+ css?: string | undefined;
3688
+ frame?: number | undefined;
3689
+ };
3690
+ value: string;
3691
+ } | {
3692
+ type: "extraction_created";
3693
+ key?: string | undefined;
3694
+ } | {
3695
+ type: "extraction_contains";
3696
+ key?: string | undefined;
3697
+ value: string;
3698
+ } | {
3699
+ type: "tab_count";
3700
+ count: number;
3701
+ } | {
3702
+ type: "extraction_count";
3703
+ key?: string | undefined;
3704
+ min: number;
3705
+ max?: number | undefined;
3706
+ } | {
3707
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3708
+ target: string | {
3709
+ role?: string | undefined;
3710
+ name?: string | undefined;
3711
+ label?: string | undefined;
3712
+ placeholder?: string | undefined;
3713
+ testId?: string | undefined;
3714
+ id?: string | undefined;
3715
+ attributeName?: string | undefined;
3716
+ text?: string | undefined;
3717
+ css?: string | undefined;
3718
+ frame?: number | undefined;
3719
+ };
3720
+ } | {
3721
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3722
+ value: string;
3723
+ } | {
3724
+ type: "network_response";
3725
+ value: string;
3726
+ status?: number | undefined;
3727
+ } | {
3728
+ type: "download_created";
3729
+ value?: string | undefined;
3730
+ } | {
3731
+ type: "page_changed";
3732
+ value: string;
3733
+ })[] | undefined;
3734
+ timeoutMs?: number | undefined;
3735
+ type: "download";
3736
+ target: string | {
3737
+ role?: string | undefined;
3738
+ name?: string | undefined;
3739
+ label?: string | undefined;
3740
+ placeholder?: string | undefined;
3741
+ testId?: string | undefined;
3742
+ id?: string | undefined;
3743
+ attributeName?: string | undefined;
3744
+ text?: string | undefined;
3745
+ css?: string | undefined;
3746
+ frame?: number | undefined;
3747
+ };
3748
+ filename?: string | undefined;
3749
+ } | {
3750
+ sensitive?: boolean | undefined;
3751
+ verify?: ({
3752
+ type: "input_value_equals";
3753
+ target: string | {
3754
+ role?: string | undefined;
3755
+ name?: string | undefined;
3756
+ label?: string | undefined;
3757
+ placeholder?: string | undefined;
3758
+ testId?: string | undefined;
3759
+ id?: string | undefined;
3760
+ attributeName?: string | undefined;
3761
+ text?: string | undefined;
3762
+ css?: string | undefined;
3763
+ frame?: number | undefined;
3764
+ };
3765
+ value: string;
3766
+ } | {
3767
+ type: "extraction_created";
3768
+ key?: string | undefined;
3769
+ } | {
3770
+ type: "extraction_contains";
3771
+ key?: string | undefined;
3772
+ value: string;
3773
+ } | {
3774
+ type: "tab_count";
3775
+ count: number;
3776
+ } | {
3777
+ type: "extraction_count";
3778
+ key?: string | undefined;
3779
+ min: number;
3780
+ max?: number | undefined;
3781
+ } | {
3782
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3783
+ target: string | {
3784
+ role?: string | undefined;
3785
+ name?: string | undefined;
3786
+ label?: string | undefined;
3787
+ placeholder?: string | undefined;
3788
+ testId?: string | undefined;
3789
+ id?: string | undefined;
3790
+ attributeName?: string | undefined;
3791
+ text?: string | undefined;
3792
+ css?: string | undefined;
3793
+ frame?: number | undefined;
3794
+ };
3795
+ } | {
3796
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3797
+ value: string;
3798
+ } | {
3799
+ type: "network_response";
3800
+ value: string;
3801
+ status?: number | undefined;
3802
+ } | {
3803
+ type: "download_created";
3804
+ value?: string | undefined;
3805
+ } | {
3806
+ type: "page_changed";
3807
+ value: string;
3808
+ })[] | undefined;
3809
+ timeoutMs?: number | undefined;
3810
+ type: "extract";
3811
+ target?: string | {
3812
+ role?: string | undefined;
3813
+ name?: string | undefined;
3814
+ label?: string | undefined;
3815
+ placeholder?: string | undefined;
3816
+ testId?: string | undefined;
3817
+ id?: string | undefined;
3818
+ attributeName?: string | undefined;
3819
+ text?: string | undefined;
3820
+ css?: string | undefined;
3821
+ frame?: number | undefined;
3822
+ } | undefined;
3823
+ format: "links" | "records" | "table" | "text";
3824
+ key: string;
3825
+ match?: string | undefined;
3826
+ limit?: number | undefined;
3827
+ fields?: Record<string, {
3828
+ css: string;
3829
+ attribute: "href" | "src" | "text" | "title" | "value";
3830
+ }> | undefined;
3831
+ } | {
3832
+ sensitive?: boolean | undefined;
3833
+ verify?: ({
3834
+ type: "input_value_equals";
3835
+ target: string | {
3836
+ role?: string | undefined;
3837
+ name?: string | undefined;
3838
+ label?: string | undefined;
3839
+ placeholder?: string | undefined;
3840
+ testId?: string | undefined;
3841
+ id?: string | undefined;
3842
+ attributeName?: string | undefined;
3843
+ text?: string | undefined;
3844
+ css?: string | undefined;
3845
+ frame?: number | undefined;
3846
+ };
3847
+ value: string;
3848
+ } | {
3849
+ type: "extraction_created";
3850
+ key?: string | undefined;
3851
+ } | {
3852
+ type: "extraction_contains";
3853
+ key?: string | undefined;
3854
+ value: string;
3855
+ } | {
3856
+ type: "tab_count";
3857
+ count: number;
3858
+ } | {
3859
+ type: "extraction_count";
3860
+ key?: string | undefined;
3861
+ min: number;
3862
+ max?: number | undefined;
3863
+ } | {
3864
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3865
+ target: string | {
3866
+ role?: string | undefined;
3867
+ name?: string | undefined;
3868
+ label?: string | undefined;
3869
+ placeholder?: string | undefined;
3870
+ testId?: string | undefined;
3871
+ id?: string | undefined;
3872
+ attributeName?: string | undefined;
3873
+ text?: string | undefined;
3874
+ css?: string | undefined;
3875
+ frame?: number | undefined;
3876
+ };
3877
+ } | {
3878
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3879
+ value: string;
3880
+ } | {
3881
+ type: "network_response";
3882
+ value: string;
3883
+ status?: number | undefined;
3884
+ } | {
3885
+ type: "download_created";
3886
+ value?: string | undefined;
3887
+ } | {
3888
+ type: "page_changed";
3889
+ value: string;
3890
+ })[] | undefined;
3891
+ timeoutMs?: number | undefined;
3892
+ type: "wait";
3893
+ condition: {
3894
+ type: "input_value_equals";
3895
+ target: string | {
3896
+ role?: string | undefined;
3897
+ name?: string | undefined;
3898
+ label?: string | undefined;
3899
+ placeholder?: string | undefined;
3900
+ testId?: string | undefined;
3901
+ id?: string | undefined;
3902
+ attributeName?: string | undefined;
3903
+ text?: string | undefined;
3904
+ css?: string | undefined;
3905
+ frame?: number | undefined;
3906
+ };
3907
+ value: string;
3908
+ } | {
3909
+ type: "extraction_created";
3910
+ key?: string | undefined;
3911
+ } | {
3912
+ type: "extraction_contains";
3913
+ key?: string | undefined;
3914
+ value: string;
3915
+ } | {
3916
+ type: "tab_count";
3917
+ count: number;
3918
+ } | {
3919
+ type: "extraction_count";
3920
+ key?: string | undefined;
3921
+ min: number;
3922
+ max?: number | undefined;
3923
+ } | {
3924
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3925
+ target: string | {
3926
+ role?: string | undefined;
3927
+ name?: string | undefined;
3928
+ label?: string | undefined;
3929
+ placeholder?: string | undefined;
3930
+ testId?: string | undefined;
3931
+ id?: string | undefined;
3932
+ attributeName?: string | undefined;
3933
+ text?: string | undefined;
3934
+ css?: string | undefined;
3935
+ frame?: number | undefined;
3936
+ };
3937
+ } | {
3938
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3939
+ value: string;
3940
+ } | {
3941
+ type: "network_response";
3942
+ value: string;
3943
+ status?: number | undefined;
3944
+ } | {
3945
+ type: "download_created";
3946
+ value?: string | undefined;
3947
+ } | {
3948
+ type: "page_changed";
3949
+ value: string;
3950
+ };
3951
+ } | {
3952
+ sensitive?: boolean | undefined;
3953
+ verify?: ({
3954
+ type: "input_value_equals";
3955
+ target: string | {
3956
+ role?: string | undefined;
3957
+ name?: string | undefined;
3958
+ label?: string | undefined;
3959
+ placeholder?: string | undefined;
3960
+ testId?: string | undefined;
3961
+ id?: string | undefined;
3962
+ attributeName?: string | undefined;
3963
+ text?: string | undefined;
3964
+ css?: string | undefined;
3965
+ frame?: number | undefined;
3966
+ };
3967
+ value: string;
3968
+ } | {
3969
+ type: "extraction_created";
3970
+ key?: string | undefined;
3971
+ } | {
3972
+ type: "extraction_contains";
3973
+ key?: string | undefined;
3974
+ value: string;
3975
+ } | {
3976
+ type: "tab_count";
3977
+ count: number;
3978
+ } | {
3979
+ type: "extraction_count";
3980
+ key?: string | undefined;
3981
+ min: number;
3982
+ max?: number | undefined;
3983
+ } | {
3984
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
3985
+ target: string | {
3986
+ role?: string | undefined;
3987
+ name?: string | undefined;
3988
+ label?: string | undefined;
3989
+ placeholder?: string | undefined;
3990
+ testId?: string | undefined;
3991
+ id?: string | undefined;
3992
+ attributeName?: string | undefined;
3993
+ text?: string | undefined;
3994
+ css?: string | undefined;
3995
+ frame?: number | undefined;
3996
+ };
3997
+ } | {
3998
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
3999
+ value: string;
4000
+ } | {
4001
+ type: "network_response";
4002
+ value: string;
4003
+ status?: number | undefined;
4004
+ } | {
4005
+ type: "download_created";
4006
+ value?: string | undefined;
4007
+ } | {
4008
+ type: "page_changed";
4009
+ value: string;
4010
+ })[] | undefined;
4011
+ timeoutMs?: number | undefined;
4012
+ type: "scroll";
4013
+ target?: string | {
4014
+ role?: string | undefined;
4015
+ name?: string | undefined;
4016
+ label?: string | undefined;
4017
+ placeholder?: string | undefined;
4018
+ testId?: string | undefined;
4019
+ id?: string | undefined;
4020
+ attributeName?: string | undefined;
4021
+ text?: string | undefined;
4022
+ css?: string | undefined;
4023
+ frame?: number | undefined;
4024
+ } | undefined;
4025
+ direction: "down" | "up";
4026
+ pixels: number;
4027
+ } | {
4028
+ sensitive?: boolean | undefined;
4029
+ verify?: ({
4030
+ type: "input_value_equals";
4031
+ target: string | {
4032
+ role?: string | undefined;
4033
+ name?: string | undefined;
4034
+ label?: string | undefined;
4035
+ placeholder?: string | undefined;
4036
+ testId?: string | undefined;
4037
+ id?: string | undefined;
4038
+ attributeName?: string | undefined;
4039
+ text?: string | undefined;
4040
+ css?: string | undefined;
4041
+ frame?: number | undefined;
4042
+ };
4043
+ value: string;
4044
+ } | {
4045
+ type: "extraction_created";
4046
+ key?: string | undefined;
4047
+ } | {
4048
+ type: "extraction_contains";
4049
+ key?: string | undefined;
4050
+ value: string;
4051
+ } | {
4052
+ type: "tab_count";
4053
+ count: number;
4054
+ } | {
4055
+ type: "extraction_count";
4056
+ key?: string | undefined;
4057
+ min: number;
4058
+ max?: number | undefined;
4059
+ } | {
4060
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
4061
+ target: string | {
4062
+ role?: string | undefined;
4063
+ name?: string | undefined;
4064
+ label?: string | undefined;
4065
+ placeholder?: string | undefined;
4066
+ testId?: string | undefined;
4067
+ id?: string | undefined;
4068
+ attributeName?: string | undefined;
4069
+ text?: string | undefined;
4070
+ css?: string | undefined;
4071
+ frame?: number | undefined;
4072
+ };
4073
+ } | {
4074
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
4075
+ value: string;
4076
+ } | {
4077
+ type: "network_response";
4078
+ value: string;
4079
+ status?: number | undefined;
4080
+ } | {
4081
+ type: "download_created";
4082
+ value?: string | undefined;
4083
+ } | {
4084
+ type: "page_changed";
4085
+ value: string;
4086
+ })[] | undefined;
4087
+ timeoutMs?: number | undefined;
4088
+ type: "back" | "closeTab" | "forward" | "reload";
4089
+ })[];
4090
+ completion: ({
4091
+ type: "input_value_equals";
4092
+ target: string | {
4093
+ role?: string | undefined;
4094
+ name?: string | undefined;
4095
+ label?: string | undefined;
4096
+ placeholder?: string | undefined;
4097
+ testId?: string | undefined;
4098
+ id?: string | undefined;
4099
+ attributeName?: string | undefined;
4100
+ text?: string | undefined;
4101
+ css?: string | undefined;
4102
+ frame?: number | undefined;
4103
+ };
4104
+ value: string;
4105
+ } | {
4106
+ type: "extraction_created";
4107
+ key?: string | undefined;
4108
+ } | {
4109
+ type: "extraction_contains";
4110
+ key?: string | undefined;
4111
+ value: string;
4112
+ } | {
4113
+ type: "tab_count";
4114
+ count: number;
4115
+ } | {
4116
+ type: "extraction_count";
4117
+ key?: string | undefined;
4118
+ min: number;
4119
+ max?: number | undefined;
4120
+ } | {
4121
+ type: "checkbox_checked" | "element_exists" | "element_not_visible" | "element_visible" | "form_submitted";
4122
+ target: string | {
4123
+ role?: string | undefined;
4124
+ name?: string | undefined;
4125
+ label?: string | undefined;
4126
+ placeholder?: string | undefined;
4127
+ testId?: string | undefined;
4128
+ id?: string | undefined;
4129
+ attributeName?: string | undefined;
4130
+ text?: string | undefined;
4131
+ css?: string | undefined;
4132
+ frame?: number | undefined;
4133
+ };
4134
+ } | {
4135
+ type: "text_disappeared" | "text_exists" | "title_changed" | "url_contains" | "url_equals";
4136
+ value: string;
4137
+ } | {
4138
+ type: "network_response";
4139
+ value: string;
4140
+ status?: number | undefined;
4141
+ } | {
4142
+ type: "download_created";
4143
+ value?: string | undefined;
4144
+ } | {
4145
+ type: "page_changed";
4146
+ value: string;
4147
+ })[];
4148
+ continue: boolean;
4149
+ };