zcode-app-cli 3.4.2-6 → 3.5.2-7

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 (28) hide show
  1. package/package.json +1 -1
  2. package/vendor/extraction.json +4 -4
  3. package/vendor/packages/android-emulator-plugin/scripts/build-mcp.mjs +18 -0
  4. package/vendor/packages/browser-use-plugin/.zcode-plugin/plugin.json +8 -0
  5. package/vendor/packages/browser-use-plugin/README.md +12 -0
  6. package/vendor/packages/browser-use-plugin/dist/mcp/server.js +121408 -0
  7. package/vendor/packages/browser-use-plugin/docs/all-tabs-cleanup.md +6 -0
  8. package/vendor/packages/browser-use-plugin/docs/api.json +843 -0
  9. package/vendor/packages/browser-use-plugin/docs/browser-troubleshooting.md +14 -0
  10. package/vendor/packages/browser-use-plugin/docs/documents.json +107 -0
  11. package/vendor/packages/browser-use-plugin/docs/overview.md +92 -0
  12. package/vendor/packages/browser-use-plugin/docs/playwright.md +64 -0
  13. package/vendor/packages/browser-use-plugin/docs/safety.md +7 -0
  14. package/vendor/packages/browser-use-plugin/docs/screenshot.md +24 -0
  15. package/vendor/packages/browser-use-plugin/docs/tab-claiming-iab.md +11 -0
  16. package/vendor/packages/browser-use-plugin/docs/tab-cleanup-iab-internal.md +16 -0
  17. package/vendor/packages/browser-use-plugin/docs/tab-cleanup-iab.md +11 -0
  18. package/vendor/packages/browser-use-plugin/docs/viewport.md +12 -0
  19. package/vendor/packages/browser-use-plugin/docs/visibility.md +6 -0
  20. package/vendor/packages/browser-use-plugin/docs/workflow.md +64 -0
  21. package/vendor/packages/browser-use-plugin/package.json +33 -0
  22. package/vendor/packages/browser-use-plugin/scripts/browser-client.mjs +2092 -0
  23. package/vendor/packages/browser-use-plugin/scripts/build.mjs +32 -0
  24. package/vendor/packages/browser-use-plugin/skills/control-browser/SKILL.md +171 -0
  25. package/vendor/packages/browser-use-plugin/skills/web-gui-tester/SKILL.md +156 -0
  26. package/vendor/packages/ios-simulator-plugin/scripts/build-mcp.mjs +18 -0
  27. package/vendor/zcode.cjs +768 -725
  28. package/zcode-runtime.lock.json +3 -3
@@ -0,0 +1,843 @@
1
+ {
2
+ "version": 9,
3
+ "entrypoints": [
4
+ "agent.browsers.get(\"iab\")",
5
+ "agent.browsers.getDefault()",
6
+ "agent.browsers.getForUrl(url)"
7
+ ],
8
+ "semantics": {
9
+ "success": "High-level SDK methods return the payload directly.",
10
+ "failure": "High-level SDK methods throw BrowserCommandError with code, command, and raw result.",
11
+ "discovery": "list() returns only backends reported by the host registry; the facade does not synthesize availability.",
12
+ "selection": "get() accepts an exact runtime browser id or a backend type alias. getDefault() prefers iab, preferred extension, extension, then cdp. getForUrl() also considers local targets and existing tabs.",
13
+ "navigationUrl": "goto() accepts http:, https:, and exact about:blank. file: can be a backend-selection hint but is not directly navigable; other about:* and non-web schemes are rejected.",
14
+ "tabRecovery": "Keep a valid Browser binding across turns. Before every logical tab operation batch, use a dedicated JS call to return the complete tabs.list() result to the model. After inspecting it, use the next JS call to match the target by stable id or verified URL/title, then call tabs.get(info.id). An internal or same-cell hidden list does not count as model inspection. get validates and activates that tab inside its owning scope; a background session never steals the foreground UI. Never choose a multi-tab target by array position. If no controlled tab matches, inspect user.openTabs() and claim the matching page before creating a tab.",
15
+ "tabCleanup": "IAB tabs persist for the current ZCode process until the model explicitly calls tab.close(), the user closes them, their window closes, or the process exits. finalize({ keep }) marks only listed tabs as deliverable or handoff; unlisted tabs remain open.",
16
+ "playwright": "Playwright is a Tab API surface, never a backend type. playwright.domSnapshot() returns the Codex-compatible compact AI/ARIA tree and is the default locator ground truth. Fixed waiting is tab.playwright.waitForTimeout(timeoutMs), not a root Tab method. Unsupported members are hidden by the effective capability policy.",
17
+ "locatorEvidence": "Construct locators only from the latest relevant domSnapshot. Never guess labels, accessible names, placeholders, selectors, or URL patterns. count()=0 requires a fresh snapshot and rebuild, not action-waiting; timeout/strict/parse failure forbids retrying the same locator.",
18
+ "evaluateSafety": "playwright.evaluate() and locator.evaluate() are read-only last resorts, not page-discovery tools. Prefer domSnapshot and locator reads. Never mutate DOM, navigate, fetch, or trigger actions. Possible side-effect in debug-evaluate means the current command was rejected, not that the browser crashed; do not retry an equivalent expression.",
19
+ "screenshotOutput": "After choosing the visual branch, every screenshot call must be emitted in the same JS cell as an image block with nodeRepl.emitImage(await tab.screenshot()). Never use tab.screenshot() as the final expression or return its Uint8Array bytes directly.",
20
+ "operationTimeout": "Routine locator, URL/load-state wait, and read-only evaluate operations default to and are capped at 3000ms. Fixed waitForTimeout is separate; download event waiting may use up to 120000ms.",
21
+ "navigationWait": "networkidle is rejected by the current IAB backend. expectNavigation without an expected URL can be satisfied by an already-loaded page; pass url when a new navigation must be proven.",
22
+ "roleName": "getByRole(..., { name }) accepts a string or RegExp, including RegExp values created in the node_repl VM realm."
23
+ },
24
+ "types": {
25
+ "TextMatcher": "string | RegExp",
26
+ "LoadState": "\"load\" | \"domcontentloaded\" | \"networkidle\"",
27
+ "WaitUntil": "LoadState | \"commit\"",
28
+ "WaitForState": "\"attached\" | \"detached\" | \"visible\" | \"hidden\"",
29
+ "MouseButton": "\"left\" | \"right\" | \"middle\"",
30
+ "KeyboardModifier": "\"Alt\" | \"Control\" | \"ControlOrMeta\" | \"Meta\" | \"Shift\"",
31
+ "PlaywrightEvaluateOptions": "{ timeoutMs?: number }",
32
+ "WaitForEventOptions": "{ timeoutMs?: number }",
33
+ "PageWaitForLoadStateOptions": "{ state?: LoadState; timeoutMs?: number }",
34
+ "PageWaitForURLOptions": "{ timeoutMs?: number; waitUntil?: WaitUntil }",
35
+ "LocatorClickOptions": "{ button?: MouseButton; force?: boolean; modifiers?: KeyboardModifier[]; timeoutMs?: number }",
36
+ "LocatorCheckOptions": "{ force?: boolean; timeoutMs?: number }",
37
+ "LocatorWaitForOptions": "{ state: WaitForState; timeoutMs?: number }",
38
+ "LocatorFilterOptions": "{ has?: PlaywrightLocator; hasNot?: PlaywrightLocator; hasNotText?: TextMatcher; hasText?: TextMatcher; visible?: boolean }",
39
+ "LocatorLocatorOptions": "{ has?: PlaywrightLocator; hasNot?: PlaywrightLocator; hasNotText?: TextMatcher; hasText?: TextMatcher }",
40
+ "SelectOptionInput": "string | { index?: number; label?: string; value?: string }",
41
+ "ElementInfoOptions": "{ includeNonInteractable?: boolean; x: number; y: number }",
42
+ "ElementScreenshotOptions": "{ includeNonInteractable?: boolean; x: number; y: number }",
43
+ "ElementInfo": "{ ariaName?: string | null; boundingBox?: { x: number; y: number; width: number; height: number } | null; nodeId?: number | null; preview: string; role?: string | null; selector: { candidates: string[]; frameSelectors?: string[]; primary?: string | null }; tagName: string; testId?: string | null; visibleText?: string | null }",
44
+ "TabInfo": "{ id: string; active?: boolean; title?: string; url?: string }",
45
+ "BrowserUserTabInfo": "{ id: string; lastOpened?: string; tabGroup?: string; title?: string; url?: string }",
46
+ "BrowserHistoryOptions": "{ from?: string | Date; limit?: number; queries?: string[]; to?: string | Date }",
47
+ "BrowserHistoryEntry": "{ dateVisited: string; title?: string; url: string }",
48
+ "FinalizeTabStatus": "handoff | deliverable",
49
+ "FinalizeTabsOptions": "{ keep?: Array<{ status: FinalizeTabStatus; tab: string | Tab | { id: string } }> }"
50
+ },
51
+ "objects": {
52
+ "Agent": {
53
+ "members": [
54
+ {
55
+ "name": "browsers",
56
+ "kind": "property",
57
+ "signature": "browsers: Browsers"
58
+ },
59
+ {
60
+ "name": "documentation",
61
+ "kind": "property",
62
+ "signature": "documentation: Documentation"
63
+ }
64
+ ]
65
+ },
66
+ "Documentation": {
67
+ "members": [
68
+ {
69
+ "name": "get",
70
+ "kind": "method",
71
+ "signature": "get(name: string): Promise<string>"
72
+ }
73
+ ]
74
+ },
75
+ "Browsers": {
76
+ "members": [
77
+ {
78
+ "name": "list",
79
+ "kind": "method",
80
+ "signature": "list(): Promise<BrowserDescriptor[]>"
81
+ },
82
+ {
83
+ "name": "get",
84
+ "kind": "method",
85
+ "signature": "get(idOrType: string): Promise<Browser>"
86
+ },
87
+ {
88
+ "name": "getDefault",
89
+ "kind": "method",
90
+ "signature": "getDefault(): Promise<Browser>"
91
+ },
92
+ {
93
+ "name": "getForUrl",
94
+ "kind": "method",
95
+ "signature": "getForUrl(url: string): Promise<Browser>"
96
+ }
97
+ ]
98
+ },
99
+ "Browser": {
100
+ "members": [
101
+ {
102
+ "name": "browserId",
103
+ "kind": "property",
104
+ "signature": "browserId: string"
105
+ },
106
+ {
107
+ "name": "capabilities",
108
+ "kind": "property",
109
+ "signature": "capabilities: BrowserCapabilityCollection"
110
+ },
111
+ {
112
+ "name": "tabs",
113
+ "kind": "property",
114
+ "signature": "tabs: Tabs"
115
+ },
116
+ {
117
+ "name": "nameSession",
118
+ "kind": "method",
119
+ "signature": "nameSession(name: string): Promise<void>",
120
+ "command": "nameSession"
121
+ },
122
+ {
123
+ "name": "user",
124
+ "kind": "property",
125
+ "signature": "user: BrowserUser"
126
+ },
127
+ {
128
+ "name": "documentation",
129
+ "kind": "method",
130
+ "signature": "documentation(): Promise<string>"
131
+ }
132
+ ]
133
+ },
134
+ "BrowserUser": {
135
+ "members": [
136
+ {
137
+ "name": "claimTab",
138
+ "kind": "method",
139
+ "signature": "claimTab(tab: string | BrowserUserTabInfo): Promise<Tab>",
140
+ "command": "claimTab",
141
+ "unsupportedByDefaultIn": ["iab", "cdp"]
142
+ },
143
+ {
144
+ "name": "history",
145
+ "kind": "method",
146
+ "signature": "history(options: BrowserHistoryOptions): Promise<BrowserHistoryEntry[]>",
147
+ "unsupportedByDefaultIn": ["iab"]
148
+ },
149
+ {
150
+ "name": "openTabs",
151
+ "kind": "method",
152
+ "signature": "openTabs(): Promise<BrowserUserTabInfo[]>",
153
+ "command": "listUserTabs"
154
+ }
155
+ ]
156
+ },
157
+ "Tabs": {
158
+ "members": [
159
+ {
160
+ "name": "list",
161
+ "kind": "method",
162
+ "signature": "list(): Promise<TabInfo[]>",
163
+ "command": "list"
164
+ },
165
+ {
166
+ "name": "selected",
167
+ "kind": "method",
168
+ "signature": "selected(): Promise<Tab | undefined>",
169
+ "command": "list"
170
+ },
171
+ {
172
+ "name": "get",
173
+ "kind": "method",
174
+ "signature": "get(id: string): Promise<Tab>",
175
+ "command": "list"
176
+ },
177
+ {
178
+ "name": "new",
179
+ "kind": "method",
180
+ "signature": "new(): Promise<Tab>",
181
+ "command": "newTab"
182
+ },
183
+ {
184
+ "name": "finalize",
185
+ "kind": "method",
186
+ "signature": "finalize(options: FinalizeTabsOptions): Promise<void>",
187
+ "command": "finalizeTabs",
188
+ "unsupportedByDefaultIn": ["iab", "cdp"]
189
+ }
190
+ ]
191
+ },
192
+ "Tab": {
193
+ "members": [
194
+ {
195
+ "name": "id",
196
+ "kind": "property",
197
+ "signature": "id: string"
198
+ },
199
+ {
200
+ "name": "capabilities",
201
+ "kind": "property",
202
+ "signature": "capabilities: TabCapabilityCollection"
203
+ },
204
+ {
205
+ "name": "goto",
206
+ "kind": "method",
207
+ "signature": "goto(url: string): Promise<void>",
208
+ "command": "navigate"
209
+ },
210
+ {
211
+ "name": "back",
212
+ "kind": "method",
213
+ "signature": "back(): Promise<void>",
214
+ "command": "back"
215
+ },
216
+ {
217
+ "name": "forward",
218
+ "kind": "method",
219
+ "signature": "forward(): Promise<void>",
220
+ "command": "forward"
221
+ },
222
+ {
223
+ "name": "reload",
224
+ "kind": "method",
225
+ "signature": "reload(): Promise<void>",
226
+ "command": "reload"
227
+ },
228
+ {
229
+ "name": "close",
230
+ "kind": "method",
231
+ "signature": "close(): Promise<void>",
232
+ "command": "close"
233
+ },
234
+ {
235
+ "name": "url",
236
+ "kind": "method",
237
+ "signature": "url(): Promise<string | undefined>",
238
+ "command": "getState"
239
+ },
240
+ {
241
+ "name": "title",
242
+ "kind": "method",
243
+ "signature": "title(): Promise<string | undefined>",
244
+ "command": "getState"
245
+ },
246
+ {
247
+ "name": "screenshot",
248
+ "kind": "method",
249
+ "signature": "screenshot(options?: { fullPage?: boolean; clip?: { x: number; y: number; width: number; height: number } }): Promise<Uint8Array>",
250
+ "command": "screenshot"
251
+ },
252
+ {
253
+ "name": "getJsDialog",
254
+ "kind": "method",
255
+ "signature": "getJsDialog(): Promise<Dialog | undefined>",
256
+ "command": "getDialog"
257
+ },
258
+ {
259
+ "name": "setViewportSize",
260
+ "kind": "method",
261
+ "signature": "setViewportSize(viewportSize: { width: number; height: number }): Promise<void>",
262
+ "command": "browserViewportSet"
263
+ },
264
+ {
265
+ "name": "viewportSize",
266
+ "kind": "method",
267
+ "signature": "viewportSize(): { width: number; height: number } | null"
268
+ },
269
+ {
270
+ "name": "finalize",
271
+ "kind": "method",
272
+ "signature": "finalize(options?: { deliverable?: boolean }): Promise<void>",
273
+ "command": "finalize",
274
+ "documented": false,
275
+ "unsupportedByDefaultIn": ["iab", "cdp"]
276
+ },
277
+ {
278
+ "name": "markDeliverable",
279
+ "kind": "method",
280
+ "signature": "markDeliverable(): Promise<void>",
281
+ "command": "markDeliverable",
282
+ "unsupportedByDefaultIn": ["iab", "cdp"]
283
+ },
284
+ {
285
+ "name": "markHandoff",
286
+ "kind": "method",
287
+ "signature": "markHandoff(): Promise<void>",
288
+ "command": "markHandoff",
289
+ "unsupportedByDefaultIn": ["iab", "cdp"]
290
+ },
291
+ {
292
+ "name": "cua",
293
+ "kind": "property",
294
+ "signature": "cua: CUAAPI"
295
+ },
296
+ {
297
+ "name": "dom_cua",
298
+ "kind": "property",
299
+ "signature": "dom_cua: DomCUAAPI"
300
+ },
301
+ {
302
+ "name": "playwright",
303
+ "kind": "property",
304
+ "signature": "playwright: PlaywrightAPI"
305
+ }
306
+ ]
307
+ },
308
+ "PlaywrightAPI": {
309
+ "members": [
310
+ {
311
+ "name": "domSnapshot",
312
+ "kind": "method",
313
+ "signature": "domSnapshot(): Promise<string>",
314
+ "command": "playwright"
315
+ },
316
+ {
317
+ "name": "elementInfo",
318
+ "kind": "method",
319
+ "signature": "elementInfo(options: ElementInfoOptions): Promise<ElementInfo[]>",
320
+ "command": "playwright",
321
+ "documented": false
322
+ },
323
+ {
324
+ "name": "elementScreenshot",
325
+ "kind": "method",
326
+ "signature": "elementScreenshot(options: ElementScreenshotOptions): Promise<Uint8Array>",
327
+ "command": "playwright",
328
+ "documented": false
329
+ },
330
+ {
331
+ "name": "evaluate",
332
+ "kind": "method",
333
+ "signature": "evaluate(pageFunction, arg?, options?): Promise<TResult>",
334
+ "command": "playwright"
335
+ },
336
+ {
337
+ "name": "expectNavigation",
338
+ "kind": "method",
339
+ "signature": "expectNavigation(action, options?): Promise<T>",
340
+ "command": "playwright"
341
+ },
342
+ {
343
+ "name": "frameLocator",
344
+ "kind": "method",
345
+ "signature": "frameLocator(frameSelector: string): PlaywrightFrameLocator"
346
+ },
347
+ {
348
+ "name": "getByLabel",
349
+ "kind": "method",
350
+ "signature": "getByLabel(text: TextMatcher, options?): PlaywrightLocator"
351
+ },
352
+ {
353
+ "name": "getByPlaceholder",
354
+ "kind": "method",
355
+ "signature": "getByPlaceholder(text: TextMatcher, options?): PlaywrightLocator"
356
+ },
357
+ {
358
+ "name": "getByRole",
359
+ "kind": "method",
360
+ "signature": "getByRole(role: string, options?): PlaywrightLocator"
361
+ },
362
+ {
363
+ "name": "getByTestId",
364
+ "kind": "method",
365
+ "signature": "getByTestId(testId: string): PlaywrightLocator"
366
+ },
367
+ {
368
+ "name": "getByText",
369
+ "kind": "method",
370
+ "signature": "getByText(text: TextMatcher, options?): PlaywrightLocator"
371
+ },
372
+ {
373
+ "name": "locator",
374
+ "kind": "method",
375
+ "signature": "locator(selector: string): PlaywrightLocator"
376
+ },
377
+ {
378
+ "name": "waitForEvent",
379
+ "kind": "method",
380
+ "signature": "waitForEvent(event: \"download\", options?): Promise<PlaywrightDownload>",
381
+ "command": "playwright",
382
+ "declarations": [
383
+ {
384
+ "signature": "waitForEvent(event: \"download\", options?): Promise<PlaywrightDownload>"
385
+ },
386
+ {
387
+ "signature": "waitForEvent(event: \"filechooser\", options?): Promise<PlaywrightFileChooser>",
388
+ "unsupportedByDefaultIn": ["iab"]
389
+ }
390
+ ]
391
+ },
392
+ {
393
+ "name": "waitForLoadState",
394
+ "kind": "method",
395
+ "signature": "waitForLoadState(options?): Promise<void>",
396
+ "command": "playwright"
397
+ },
398
+ {
399
+ "name": "waitForTimeout",
400
+ "kind": "method",
401
+ "signature": "waitForTimeout(timeoutMs: number): Promise<void>",
402
+ "command": "playwrightWaitForTimeout"
403
+ },
404
+ {
405
+ "name": "waitForURL",
406
+ "kind": "method",
407
+ "signature": "waitForURL(url: string, options?): Promise<void>",
408
+ "command": "playwright"
409
+ }
410
+ ]
411
+ },
412
+ "PlaywrightFrameLocator": {
413
+ "members": [
414
+ {
415
+ "name": "frameLocator",
416
+ "kind": "method",
417
+ "signature": "frameLocator(frameSelector: string): PlaywrightFrameLocator"
418
+ },
419
+ {
420
+ "name": "getByLabel",
421
+ "kind": "method",
422
+ "signature": "getByLabel(text: TextMatcher, options?): PlaywrightLocator"
423
+ },
424
+ {
425
+ "name": "getByPlaceholder",
426
+ "kind": "method",
427
+ "signature": "getByPlaceholder(text: TextMatcher, options?): PlaywrightLocator"
428
+ },
429
+ {
430
+ "name": "getByRole",
431
+ "kind": "method",
432
+ "signature": "getByRole(role: string, options?): PlaywrightLocator"
433
+ },
434
+ {
435
+ "name": "getByTestId",
436
+ "kind": "method",
437
+ "signature": "getByTestId(testId: string): PlaywrightLocator"
438
+ },
439
+ {
440
+ "name": "getByText",
441
+ "kind": "method",
442
+ "signature": "getByText(text: TextMatcher, options?): PlaywrightLocator"
443
+ },
444
+ {
445
+ "name": "locator",
446
+ "kind": "method",
447
+ "signature": "locator(selector: string): PlaywrightLocator"
448
+ }
449
+ ]
450
+ },
451
+ "PlaywrightLocator": {
452
+ "members": [
453
+ {
454
+ "name": "all",
455
+ "kind": "method",
456
+ "signature": "all(): Promise<PlaywrightLocator[]>"
457
+ },
458
+ {
459
+ "name": "allTextContents",
460
+ "kind": "method",
461
+ "signature": "allTextContents(options?): Promise<string[]>",
462
+ "command": "playwright"
463
+ },
464
+ {
465
+ "name": "and",
466
+ "kind": "method",
467
+ "signature": "and(locator: PlaywrightLocator): PlaywrightLocator"
468
+ },
469
+ {
470
+ "name": "check",
471
+ "kind": "method",
472
+ "signature": "check(options?): Promise<void>",
473
+ "command": "playwright"
474
+ },
475
+ {
476
+ "name": "click",
477
+ "kind": "method",
478
+ "signature": "click(options?): Promise<void>",
479
+ "command": "playwright"
480
+ },
481
+ {
482
+ "name": "count",
483
+ "kind": "method",
484
+ "signature": "count(): Promise<number>",
485
+ "command": "playwright"
486
+ },
487
+ {
488
+ "name": "dblclick",
489
+ "kind": "method",
490
+ "signature": "dblclick(options?): Promise<void>",
491
+ "command": "playwright"
492
+ },
493
+ {
494
+ "name": "downloadMedia",
495
+ "kind": "method",
496
+ "signature": "downloadMedia(options?): Promise<void>",
497
+ "command": "playwright"
498
+ },
499
+ {
500
+ "name": "evaluate",
501
+ "kind": "method",
502
+ "signature": "evaluate(pageFunction, arg?, options?): Promise<TResult>",
503
+ "command": "playwright"
504
+ },
505
+ {
506
+ "name": "fill",
507
+ "kind": "method",
508
+ "signature": "fill(value: string, options?): Promise<void>",
509
+ "command": "playwright"
510
+ },
511
+ {
512
+ "name": "filter",
513
+ "kind": "method",
514
+ "signature": "filter(options: LocatorFilterOptions): PlaywrightLocator"
515
+ },
516
+ {
517
+ "name": "first",
518
+ "kind": "method",
519
+ "signature": "first(): PlaywrightLocator"
520
+ },
521
+ {
522
+ "name": "getAttribute",
523
+ "kind": "method",
524
+ "signature": "getAttribute(name: string, options?): Promise<string | null>",
525
+ "command": "playwright"
526
+ },
527
+ {
528
+ "name": "getByLabel",
529
+ "kind": "method",
530
+ "signature": "getByLabel(text: TextMatcher, options?): PlaywrightLocator"
531
+ },
532
+ {
533
+ "name": "getByPlaceholder",
534
+ "kind": "method",
535
+ "signature": "getByPlaceholder(text: TextMatcher, options?): PlaywrightLocator"
536
+ },
537
+ {
538
+ "name": "getByRole",
539
+ "kind": "method",
540
+ "signature": "getByRole(role: string, options?): PlaywrightLocator"
541
+ },
542
+ {
543
+ "name": "getByTestId",
544
+ "kind": "method",
545
+ "signature": "getByTestId(testId: string): PlaywrightLocator"
546
+ },
547
+ {
548
+ "name": "getByText",
549
+ "kind": "method",
550
+ "signature": "getByText(text: TextMatcher, options?): PlaywrightLocator"
551
+ },
552
+ {
553
+ "name": "innerText",
554
+ "kind": "method",
555
+ "signature": "innerText(options?): Promise<string>",
556
+ "command": "playwright"
557
+ },
558
+ {
559
+ "name": "isEnabled",
560
+ "kind": "method",
561
+ "signature": "isEnabled(): Promise<boolean>",
562
+ "command": "playwright"
563
+ },
564
+ {
565
+ "name": "isVisible",
566
+ "kind": "method",
567
+ "signature": "isVisible(): Promise<boolean>",
568
+ "command": "playwright"
569
+ },
570
+ {
571
+ "name": "last",
572
+ "kind": "method",
573
+ "signature": "last(): PlaywrightLocator"
574
+ },
575
+ {
576
+ "name": "locator",
577
+ "kind": "method",
578
+ "signature": "locator(selector: string, options?): PlaywrightLocator"
579
+ },
580
+ {
581
+ "name": "nth",
582
+ "kind": "method",
583
+ "signature": "nth(index: number): PlaywrightLocator"
584
+ },
585
+ {
586
+ "name": "or",
587
+ "kind": "method",
588
+ "signature": "or(locator: PlaywrightLocator): PlaywrightLocator"
589
+ },
590
+ {
591
+ "name": "press",
592
+ "kind": "method",
593
+ "signature": "press(value: string, options?): Promise<void>",
594
+ "command": "playwright"
595
+ },
596
+ {
597
+ "name": "selectOption",
598
+ "kind": "method",
599
+ "signature": "selectOption(value, options?): Promise<void>",
600
+ "command": "playwright"
601
+ },
602
+ {
603
+ "name": "setChecked",
604
+ "kind": "method",
605
+ "signature": "setChecked(checked: boolean, options?): Promise<void>",
606
+ "command": "playwright"
607
+ },
608
+ {
609
+ "name": "textContent",
610
+ "kind": "method",
611
+ "signature": "textContent(options?): Promise<string | null>",
612
+ "command": "playwright"
613
+ },
614
+ {
615
+ "name": "type",
616
+ "kind": "method",
617
+ "signature": "type(value: string, options?): Promise<void>",
618
+ "command": "playwright"
619
+ },
620
+ {
621
+ "name": "uncheck",
622
+ "kind": "method",
623
+ "signature": "uncheck(options?): Promise<void>",
624
+ "command": "playwright"
625
+ },
626
+ {
627
+ "name": "waitFor",
628
+ "kind": "method",
629
+ "signature": "waitFor(options: LocatorWaitForOptions): Promise<void>",
630
+ "command": "playwright"
631
+ }
632
+ ]
633
+ },
634
+ "PlaywrightDownload": {
635
+ "members": [
636
+ {
637
+ "name": "path",
638
+ "kind": "method",
639
+ "signature": "path(options?): Promise<string | null>",
640
+ "command": "playwright",
641
+ "documented": false
642
+ }
643
+ ]
644
+ },
645
+ "PlaywrightFileChooser": {
646
+ "members": [
647
+ {
648
+ "name": "isMultiple",
649
+ "kind": "method",
650
+ "signature": "isMultiple(): boolean"
651
+ },
652
+ {
653
+ "name": "setFiles",
654
+ "kind": "method",
655
+ "signature": "setFiles(files, options?): Promise<void>",
656
+ "command": "playwright",
657
+ "unsupportedByDefaultIn": ["iab"]
658
+ }
659
+ ]
660
+ },
661
+ "BrowserCapabilityCollection": {
662
+ "members": [
663
+ {
664
+ "name": "get",
665
+ "kind": "method",
666
+ "signature": "get(id: string): Promise<unknown>"
667
+ },
668
+ {
669
+ "name": "list",
670
+ "kind": "method",
671
+ "signature": "list(): Promise<Array<{ id: string; description: string }>>"
672
+ }
673
+ ]
674
+ },
675
+ "TabCapabilityCollection": {
676
+ "members": [
677
+ {
678
+ "name": "get",
679
+ "kind": "method",
680
+ "signature": "get(id: string): Promise<unknown>"
681
+ },
682
+ {
683
+ "name": "list",
684
+ "kind": "method",
685
+ "signature": "list(): Promise<Array<{ id: string; description: string }>>"
686
+ }
687
+ ]
688
+ },
689
+ "CUAAPI": {
690
+ "members": [
691
+ {
692
+ "name": "click",
693
+ "kind": "method",
694
+ "signature": "click(options: ClickOptions): Promise<void>"
695
+ },
696
+ {
697
+ "name": "double_click",
698
+ "kind": "method",
699
+ "signature": "double_click(options: DoubleClickOptions): Promise<void>"
700
+ },
701
+ {
702
+ "name": "downloadMedia",
703
+ "kind": "method",
704
+ "signature": "downloadMedia(options: CuaDownloadMediaOptions): Promise<void>",
705
+ "unsupportedByDefaultIn": ["iab"],
706
+ "documented": false
707
+ },
708
+ {
709
+ "name": "drag",
710
+ "kind": "method",
711
+ "signature": "drag(options: DragOptions): Promise<void>"
712
+ },
713
+ {
714
+ "name": "keypress",
715
+ "kind": "method",
716
+ "signature": "keypress(options: KeypressOptions): Promise<void>"
717
+ },
718
+ {
719
+ "name": "move",
720
+ "kind": "method",
721
+ "signature": "move(options: MoveOptions): Promise<void>"
722
+ },
723
+ {
724
+ "name": "scroll",
725
+ "kind": "method",
726
+ "signature": "scroll(options: ScrollOptions): Promise<void>"
727
+ },
728
+ {
729
+ "name": "type",
730
+ "kind": "method",
731
+ "signature": "type(options: TypeOptions): Promise<void>"
732
+ }
733
+ ]
734
+ },
735
+ "DomCUAAPI": {
736
+ "members": [
737
+ {
738
+ "name": "click",
739
+ "kind": "method",
740
+ "signature": "click(options: DomClickOptions): Promise<void>"
741
+ },
742
+ {
743
+ "name": "double_click",
744
+ "kind": "method",
745
+ "signature": "double_click(options: DomClickOptions): Promise<void>"
746
+ },
747
+ {
748
+ "name": "downloadMedia",
749
+ "kind": "method",
750
+ "signature": "downloadMedia(options: DomDownloadMediaOptions): Promise<void>",
751
+ "unsupportedByDefaultIn": ["iab"],
752
+ "documented": false
753
+ },
754
+ {
755
+ "name": "get_visible_dom",
756
+ "kind": "method",
757
+ "signature": "get_visible_dom(): Promise<unknown>"
758
+ },
759
+ {
760
+ "name": "keypress",
761
+ "kind": "method",
762
+ "signature": "keypress(options: DomKeypressOptions): Promise<void>"
763
+ },
764
+ {
765
+ "name": "scroll",
766
+ "kind": "method",
767
+ "signature": "scroll(options: DomScrollOptions): Promise<void>"
768
+ },
769
+ {
770
+ "name": "type",
771
+ "kind": "method",
772
+ "signature": "type(options: DomTypeOptions): Promise<void>"
773
+ }
774
+ ]
775
+ },
776
+ "AlertDialog": {
777
+ "members": [
778
+ {
779
+ "name": "type",
780
+ "kind": "property",
781
+ "signature": "type: alert"
782
+ },
783
+ {
784
+ "name": "dismiss",
785
+ "kind": "method",
786
+ "signature": "dismiss(): Promise<void>"
787
+ }
788
+ ]
789
+ },
790
+ "ConfirmDialog": {
791
+ "members": [
792
+ {
793
+ "name": "type",
794
+ "kind": "property",
795
+ "signature": "type: confirm"
796
+ },
797
+ {
798
+ "name": "accept",
799
+ "kind": "method",
800
+ "signature": "accept(): Promise<void>"
801
+ },
802
+ {
803
+ "name": "dismiss",
804
+ "kind": "method",
805
+ "signature": "dismiss(): Promise<void>"
806
+ }
807
+ ]
808
+ },
809
+ "PromptDialog": {
810
+ "members": [
811
+ {
812
+ "name": "type",
813
+ "kind": "property",
814
+ "signature": "type: prompt"
815
+ },
816
+ {
817
+ "name": "accept",
818
+ "kind": "method",
819
+ "signature": "accept(text: string): Promise<void>"
820
+ },
821
+ {
822
+ "name": "dismiss",
823
+ "kind": "method",
824
+ "signature": "dismiss(): Promise<void>"
825
+ }
826
+ ]
827
+ },
828
+ "BeforeUnloadDialog": {
829
+ "members": [
830
+ {
831
+ "name": "type",
832
+ "kind": "property",
833
+ "signature": "type: beforeunload"
834
+ },
835
+ {
836
+ "name": "dismiss",
837
+ "kind": "method",
838
+ "signature": "dismiss(): Promise<void>"
839
+ }
840
+ ]
841
+ }
842
+ }
843
+ }