venetian 0.2.0-aarch64-linux → 0.2.2-aarch64-linux

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 (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/exe/aarch64-linux/LICENSE +202 -202
  4. data/exe/aarch64-linux/node +0 -0
  5. data/exe/aarch64-linux/package/browsers.json +12 -18
  6. data/exe/aarch64-linux/package/lib/bootstrap.js +1 -1
  7. data/exe/aarch64-linux/package/lib/coreBundle.js +11344 -9900
  8. data/exe/aarch64-linux/package/lib/server/electron/loader.js +5 -2
  9. data/exe/aarch64-linux/package/lib/serverRegistry.js +5 -1
  10. data/exe/aarch64-linux/package/lib/tools/cli-client/help.json +21 -6
  11. data/exe/aarch64-linux/package/lib/tools/cli-client/program.js +1 -1
  12. data/exe/aarch64-linux/package/lib/tools/cli-client/session.js +4 -0
  13. data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/SKILL.md +21 -5
  14. data/exe/aarch64-linux/package/lib/tools/{cli-client/skill/references/spec-driven-testing.md → skills/playwright-cli/references/test-generation.md} +135 -7
  15. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/SKILL.md +143 -0
  16. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  17. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/migration.md +85 -0
  18. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/react.md +67 -0
  19. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/vue.md +75 -0
  20. data/exe/aarch64-linux/package/lib/tools/utils/extension.js +31 -8
  21. data/exe/aarch64-linux/package/lib/utilsBundle.js +37698 -33670
  22. data/exe/aarch64-linux/package/lib/utilsBundle.js.LICENSE +391 -268
  23. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-CyWAfh-p.js +11 -0
  24. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-DhC616m4.css +1 -0
  25. data/exe/aarch64-linux/package/lib/vite/dashboard/index.html +2 -2
  26. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.css +2 -1
  27. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.js +15 -55
  28. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  29. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-CwYYHbcZ.js +32 -0
  30. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-DYjdXIbE.js +129 -0
  31. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-l_lX622x.css +1 -0
  32. data/exe/aarch64-linux/package/lib/vite/recorder/index.html +2 -2
  33. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/codeMirrorModule-rXmQmLUY.js +32 -0
  34. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-B-dXF5JN.js +181 -0
  35. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  36. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/xtermModule-BuZfJS5v.js +7 -0
  37. data/exe/aarch64-linux/package/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  38. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.BLFoOugd.css +1 -0
  39. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  40. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.KZ4wOW1K.js +1 -0
  41. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.html +5 -5
  42. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  43. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.html +2 -2
  44. data/exe/aarch64-linux/package/lib/vite/traceViewer/sw.bundle.js +3 -4
  45. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.C7UW1sC9.css +1 -0
  46. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.Dzuouizj.js +5 -0
  47. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.html +5 -5
  48. data/exe/aarch64-linux/package/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  49. data/exe/aarch64-linux/package/lib/webp_codec.LICENSE +173 -0
  50. data/exe/aarch64-linux/package/lib/webp_codec.wasm +0 -0
  51. data/exe/aarch64-linux/package/lib/xdg-open +338 -137
  52. data/exe/aarch64-linux/package/package.json +2 -2
  53. data/exe/aarch64-linux/package/types/protocol.d.ts +249 -36
  54. data/exe/aarch64-linux/package/types/structs.d.ts +8 -1
  55. data/exe/aarch64-linux/package/types/types.d.ts +2009 -266
  56. data/lib/venetian/executable.rb +6 -2
  57. data/lib/venetian/upstream.rb +35 -18
  58. data/lib/venetian/version.rb +2 -2
  59. metadata +41 -38
  60. data/exe/aarch64-linux/package/api.json +0 -1
  61. data/exe/aarch64-linux/package/lib/server/deviceDescriptorsSource.json +0 -2739
  62. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/test-generation.md +0 -134
  63. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-BY2S1tHT.css +0 -1
  64. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-C_5TMfeg.js +0 -52
  65. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +0 -1
  66. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-DeBYQozu.js +0 -32
  67. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-4ZiSSCmn.css +0 -1
  68. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-Bq-mQf8S.js +0 -193
  69. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/codeMirrorModule-LEHpjmcn.js +0 -32
  70. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-BNmKHKpQ.js +0 -264
  71. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +0 -1
  72. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
  73. data/exe/aarch64-linux/package/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +0 -1
  74. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.CjdS-WJx.css +0 -1
  75. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.CzXZzn5A.css +0 -1
  76. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.DMMX1gXU.js +0 -2
  77. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.v8KI4P3m.js +0 -2
  78. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +0 -1
  79. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.Ut8wwJNp.js +0 -6
  80. data/exe/aarch64-linux/package/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
  81. data/exe/aarch64-linux/package/protocol.yml +0 -4991
  82. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/element-attributes.md +0 -0
  83. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/playwright-tests.md +0 -0
  84. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/request-mocking.md +0 -0
  85. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/running-code.md +0 -0
  86. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/session-management.md +0 -0
  87. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/storage-state.md +0 -0
  88. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/tracing.md +0 -0
  89. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/video-recording.md +0 -0
  90. /data/exe/aarch64-linux/package/lib/tools/{trace → skills/playwright-trace}/SKILL.md +0 -0
@@ -1,4991 +0,0 @@
1
- # Copyright (c) Microsoft Corporation.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- Android:
16
- type: interface
17
-
18
- commands:
19
-
20
- devices:
21
- internal: true
22
- parameters:
23
- host: string?
24
- port: int?
25
- omitDriverInstall: boolean?
26
- returns:
27
- devices:
28
- type: array
29
- items: AndroidDevice
30
-
31
- AndroidSocket:
32
- type: interface
33
-
34
- commands:
35
- write:
36
- internal: true
37
- parameters:
38
- data: binary
39
-
40
- close:
41
- internal: true
42
-
43
- events:
44
- data:
45
- parameters:
46
- data: binary
47
- close:
48
-
49
- AndroidDevice:
50
- type: interface
51
-
52
- initializer:
53
- model: string
54
- serial: string
55
-
56
- commands:
57
- wait:
58
- title: Wait
59
- parameters:
60
- androidSelector: AndroidSelector
61
- state:
62
- type: enum?
63
- literals:
64
- - gone
65
- timeout: float
66
-
67
- fill:
68
- title: Fill "{text}"
69
- parameters:
70
- androidSelector: AndroidSelector
71
- text: string
72
- timeout: float
73
-
74
- tap:
75
- title: Tap
76
- parameters:
77
- androidSelector: AndroidSelector
78
- duration: float?
79
- timeout: float
80
-
81
- drag:
82
- title: Drag
83
- parameters:
84
- androidSelector: AndroidSelector
85
- dest: Point
86
- speed: float?
87
- timeout: float
88
-
89
- fling:
90
- title: Fling
91
- parameters:
92
- androidSelector: AndroidSelector
93
- direction:
94
- type: enum
95
- literals:
96
- - up
97
- - down
98
- - left
99
- - right
100
- speed: float?
101
- timeout: float
102
-
103
- longTap:
104
- title: Long tap
105
- parameters:
106
- androidSelector: AndroidSelector
107
- timeout: float
108
-
109
- pinchClose:
110
- title: Pinch close
111
- parameters:
112
- androidSelector: AndroidSelector
113
- percent: float
114
- speed: float?
115
- timeout: float
116
-
117
- pinchOpen:
118
- title: Pinch open
119
- parameters:
120
- androidSelector: AndroidSelector
121
- percent: float
122
- speed: float?
123
- timeout: float
124
-
125
- scroll:
126
- title: Scroll
127
- parameters:
128
- androidSelector: AndroidSelector
129
- direction:
130
- type: enum
131
- literals:
132
- - up
133
- - down
134
- - left
135
- - right
136
- percent: float
137
- speed: float?
138
- timeout: float
139
-
140
- swipe:
141
- title: Swipe
142
- parameters:
143
- androidSelector: AndroidSelector
144
- direction:
145
- type: enum
146
- literals:
147
- - up
148
- - down
149
- - left
150
- - right
151
- percent: float
152
- speed: float?
153
- timeout: float
154
-
155
- info:
156
- internal: true
157
- parameters:
158
- androidSelector: AndroidSelector
159
- returns:
160
- info: AndroidElementInfo
161
-
162
- screenshot:
163
- title: Screenshot
164
- returns:
165
- binary: binary
166
-
167
- inputType:
168
- title: Type
169
- parameters:
170
- text: string
171
-
172
- inputPress:
173
- title: Press
174
- parameters:
175
- key: string
176
-
177
- inputTap:
178
- title: Tap
179
- parameters:
180
- point: Point
181
-
182
- inputSwipe:
183
- title: Swipe
184
- parameters:
185
- segments:
186
- type: array
187
- items: Point
188
- steps: int
189
-
190
- inputDrag:
191
- title: Drag
192
- parameters:
193
- from: Point
194
- to: Point
195
- steps: int
196
-
197
- launchBrowser:
198
- title: Launch browser
199
- parameters:
200
- $mixin: ContextOptions
201
- pkg: string?
202
- args:
203
- type: array?
204
- items: string
205
- proxy:
206
- type: object?
207
- properties:
208
- server: string
209
- bypass: string?
210
- username: string?
211
- password: string?
212
-
213
- returns:
214
- context: BrowserContext
215
-
216
- open:
217
- title: Open app
218
- parameters:
219
- command: string
220
- returns:
221
- socket: AndroidSocket
222
-
223
- shell:
224
- title: Execute shell command
225
- group: configuration
226
- parameters:
227
- command: string
228
- returns:
229
- result: binary
230
-
231
- installApk:
232
- title: Install apk
233
- parameters:
234
- file: binary
235
- args:
236
- type: array?
237
- items: string
238
-
239
- push:
240
- title: Push
241
- parameters:
242
- file: binary
243
- path: string
244
- mode: int?
245
-
246
- connectToWebView:
247
- title: Connect to Web View
248
- parameters:
249
- socketName: string
250
- returns:
251
- context: BrowserContext
252
-
253
- close:
254
- internal: true
255
-
256
- events:
257
- close:
258
-
259
- webViewAdded:
260
- parameters:
261
- webView: AndroidWebView
262
-
263
- webViewRemoved:
264
- parameters:
265
- socketName: string
266
-
267
- AndroidWebView:
268
- type: object
269
- properties:
270
- pid: int
271
- pkg: string
272
- socketName: string
273
-
274
- AndroidSelector:
275
- type: object
276
- properties:
277
- checkable: boolean?
278
- checked: boolean?
279
- clazz: string?
280
- clickable: boolean?
281
- depth: int?
282
- desc: string?
283
- enabled: boolean?
284
- focusable: boolean?
285
- focused: boolean?
286
- hasChild:
287
- type: object?
288
- properties:
289
- androidSelector: AndroidSelector
290
- hasDescendant:
291
- type: object?
292
- properties:
293
- androidSelector: AndroidSelector
294
- maxDepth: int?
295
- longClickable: boolean?
296
- pkg: string?
297
- res: string?
298
- scrollable: boolean?
299
- selected: boolean?
300
- text: string?
301
-
302
- AndroidElementInfo:
303
- type: object
304
- properties:
305
- children:
306
- type: array?
307
- items: AndroidElementInfo
308
- clazz: string
309
- desc: string
310
- res: string
311
- pkg: string
312
- text: string
313
- bounds: Rect
314
- checkable: boolean
315
- checked: boolean
316
- clickable: boolean
317
- enabled: boolean
318
- focusable: boolean
319
- focused: boolean
320
- longClickable: boolean
321
- scrollable: boolean
322
- selected: boolean
323
-
324
- # Copyright (c) Microsoft Corporation.
325
- #
326
- # Licensed under the Apache License, Version 2.0 (the "License");
327
- # you may not use this file except in compliance with the License.
328
- # You may obtain a copy of the License at
329
- #
330
- # http://www.apache.org/licenses/LICENSE-2.0
331
- #
332
- # Unless required by applicable law or agreed to in writing, software
333
- # distributed under the License is distributed on an "AS IS" BASIS,
334
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
335
- # See the License for the specific language governing permissions and
336
- # limitations under the License.
337
-
338
- APIRequestContext:
339
- type: interface
340
-
341
- initializer:
342
- tracing: Tracing
343
-
344
- commands:
345
-
346
- fetch:
347
- title: '{method} "{url}"'
348
- parameters:
349
- url: string
350
- encodedParams: string?
351
- params:
352
- type: array?
353
- items: NameValue
354
- method: string?
355
- headers:
356
- type: array?
357
- items: NameValue
358
- postData: binary?
359
- jsonData: string?
360
- formData:
361
- type: array?
362
- items: NameValue
363
- multipartData:
364
- type: array?
365
- items: FormField
366
- timeout: float
367
- failOnStatusCode: boolean?
368
- ignoreHTTPSErrors: boolean?
369
- maxRedirects: int?
370
- maxRetries: int?
371
- returns:
372
- response: APIResponse
373
-
374
- fetchResponseBody:
375
- title: Get response body
376
- group: getter
377
- parameters:
378
- fetchUid: string
379
- returns:
380
- binary: binary?
381
-
382
- fetchLog:
383
- internal: true
384
- parameters:
385
- fetchUid: string
386
- returns:
387
- log:
388
- type: array
389
- items: string
390
-
391
- storageState:
392
- title: Get storage state
393
- group: configuration
394
- parameters:
395
- indexedDB: boolean?
396
- returns:
397
- cookies:
398
- type: array
399
- items: NetworkCookie
400
- origins:
401
- type: array
402
- items: OriginStorage
403
-
404
- disposeAPIResponse:
405
- internal: true
406
- parameters:
407
- fetchUid: string
408
-
409
- dispose:
410
- internal: true
411
- parameters:
412
- reason: string?
413
- flags:
414
- potentiallyClosesScope: true
415
-
416
- APIResponse:
417
- type: object
418
- properties:
419
- fetchUid: string
420
- url: string
421
- status: int
422
- statusText: string
423
- headers:
424
- type: array
425
- items: NameValue
426
- securityDetails: SecurityDetails?
427
- serverAddr: RemoteAddr?
428
-
429
- # Copyright (c) Microsoft Corporation.
430
- #
431
- # Licensed under the Apache License, Version 2.0 (the "License");
432
- # you may not use this file except in compliance with the License.
433
- # You may obtain a copy of the License at
434
- #
435
- # http://www.apache.org/licenses/LICENSE-2.0
436
- #
437
- # Unless required by applicable law or agreed to in writing, software
438
- # distributed under the License is distributed on an "AS IS" BASIS,
439
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
440
- # See the License for the specific language governing permissions and
441
- # limitations under the License.
442
-
443
- Artifact:
444
- type: interface
445
-
446
- initializer:
447
- absolutePath: string
448
-
449
- commands:
450
-
451
- pathAfterFinished:
452
- internal: true
453
- returns:
454
- value: string
455
-
456
- # Blocks path/failure/delete/context.close until saved to the local |path|.
457
- saveAs:
458
- internal: true
459
- parameters:
460
- path: string
461
-
462
- # Blocks path/failure/delete/context.close until the stream is closed.
463
- saveAsStream:
464
- internal: true
465
- returns:
466
- stream: Stream
467
-
468
- failure:
469
- internal: true
470
- returns:
471
- error: string?
472
-
473
- stream:
474
- internal: true
475
- returns:
476
- stream: Stream
477
-
478
- cancel:
479
- internal: true
480
-
481
- delete:
482
- internal: true
483
- flags:
484
- potentiallyClosesScope: true
485
-
486
- Stream:
487
- type: interface
488
-
489
- commands:
490
-
491
- read:
492
- internal: true
493
- parameters:
494
- size: int?
495
- returns:
496
- binary: binary
497
-
498
- close:
499
- internal: true
500
-
501
- WritableStream:
502
- type: interface
503
-
504
- commands:
505
-
506
- write:
507
- internal: true
508
- parameters:
509
- binary: binary
510
-
511
- close:
512
- internal: true
513
-
514
- # Copyright (c) Microsoft Corporation.
515
- #
516
- # Licensed under the Apache License, Version 2.0 (the "License");
517
- # you may not use this file except in compliance with the License.
518
- # You may obtain a copy of the License at
519
- #
520
- # http://www.apache.org/licenses/LICENSE-2.0
521
- #
522
- # Unless required by applicable law or agreed to in writing, software
523
- # distributed under the License is distributed on an "AS IS" BASIS,
524
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
525
- # See the License for the specific language governing permissions and
526
- # limitations under the License.
527
-
528
- Browser:
529
- type: interface
530
-
531
- initializer:
532
- version: string
533
- name: string
534
- browserName:
535
- type: enum
536
- literals:
537
- - chromium
538
- - firefox
539
- - webkit
540
-
541
- commands:
542
-
543
- startServer:
544
- title: Start server
545
- parameters:
546
- title: string
547
- workspaceDir: string?
548
- metadata: json?
549
- host: string?
550
- port: int?
551
- returns:
552
- endpoint: string
553
-
554
- stopServer:
555
- title: Stop server
556
-
557
- close:
558
- title: Close browser
559
- parameters:
560
- reason: string?
561
- flags:
562
- pause: true
563
- potentiallyClosesScope: true
564
-
565
- killForTests:
566
- internal: true
567
- flags:
568
- potentiallyClosesScope: true
569
-
570
- defaultUserAgentForTest:
571
- internal: true
572
- returns:
573
- userAgent: string
574
-
575
- newContext:
576
- title: Create context
577
- parameters:
578
- $mixin: ContextOptions
579
- proxy:
580
- type: object?
581
- properties:
582
- server: string
583
- bypass: string?
584
- username: string?
585
- password: string?
586
- storageState:
587
- type: object?
588
- properties:
589
- cookies:
590
- type: array?
591
- items: SetNetworkCookie
592
- origins:
593
- type: array?
594
- items: SetOriginStorage
595
- returns:
596
- context: BrowserContext
597
-
598
- newContextForReuse:
599
- internal: true
600
- parameters:
601
- $mixin: ContextOptions
602
- proxy:
603
- type: object?
604
- properties:
605
- server: string
606
- bypass: string?
607
- username: string?
608
- password: string?
609
- storageState:
610
- type: object?
611
- properties:
612
- cookies:
613
- type: array?
614
- items: SetNetworkCookie
615
- origins:
616
- type: array?
617
- items: SetOriginStorage
618
- returns:
619
- context: BrowserContext
620
-
621
- disconnectFromReusedContext:
622
- internal: true
623
- parameters:
624
- reason: string
625
-
626
- newBrowserCDPSession:
627
- title: Create CDP session
628
- group: configuration
629
- returns:
630
- session: CDPSession
631
-
632
- startTracing:
633
- title: Start browser tracing
634
- group: configuration
635
- parameters:
636
- page: Page?
637
- screenshots: boolean?
638
- categories:
639
- type: array?
640
- items: string
641
-
642
- stopTracing:
643
- title: Stop browser tracing
644
- group: configuration
645
- returns:
646
- artifact: Artifact
647
-
648
- events:
649
-
650
- context:
651
- parameters:
652
- context: BrowserContext
653
-
654
- close:
655
-
656
- # Copyright (c) Microsoft Corporation.
657
- #
658
- # Licensed under the Apache License, Version 2.0 (the "License");
659
- # you may not use this file except in compliance with the License.
660
- # You may obtain a copy of the License at
661
- #
662
- # http://www.apache.org/licenses/LICENSE-2.0
663
- #
664
- # Unless required by applicable law or agreed to in writing, software
665
- # distributed under the License is distributed on an "AS IS" BASIS,
666
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
667
- # See the License for the specific language governing permissions and
668
- # limitations under the License.
669
-
670
- BrowserContext:
671
- type: interface
672
-
673
- initializer:
674
- debugger: Debugger
675
- requestContext: APIRequestContext
676
- tracing: Tracing
677
- options:
678
- type: object
679
- properties:
680
- $mixin: ContextOptions
681
-
682
- commands:
683
-
684
- addCookies:
685
- title: Add cookies
686
- group: configuration
687
- parameters:
688
- cookies:
689
- type: array
690
- items: SetNetworkCookie
691
-
692
- addInitScript:
693
- title: Add init script
694
- group: configuration
695
- parameters:
696
- source: string
697
- returns:
698
- disposable: Disposable
699
-
700
- clearCookies:
701
- title: Clear cookies
702
- group: configuration
703
- parameters:
704
- name: string?
705
- nameRegexSource: string?
706
- nameRegexFlags: string?
707
- domain: string?
708
- domainRegexSource: string?
709
- domainRegexFlags: string?
710
- path: string?
711
- pathRegexSource: string?
712
- pathRegexFlags: string?
713
-
714
- clearPermissions:
715
- title: Clear permissions
716
- group: configuration
717
-
718
- close:
719
- title: Close context
720
- parameters:
721
- reason: string?
722
- flags:
723
- pause: true
724
- potentiallyClosesScope: true
725
-
726
- cookies:
727
- title: Get cookies
728
- group: getter
729
- parameters:
730
- urls:
731
- type: array
732
- items: string
733
- returns:
734
- cookies:
735
- type: array
736
- items: NetworkCookie
737
-
738
- exposeBinding:
739
- title: Expose binding
740
- group: configuration
741
- parameters:
742
- name: string
743
- returns:
744
- disposable: Disposable
745
-
746
- grantPermissions:
747
- title: Grant permissions
748
- group: configuration
749
- parameters:
750
- permissions:
751
- type: array
752
- items: string
753
- origin: string?
754
-
755
- newPage:
756
- title: Create page
757
- returns:
758
- page: Page
759
-
760
- registerSelectorEngine:
761
- internal: true
762
- parameters:
763
- selectorEngine: SelectorEngine
764
-
765
- setTestIdAttributeName:
766
- internal: true
767
- parameters:
768
- testIdAttributeName: string
769
-
770
- setExtraHTTPHeaders:
771
- title: Set extra HTTP headers
772
- group: configuration
773
- parameters:
774
- headers:
775
- type: array
776
- items: NameValue
777
-
778
- setGeolocation:
779
- title: Set geolocation
780
- group: configuration
781
- parameters:
782
- geolocation:
783
- type: object?
784
- properties:
785
- longitude: float
786
- latitude: float
787
- accuracy: float?
788
-
789
- setHTTPCredentials:
790
- title: Set HTTP credentials
791
- group: configuration
792
- parameters:
793
- httpCredentials:
794
- type: object?
795
- properties:
796
- username: string
797
- password: string
798
- origin: string?
799
-
800
- setNetworkInterceptionPatterns:
801
- title: Route requests
802
- group: route
803
- parameters:
804
- patterns:
805
- type: array
806
- items:
807
- type: object
808
- properties:
809
- glob: string?
810
- regexSource: string?
811
- regexFlags: string?
812
- urlPattern: URLPattern?
813
-
814
- setWebSocketInterceptionPatterns:
815
- title: Route WebSockets
816
- group: route
817
- parameters:
818
- patterns:
819
- type: array
820
- items:
821
- type: object
822
- properties:
823
- glob: string?
824
- regexSource: string?
825
- regexFlags: string?
826
- urlPattern: URLPattern?
827
-
828
- setOffline:
829
- title: Set offline mode
830
- parameters:
831
- offline: boolean
832
-
833
- storageState:
834
- title: Get storage state
835
- group: configuration
836
- parameters:
837
- indexedDB: boolean?
838
- returns:
839
- cookies:
840
- type: array
841
- items: NetworkCookie
842
- origins:
843
- type: array
844
- items: OriginStorage
845
-
846
- setStorageState:
847
- title: Set storage state
848
- group: configuration
849
- parameters:
850
- storageState:
851
- type: object?
852
- properties:
853
- cookies:
854
- type: array?
855
- items: SetNetworkCookie
856
- origins:
857
- type: array?
858
- items: SetOriginStorage
859
-
860
- pause:
861
- title: Pause
862
-
863
- enableRecorder:
864
- internal: true
865
- parameters:
866
- language: string?
867
- mode:
868
- type: enum?
869
- literals:
870
- - inspecting
871
- - recording
872
- recorderMode:
873
- type: enum?
874
- literals:
875
- - default
876
- - api
877
- pauseOnNextStatement: boolean?
878
- testIdAttributeName: string?
879
- launchOptions: json?
880
- contextOptions: json?
881
- device: string?
882
- saveStorage: string?
883
- outputFile: string?
884
- handleSIGINT: boolean?
885
- omitCallTracking: boolean?
886
-
887
- disableRecorder:
888
- internal: true
889
-
890
- exposeConsoleApi:
891
- internal: true
892
-
893
- newCDPSession:
894
- title: Create CDP session
895
- group: configuration
896
- parameters:
897
- page: Page?
898
- frame: Frame?
899
- returns:
900
- session: CDPSession
901
-
902
- createTempFiles:
903
- internal: true
904
- parameters:
905
- rootDirName: string?
906
- items:
907
- type: array
908
- items:
909
- type: object
910
- properties:
911
- name: string
912
- lastModifiedMs: float?
913
- returns:
914
- rootDir: WritableStream?
915
- writableStreams:
916
- type: array
917
- items: WritableStream
918
-
919
- updateSubscription:
920
- internal: true
921
- parameters:
922
- event:
923
- type: enum
924
- literals:
925
- - console
926
- - dialog
927
- - request
928
- - response
929
- - requestFinished
930
- - requestFailed
931
- enabled: boolean
932
-
933
- clockFastForward:
934
- title: Fast forward clock "{ticksNumber|ticksString}"
935
- parameters:
936
- ticksNumber: float?
937
- ticksString: string?
938
-
939
- clockInstall:
940
- title: Install clock "{timeNumber|timeString}"
941
- parameters:
942
- timeNumber: float?
943
- timeString: string?
944
-
945
- clockPauseAt:
946
- title: Pause clock "{timeNumber|timeString}"
947
- parameters:
948
- timeNumber: float?
949
- timeString: string?
950
-
951
- clockResume:
952
- title: Resume clock
953
-
954
- clockRunFor:
955
- title: Run clock "{ticksNumber|ticksString}"
956
- parameters:
957
- ticksNumber: float?
958
- ticksString: string?
959
-
960
- clockSetFixedTime:
961
- title: Set fixed time "{timeNumber|timeString}"
962
- parameters:
963
- timeNumber: float?
964
- timeString: string?
965
-
966
- clockSetSystemTime:
967
- title: Set system time "{timeNumber|timeString}"
968
- parameters:
969
- timeNumber: float?
970
- timeString: string?
971
-
972
- credentialsInstall:
973
- title: Install virtual WebAuthn authenticator
974
- group: configuration
975
-
976
- credentialsCreate:
977
- title: Create virtual credential for "{rpId}"
978
- group: configuration
979
- parameters:
980
- rpId: string
981
- id: string?
982
- userHandle: string?
983
- privateKey: string?
984
- publicKey: string?
985
- returns:
986
- credential: VirtualCredential
987
-
988
- credentialsGet:
989
- title: Get virtual credentials
990
- group: configuration
991
- parameters:
992
- rpId: string?
993
- id: string?
994
- returns:
995
- credentials:
996
- type: array
997
- items: VirtualCredential
998
-
999
- credentialsDelete:
1000
- title: Delete virtual credential
1001
- group: configuration
1002
- parameters:
1003
- id: string
1004
-
1005
- events:
1006
-
1007
- bindingCall:
1008
- parameters:
1009
- binding: BindingCall
1010
-
1011
- console:
1012
- parameters:
1013
- $mixin: ConsoleMessage
1014
- page: Page?
1015
- worker: Worker?
1016
-
1017
- close:
1018
-
1019
- dialog:
1020
- parameters:
1021
- dialog: Dialog
1022
-
1023
- page:
1024
- parameters:
1025
- page: Page
1026
-
1027
- pageError:
1028
- parameters:
1029
- error: SerializedError
1030
- page: Page
1031
- location:
1032
- type: object
1033
- properties:
1034
- url: string
1035
- line: int
1036
- column: int
1037
-
1038
- route:
1039
- parameters:
1040
- route: Route
1041
-
1042
- webSocketRoute:
1043
- parameters:
1044
- webSocketRoute: WebSocketRoute
1045
-
1046
- serviceWorker:
1047
- parameters:
1048
- worker: Worker
1049
-
1050
- request:
1051
- parameters:
1052
- request: Request
1053
- page: Page?
1054
-
1055
- requestFailed:
1056
- parameters:
1057
- request: Request
1058
- failureText: string?
1059
- responseEndTiming: float
1060
- page: Page?
1061
-
1062
- requestFinished:
1063
- parameters:
1064
- request: Request
1065
- response: Response?
1066
- responseEndTiming: float
1067
- page: Page?
1068
-
1069
- response:
1070
- parameters:
1071
- response: Response
1072
- page: Page?
1073
-
1074
- recorderEvent:
1075
- parameters:
1076
- event:
1077
- type: enum
1078
- literals:
1079
- - actionAdded
1080
- - actionUpdated
1081
- - signalAdded
1082
- data: json
1083
- page: Page
1084
- code: string
1085
-
1086
- # Copyright (c) Microsoft Corporation.
1087
- #
1088
- # Licensed under the Apache License, Version 2.0 (the "License");
1089
- # you may not use this file except in compliance with the License.
1090
- # You may obtain a copy of the License at
1091
- #
1092
- # http://www.apache.org/licenses/LICENSE-2.0
1093
- #
1094
- # Unless required by applicable law or agreed to in writing, software
1095
- # distributed under the License is distributed on an "AS IS" BASIS,
1096
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1097
- # See the License for the specific language governing permissions and
1098
- # limitations under the License.
1099
-
1100
- BrowserType:
1101
- type: interface
1102
-
1103
- initializer:
1104
- executablePath: string
1105
- name: string
1106
-
1107
- commands:
1108
-
1109
- launch:
1110
- title: Launch browser
1111
- parameters:
1112
- $mixin: LaunchOptions
1113
- slowMo: float?
1114
- returns:
1115
- browser: Browser
1116
-
1117
- launchPersistentContext:
1118
- title: Launch persistent context
1119
- parameters:
1120
- $mixin1: LaunchOptions
1121
- $mixin2: ContextOptions
1122
- userDataDir: string
1123
- slowMo: float?
1124
- returns:
1125
- browser: Browser
1126
- context: BrowserContext
1127
-
1128
- connectOverCDP:
1129
- title: Connect over CDP
1130
- parameters:
1131
- endpointURL: string?
1132
- headers:
1133
- type: array?
1134
- items: NameValue
1135
- slowMo: float?
1136
- timeout: float
1137
- isLocal: boolean?
1138
- noDefaults: boolean?
1139
- artifactsDir: string?
1140
- transport: binary?
1141
- returns:
1142
- browser: Browser
1143
- defaultContext: BrowserContext?
1144
-
1145
- connectToWorker:
1146
- title: Connect to worker
1147
- parameters:
1148
- endpoint: string
1149
- timeout: float
1150
- returns:
1151
- worker: Worker
1152
-
1153
- # Copyright (c) Microsoft Corporation.
1154
- #
1155
- # Licensed under the Apache License, Version 2.0 (the "License");
1156
- # you may not use this file except in compliance with the License.
1157
- # You may obtain a copy of the License at
1158
- #
1159
- # http://www.apache.org/licenses/LICENSE-2.0
1160
- #
1161
- # Unless required by applicable law or agreed to in writing, software
1162
- # distributed under the License is distributed on an "AS IS" BASIS,
1163
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1164
- # See the License for the specific language governing permissions and
1165
- # limitations under the License.
1166
-
1167
- Metadata:
1168
- type: object
1169
- properties:
1170
- location:
1171
- type: object?
1172
- properties:
1173
- file: string
1174
- line: int?
1175
- column: int?
1176
- title: string?
1177
- internal: boolean?
1178
- # Test runner step id.
1179
- stepId: string?
1180
-
1181
- ClientSideCallMetadata:
1182
- type: object
1183
- properties:
1184
- id: int
1185
- stack:
1186
- type: array?
1187
- items: StackFrame
1188
-
1189
- SDKLanguage:
1190
- type: enum
1191
- literals:
1192
- - javascript
1193
- - python
1194
- - java
1195
- - csharp
1196
-
1197
- Disposable:
1198
- type: interface
1199
-
1200
- commands:
1201
-
1202
- dispose:
1203
- internal: true
1204
- flags:
1205
- potentiallyClosesScope: true
1206
-
1207
- WaitInfo:
1208
- type: object
1209
- properties:
1210
- waitId: string
1211
- phase:
1212
- type: enum
1213
- literals:
1214
- - before
1215
- - after
1216
- - log
1217
- event: string?
1218
- message: string?
1219
- error: string?
1220
-
1221
- # Copyright (c) Microsoft Corporation.
1222
- #
1223
- # Licensed under the Apache License, Version 2.0 (the "License");
1224
- # you may not use this file except in compliance with the License.
1225
- # You may obtain a copy of the License at
1226
- #
1227
- # http://www.apache.org/licenses/LICENSE-2.0
1228
- #
1229
- # Unless required by applicable law or agreed to in writing, software
1230
- # distributed under the License is distributed on an "AS IS" BASIS,
1231
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1232
- # See the License for the specific language governing permissions and
1233
- # limitations under the License.
1234
- Electron:
1235
- type: interface
1236
-
1237
- commands:
1238
-
1239
- launch:
1240
- title: Launch electron
1241
- parameters:
1242
- executablePath: string?
1243
- args:
1244
- type: array?
1245
- items: string
1246
- chromiumSandbox: boolean?
1247
- cwd: string?
1248
- env:
1249
- type: array?
1250
- items: NameValue
1251
- timeout: float
1252
- acceptDownloads:
1253
- type: enum?
1254
- literals:
1255
- - accept
1256
- - deny
1257
- - internal-browser-default
1258
- bypassCSP: boolean?
1259
- colorScheme:
1260
- type: enum?
1261
- literals:
1262
- - dark
1263
- - light
1264
- - no-preference
1265
- - no-override
1266
- extraHTTPHeaders:
1267
- type: array?
1268
- items: NameValue
1269
- geolocation:
1270
- type: object?
1271
- properties:
1272
- longitude: float
1273
- latitude: float
1274
- accuracy: float?
1275
- httpCredentials:
1276
- type: object?
1277
- properties:
1278
- username: string
1279
- password: string
1280
- origin: string?
1281
- ignoreHTTPSErrors: boolean?
1282
- locale: string?
1283
- offline: boolean?
1284
- recordVideo:
1285
- type: object?
1286
- properties:
1287
- dir: string?
1288
- size:
1289
- type: object?
1290
- properties:
1291
- width: int
1292
- height: int
1293
- showActions:
1294
- type: object?
1295
- properties:
1296
- $mixin: ShowActionsOptions
1297
- strictSelectors: boolean?
1298
- timezoneId: string?
1299
- tracesDir: string?
1300
- artifactsDir: string?
1301
- selectorEngines:
1302
- type: array?
1303
- items: SelectorEngine
1304
- testIdAttributeName: string?
1305
-
1306
- returns:
1307
- electronApplication: ElectronApplication
1308
-
1309
-
1310
- ElectronApplication:
1311
- type: interface
1312
-
1313
- initializer:
1314
- context: BrowserContext
1315
-
1316
- commands:
1317
-
1318
- browserWindow:
1319
- internal: true
1320
- parameters:
1321
- page: Page
1322
- returns:
1323
- handle: JSHandle
1324
-
1325
- evaluateExpression:
1326
- title: Evaluate
1327
- parameters:
1328
- expression: string
1329
- isFunction: boolean?
1330
- arg: SerializedArgument
1331
- returns:
1332
- value: SerializedValue
1333
-
1334
- evaluateExpressionHandle:
1335
- title: Evaluate
1336
- parameters:
1337
- expression: string
1338
- isFunction: boolean?
1339
- arg: SerializedArgument
1340
- returns:
1341
- handle: JSHandle
1342
-
1343
- updateSubscription:
1344
- internal: true
1345
- parameters:
1346
- event:
1347
- type: enum
1348
- literals:
1349
- - console
1350
- enabled: boolean
1351
-
1352
- events:
1353
- close:
1354
- console:
1355
- parameters:
1356
- $mixin: ConsoleMessage
1357
-
1358
-
1359
-
1360
- # Copyright (c) Microsoft Corporation.
1361
- #
1362
- # Licensed under the Apache License, Version 2.0 (the "License");
1363
- # you may not use this file except in compliance with the License.
1364
- # You may obtain a copy of the License at
1365
- #
1366
- # http://www.apache.org/licenses/LICENSE-2.0
1367
- #
1368
- # Unless required by applicable law or agreed to in writing, software
1369
- # distributed under the License is distributed on an "AS IS" BASIS,
1370
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1371
- # See the License for the specific language governing permissions and
1372
- # limitations under the License.
1373
-
1374
- Frame:
1375
- type: interface
1376
-
1377
- initializer:
1378
- url: string
1379
- name: string
1380
- parentFrame: Frame?
1381
- loadStates:
1382
- type: array
1383
- items: LifecycleEvent
1384
-
1385
- commands:
1386
-
1387
- evalOnSelector:
1388
- title: Evaluate
1389
- parameters:
1390
- selector: string
1391
- strict: boolean?
1392
- expression: string
1393
- isFunction: boolean?
1394
- arg: SerializedArgument
1395
- returns:
1396
- value: SerializedValue
1397
- flags:
1398
- snapshot: true
1399
- pause: true
1400
-
1401
- evalOnSelectorAll:
1402
- title: Evaluate
1403
- parameters:
1404
- selector: string
1405
- expression: string
1406
- isFunction: boolean?
1407
- arg: SerializedArgument
1408
- returns:
1409
- value: SerializedValue
1410
- flags:
1411
- snapshot: true
1412
- pause: true
1413
-
1414
- addScriptTag:
1415
- title: Add script tag
1416
- parameters:
1417
- url: string?
1418
- content: string?
1419
- type: string?
1420
- returns:
1421
- element: ElementHandle
1422
- flags:
1423
- snapshot: true
1424
- pause: true
1425
-
1426
- addStyleTag:
1427
- title: Add style tag
1428
- parameters:
1429
- url: string?
1430
- content: string?
1431
- returns:
1432
- element: ElementHandle
1433
- flags:
1434
- snapshot: true
1435
- pause: true
1436
-
1437
- ariaSnapshot:
1438
- title: Aria snapshot
1439
- group: getter
1440
- parameters:
1441
- mode:
1442
- type: enum?
1443
- literals:
1444
- - ai
1445
- - default
1446
- # When track is present, an incremental snapshot is returned when possible.
1447
- track: string?
1448
- selector: string?
1449
- depth: int?
1450
- boxes: boolean?
1451
- timeout: float
1452
- returns:
1453
- snapshot: string
1454
-
1455
- blur:
1456
- title: Blur
1457
- parameters:
1458
- selector: string
1459
- strict: boolean?
1460
- timeout: float
1461
- flags:
1462
- slowMo: true
1463
- snapshot: true
1464
- pause: true
1465
-
1466
- check:
1467
- title: Check
1468
- parameters:
1469
- selector: string
1470
- strict: boolean?
1471
- force: boolean?
1472
- position: Point?
1473
- timeout: float
1474
- trial: boolean?
1475
- flags:
1476
- slowMo: true
1477
- snapshot: true
1478
- pause: true
1479
- input: true
1480
- isAutoWaiting: true
1481
-
1482
- click:
1483
- title: Click
1484
- parameters:
1485
- selector: string
1486
- strict: boolean?
1487
- force: boolean?
1488
- noWaitAfter: boolean?
1489
- modifiers:
1490
- type: array?
1491
- items:
1492
- type: enum
1493
- literals:
1494
- - Alt
1495
- - Control
1496
- - ControlOrMeta
1497
- - Meta
1498
- - Shift
1499
- position: Point?
1500
- delay: float?
1501
- button:
1502
- type: enum?
1503
- literals:
1504
- - left
1505
- - right
1506
- - middle
1507
- clickCount: int?
1508
- timeout: float
1509
- trial: boolean?
1510
- steps: int?
1511
- flags:
1512
- slowMo: true
1513
- snapshot: true
1514
- pause: true
1515
- input: true
1516
- isAutoWaiting: true
1517
- potentiallyClosesScope: true
1518
-
1519
- content:
1520
- title: Get content
1521
- returns:
1522
- value: string
1523
- flags:
1524
- snapshot: true
1525
- pause: true
1526
-
1527
- dragAndDrop:
1528
- title: Drag and drop
1529
- parameters:
1530
- source: string
1531
- target: string
1532
- force: boolean?
1533
- timeout: float
1534
- trial: boolean?
1535
- sourcePosition: Point?
1536
- targetPosition: Point?
1537
- strict: boolean?
1538
- steps: int?
1539
- flags:
1540
- slowMo: true
1541
- snapshot: true
1542
- pause: true
1543
- input: true
1544
- isAutoWaiting: true
1545
-
1546
- drop:
1547
- title: Drop files or data onto an element
1548
- parameters:
1549
- selector: string
1550
- strict: boolean?
1551
- position: Point?
1552
- # Only one of payloads, localPaths and streams may be present.
1553
- payloads:
1554
- type: array?
1555
- items:
1556
- type: object
1557
- properties:
1558
- name: string
1559
- mimeType: string?
1560
- buffer: binary
1561
- localPaths:
1562
- type: array?
1563
- items: string
1564
- streams:
1565
- type: array?
1566
- items: WritableStream
1567
- data:
1568
- type: array?
1569
- items:
1570
- type: object
1571
- properties:
1572
- mimeType: string
1573
- value: string
1574
- timeout: float
1575
- flags:
1576
- slowMo: true
1577
- snapshot: true
1578
- pause: true
1579
- input: true
1580
- isAutoWaiting: true
1581
-
1582
- dblclick:
1583
- title: Double click
1584
- parameters:
1585
- selector: string
1586
- strict: boolean?
1587
- force: boolean?
1588
- modifiers:
1589
- type: array?
1590
- items:
1591
- type: enum
1592
- literals:
1593
- - Alt
1594
- - Control
1595
- - ControlOrMeta
1596
- - Meta
1597
- - Shift
1598
- position: Point?
1599
- delay: float?
1600
- button:
1601
- type: enum?
1602
- literals:
1603
- - left
1604
- - right
1605
- - middle
1606
- timeout: float
1607
- trial: boolean?
1608
- steps: int?
1609
- flags:
1610
- slowMo: true
1611
- snapshot: true
1612
- pause: true
1613
- input: true
1614
- isAutoWaiting: true
1615
-
1616
- dispatchEvent:
1617
- title: Dispatch "{type}"
1618
- parameters:
1619
- selector: string
1620
- strict: boolean?
1621
- type: string
1622
- eventInit: SerializedArgument
1623
- timeout: float
1624
- flags:
1625
- slowMo: true
1626
- snapshot: true
1627
- pause: true
1628
-
1629
- evaluateExpression:
1630
- title: Evaluate
1631
- parameters:
1632
- expression: string
1633
- isFunction: boolean?
1634
- arg: SerializedArgument
1635
- returns:
1636
- value: SerializedValue
1637
- flags:
1638
- snapshot: true
1639
- pause: true
1640
-
1641
- evaluateExpressionHandle:
1642
- title: Evaluate
1643
- parameters:
1644
- expression: string
1645
- isFunction: boolean?
1646
- arg: SerializedArgument
1647
- returns:
1648
- handle: JSHandle
1649
- flags:
1650
- snapshot: true
1651
- pause: true
1652
-
1653
- fill:
1654
- title: Fill "{value}"
1655
- parameters:
1656
- selector: string
1657
- strict: boolean?
1658
- value: string
1659
- force: boolean?
1660
- timeout: float
1661
- flags:
1662
- slowMo: true
1663
- snapshot: true
1664
- pause: true
1665
- input: true
1666
- isAutoWaiting: true
1667
-
1668
- focus:
1669
- title: Focus
1670
- parameters:
1671
- selector: string
1672
- strict: boolean?
1673
- timeout: float
1674
- flags:
1675
- slowMo: true
1676
- snapshot: true
1677
- pause: true
1678
-
1679
- frameElement:
1680
- title: Get frame element
1681
- group: getter
1682
- returns:
1683
- element: ElementHandle
1684
-
1685
- resolveSelector:
1686
- internal: true
1687
- parameters:
1688
- selector: string
1689
- returns:
1690
- resolvedSelector: string
1691
-
1692
- highlight:
1693
- internal: true
1694
- parameters:
1695
- selector: string
1696
- style: string?
1697
-
1698
- hideHighlight:
1699
- internal: true
1700
- parameters:
1701
- selector: string
1702
-
1703
- getAttribute:
1704
- title: Get attribute "{name}"
1705
- group: getter
1706
- parameters:
1707
- selector: string
1708
- strict: boolean?
1709
- name: string
1710
- timeout: float
1711
- returns:
1712
- value: string?
1713
- flags:
1714
- snapshot: true
1715
- pause: true
1716
-
1717
- goto:
1718
- title: Navigate to "{url}"
1719
- parameters:
1720
- url: string
1721
- timeout: float
1722
- waitUntil: LifecycleEvent?
1723
- referer: string?
1724
- returns:
1725
- response: Response?
1726
- flags:
1727
- slowMo: true
1728
- snapshot: true
1729
- pause: true
1730
-
1731
- hover:
1732
- title: Hover
1733
- parameters:
1734
- selector: string
1735
- strict: boolean?
1736
- force: boolean?
1737
- modifiers:
1738
- type: array?
1739
- items:
1740
- type: enum
1741
- literals:
1742
- - Alt
1743
- - Control
1744
- - ControlOrMeta
1745
- - Meta
1746
- - Shift
1747
- position: Point?
1748
- timeout: float
1749
- trial: boolean?
1750
- flags:
1751
- slowMo: true
1752
- snapshot: true
1753
- pause: true
1754
- input: true
1755
- isAutoWaiting: true
1756
-
1757
- innerHTML:
1758
- title: Get HTML
1759
- group: getter
1760
- parameters:
1761
- selector: string
1762
- strict: boolean?
1763
- timeout: float
1764
- returns:
1765
- value: string
1766
- flags:
1767
- snapshot: true
1768
- pause: true
1769
-
1770
- innerText:
1771
- title: Get inner text
1772
- group: getter
1773
- parameters:
1774
- selector: string
1775
- strict: boolean?
1776
- timeout: float
1777
- returns:
1778
- value: string
1779
- flags:
1780
- snapshot: true
1781
- pause: true
1782
-
1783
- inputValue:
1784
- title: Get input value
1785
- group: getter
1786
- parameters:
1787
- selector: string
1788
- strict: boolean?
1789
- timeout: float
1790
- returns:
1791
- value: string
1792
- flags:
1793
- snapshot: true
1794
- pause: true
1795
-
1796
- isChecked:
1797
- title: Is checked
1798
- group: getter
1799
- parameters:
1800
- selector: string
1801
- strict: boolean?
1802
- timeout: float
1803
- returns:
1804
- value: boolean
1805
- flags:
1806
- snapshot: true
1807
- pause: true
1808
-
1809
- isDisabled:
1810
- title: Is disabled
1811
- group: getter
1812
- parameters:
1813
- selector: string
1814
- strict: boolean?
1815
- timeout: float
1816
- returns:
1817
- value: boolean
1818
- flags:
1819
- snapshot: true
1820
- pause: true
1821
-
1822
- isEnabled:
1823
- title: Is enabled
1824
- group: getter
1825
- parameters:
1826
- selector: string
1827
- strict: boolean?
1828
- timeout: float
1829
- returns:
1830
- value: boolean
1831
- flags:
1832
- snapshot: true
1833
- pause: true
1834
-
1835
- isHidden:
1836
- title: Is hidden
1837
- group: getter
1838
- parameters:
1839
- # Note: compared to other isFoo methods, isHidden is a one-shot operation without a timeout.
1840
- selector: string
1841
- strict: boolean?
1842
- returns:
1843
- value: boolean
1844
- flags:
1845
- snapshot: true
1846
- pause: true
1847
-
1848
- isVisible:
1849
- title: Is visible
1850
- group: getter
1851
- parameters:
1852
- # Note: compared to other isFoo methods, isVisible is a one-shot operation without a timeout.
1853
- selector: string
1854
- strict: boolean?
1855
- returns:
1856
- value: boolean
1857
- flags:
1858
- snapshot: true
1859
- pause: true
1860
-
1861
- isEditable:
1862
- title: Is editable
1863
- group: getter
1864
- parameters:
1865
- selector: string
1866
- strict: boolean?
1867
- timeout: float
1868
- returns:
1869
- value: boolean
1870
- flags:
1871
- snapshot: true
1872
- pause: true
1873
-
1874
- press:
1875
- title: Press "{key}"
1876
- parameters:
1877
- selector: string
1878
- strict: boolean?
1879
- key: string
1880
- delay: float?
1881
- noWaitAfter: boolean?
1882
- timeout: float
1883
- flags:
1884
- slowMo: true
1885
- snapshot: true
1886
- pause: true
1887
- input: true
1888
- isAutoWaiting: true
1889
-
1890
- querySelector:
1891
- title: Query selector
1892
- parameters:
1893
- selector: string
1894
- strict: boolean?
1895
- returns:
1896
- element: ElementHandle?
1897
- flags:
1898
- snapshot: true
1899
-
1900
- querySelectorAll:
1901
- title: Query selector all
1902
- parameters:
1903
- selector: string
1904
- returns:
1905
- elements:
1906
- type: array
1907
- items: ElementHandle
1908
- flags:
1909
- snapshot: true
1910
-
1911
- queryCount:
1912
- title: Query count
1913
- parameters:
1914
- selector: string
1915
- returns:
1916
- value: int
1917
- flags:
1918
- snapshot: true
1919
- pause: true
1920
-
1921
- selectOption:
1922
- title: Select option
1923
- parameters:
1924
- selector: string
1925
- strict: boolean?
1926
- elements:
1927
- type: array?
1928
- items: ElementHandle
1929
- options:
1930
- type: array?
1931
- items:
1932
- type: object
1933
- properties:
1934
- valueOrLabel: string?
1935
- value: string?
1936
- label: string?
1937
- index: int?
1938
- force: boolean?
1939
- timeout: float
1940
- returns:
1941
- values:
1942
- type: array
1943
- items: string
1944
- flags:
1945
- slowMo: true
1946
- snapshot: true
1947
- pause: true
1948
- input: true
1949
- isAutoWaiting: true
1950
-
1951
- setContent:
1952
- title: Set content
1953
- parameters:
1954
- html: string
1955
- timeout: float
1956
- waitUntil: LifecycleEvent?
1957
- flags:
1958
- snapshot: true
1959
- pause: true
1960
-
1961
- setInputFiles:
1962
- title: Set input files
1963
- parameters:
1964
- selector: string
1965
- strict: boolean?
1966
- # Only one of payloads, localPaths and streams should be present.
1967
- payloads:
1968
- type: array?
1969
- items:
1970
- type: object
1971
- properties:
1972
- name: string
1973
- mimeType: string?
1974
- buffer: binary
1975
- localDirectory: string?
1976
- directoryStream: WritableStream?
1977
- localPaths:
1978
- type: array?
1979
- items: string
1980
- streams:
1981
- type: array?
1982
- items: WritableStream
1983
- timeout: float
1984
- flags:
1985
- slowMo: true
1986
- snapshot: true
1987
- pause: true
1988
- input: true
1989
- isAutoWaiting: true
1990
-
1991
- tap:
1992
- title: Tap
1993
- parameters:
1994
- selector: string
1995
- strict: boolean?
1996
- force: boolean?
1997
- modifiers:
1998
- type: array?
1999
- items:
2000
- type: enum
2001
- literals:
2002
- - Alt
2003
- - Control
2004
- - ControlOrMeta
2005
- - Meta
2006
- - Shift
2007
- position: Point?
2008
- timeout: float
2009
- trial: boolean?
2010
- flags:
2011
- slowMo: true
2012
- snapshot: true
2013
- pause: true
2014
- input: true
2015
- isAutoWaiting: true
2016
-
2017
- textContent:
2018
- title: Get text content
2019
- group: getter
2020
- parameters:
2021
- selector: string
2022
- strict: boolean?
2023
- timeout: float
2024
- returns:
2025
- value: string?
2026
- flags:
2027
- snapshot: true
2028
- pause: true
2029
-
2030
- title:
2031
- title: Get page title
2032
- group: getter
2033
- returns:
2034
- value: string
2035
-
2036
- type:
2037
- title: Type "{text}"
2038
- parameters:
2039
- selector: string
2040
- strict: boolean?
2041
- text: string
2042
- delay: float?
2043
- timeout: float
2044
- flags:
2045
- slowMo: true
2046
- snapshot: true
2047
- pause: true
2048
- input: true
2049
- isAutoWaiting: true
2050
-
2051
- uncheck:
2052
- title: Uncheck
2053
- parameters:
2054
- selector: string
2055
- strict: boolean?
2056
- force: boolean?
2057
- position: Point?
2058
- timeout: float
2059
- trial: boolean?
2060
- flags:
2061
- slowMo: true
2062
- snapshot: true
2063
- pause: true
2064
- input: true
2065
- isAutoWaiting: true
2066
-
2067
- waitForTimeout:
2068
- title: Wait for timeout
2069
- parameters:
2070
- waitTimeout: float
2071
- flags:
2072
- snapshot: true
2073
-
2074
- waitForFunction:
2075
- title: Wait for function
2076
- parameters:
2077
- expression: string
2078
- isFunction: boolean?
2079
- arg: SerializedArgument
2080
- timeout: float
2081
- # When present, polls on interval. Otherwise, polls on raf.
2082
- pollingInterval: float?
2083
- returns:
2084
- handle: JSHandle
2085
- flags:
2086
- snapshot: true
2087
- pause: true
2088
-
2089
- waitForSelector:
2090
- title: Wait for selector
2091
- parameters:
2092
- selector: string
2093
- strict: boolean?
2094
- timeout: float
2095
- state:
2096
- type: enum?
2097
- literals:
2098
- - attached
2099
- - detached
2100
- - visible
2101
- - hidden
2102
- omitReturnValue: boolean?
2103
- returns:
2104
- element: ElementHandle?
2105
- flags:
2106
- snapshot: true
2107
-
2108
- expect:
2109
- title: Expect "{expression}"
2110
- parameters:
2111
- selector: string?
2112
- expression: string
2113
- expressionArg: json?
2114
- pseudo:
2115
- type: enum?
2116
- literals:
2117
- - before
2118
- - after
2119
- expectedText:
2120
- type: array?
2121
- items: ExpectedTextValue
2122
- expectedNumber: float?
2123
- expectedValue: SerializedArgument?
2124
- useInnerText: boolean?
2125
- isNot: boolean
2126
- timeout: float
2127
- errorDetails:
2128
- received:
2129
- type: object?
2130
- properties:
2131
- value: SerializedValue?
2132
- ariaSnapshot: string?
2133
- timedOut: boolean?
2134
- customErrorMessage: string?
2135
- flags:
2136
- snapshot: true
2137
- pause: true
2138
-
2139
- events:
2140
-
2141
- loadstate:
2142
- parameters:
2143
- add: LifecycleEvent?
2144
- remove: LifecycleEvent?
2145
-
2146
- navigated:
2147
- parameters:
2148
- url: string
2149
- name: string
2150
- newDocument:
2151
- type: object?
2152
- properties:
2153
- request: Request?
2154
- error: string?
2155
-
2156
- # Copyright (c) Microsoft Corporation.
2157
- #
2158
- # Licensed under the Apache License, Version 2.0 (the "License");
2159
- # you may not use this file except in compliance with the License.
2160
- # You may obtain a copy of the License at
2161
- #
2162
- # http://www.apache.org/licenses/LICENSE-2.0
2163
- #
2164
- # Unless required by applicable law or agreed to in writing, software
2165
- # distributed under the License is distributed on an "AS IS" BASIS,
2166
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2167
- # See the License for the specific language governing permissions and
2168
- # limitations under the License.
2169
-
2170
- JSHandle:
2171
- type: interface
2172
-
2173
- initializer:
2174
- preview: string
2175
-
2176
- commands:
2177
-
2178
- dispose:
2179
- internal: true
2180
- flags:
2181
- potentiallyClosesScope: true
2182
-
2183
- evaluateExpression:
2184
- title: Evaluate
2185
- parameters:
2186
- expression: string
2187
- isFunction: boolean?
2188
- arg: SerializedArgument
2189
- returns:
2190
- value: SerializedValue
2191
- flags:
2192
- snapshot: true
2193
- pause: true
2194
-
2195
- evaluateExpressionHandle:
2196
- title: Evaluate
2197
- parameters:
2198
- expression: string
2199
- isFunction: boolean?
2200
- arg: SerializedArgument
2201
- returns:
2202
- handle: JSHandle
2203
- flags:
2204
- snapshot: true
2205
- pause: true
2206
-
2207
- getPropertyList:
2208
- title: Get property list
2209
- group: getter
2210
- returns:
2211
- properties:
2212
- type: array
2213
- items:
2214
- type: object
2215
- properties:
2216
- name: string
2217
- value: JSHandle
2218
-
2219
- getProperty:
2220
- title: Get JS property
2221
- group: getter
2222
- parameters:
2223
- name: string
2224
- returns:
2225
- handle: JSHandle
2226
-
2227
- jsonValue:
2228
- title: Get JSON value
2229
- group: getter
2230
- returns:
2231
- value: SerializedValue
2232
-
2233
- events:
2234
-
2235
- previewUpdated:
2236
- parameters:
2237
- preview: string
2238
-
2239
- ElementHandle:
2240
- type: interface
2241
-
2242
- extends: JSHandle
2243
-
2244
- commands:
2245
-
2246
- evalOnSelector:
2247
- title: Evaluate
2248
- parameters:
2249
- selector: string
2250
- strict: boolean?
2251
- expression: string
2252
- isFunction: boolean?
2253
- arg: SerializedArgument
2254
- returns:
2255
- value: SerializedValue
2256
- flags:
2257
- snapshot: true
2258
- pause: true
2259
-
2260
- evalOnSelectorAll:
2261
- title: Evaluate
2262
- parameters:
2263
- selector: string
2264
- expression: string
2265
- isFunction: boolean?
2266
- arg: SerializedArgument
2267
- returns:
2268
- value: SerializedValue
2269
- flags:
2270
- snapshot: true
2271
- pause: true
2272
-
2273
- boundingBox:
2274
- title: Get bounding box
2275
- returns:
2276
- value: Rect?
2277
- flags:
2278
- snapshot: true
2279
- pause: true
2280
-
2281
- check:
2282
- title: Check
2283
- parameters:
2284
- force: boolean?
2285
- position: Point?
2286
- timeout: float
2287
- trial: boolean?
2288
- flags:
2289
- slowMo: true
2290
- snapshot: true
2291
- pause: true
2292
- input: true
2293
- isAutoWaiting: true
2294
-
2295
- click:
2296
- title: Click
2297
- parameters:
2298
- force: boolean?
2299
- noWaitAfter: boolean?
2300
- modifiers:
2301
- type: array?
2302
- items:
2303
- type: enum
2304
- literals:
2305
- - Alt
2306
- - Control
2307
- - ControlOrMeta
2308
- - Meta
2309
- - Shift
2310
- position: Point?
2311
- delay: float?
2312
- button:
2313
- type: enum?
2314
- literals:
2315
- - left
2316
- - right
2317
- - middle
2318
- clickCount: int?
2319
- timeout: float
2320
- trial: boolean?
2321
- steps: int?
2322
- flags:
2323
- slowMo: true
2324
- snapshot: true
2325
- pause: true
2326
- input: true
2327
- isAutoWaiting: true
2328
-
2329
- contentFrame:
2330
- title: Get content frame
2331
- group: getter
2332
- returns:
2333
- frame: Frame?
2334
-
2335
- dblclick:
2336
- title: Double click
2337
- parameters:
2338
- force: boolean?
2339
- modifiers:
2340
- type: array?
2341
- items:
2342
- type: enum
2343
- literals:
2344
- - Alt
2345
- - Control
2346
- - ControlOrMeta
2347
- - Meta
2348
- - Shift
2349
- position: Point?
2350
- delay: float?
2351
- button:
2352
- type: enum?
2353
- literals:
2354
- - left
2355
- - right
2356
- - middle
2357
- timeout: float
2358
- trial: boolean?
2359
- steps: int?
2360
- flags:
2361
- slowMo: true
2362
- snapshot: true
2363
- pause: true
2364
- input: true
2365
- isAutoWaiting: true
2366
-
2367
- dispatchEvent:
2368
- title: Dispatch event
2369
- parameters:
2370
- type: string
2371
- eventInit: SerializedArgument
2372
- flags:
2373
- slowMo: true
2374
- snapshot: true
2375
- pause: true
2376
-
2377
- fill:
2378
- title: Fill "{value}"
2379
- parameters:
2380
- value: string
2381
- force: boolean?
2382
- timeout: float
2383
- flags:
2384
- slowMo: true
2385
- snapshot: true
2386
- pause: true
2387
- input: true
2388
- isAutoWaiting: true
2389
-
2390
- focus:
2391
- title: Focus
2392
- flags:
2393
- slowMo: true
2394
- snapshot: true
2395
- pause: true
2396
-
2397
- getAttribute:
2398
- title: Get attribute
2399
- group: getter
2400
- parameters:
2401
- name: string
2402
- returns:
2403
- value: string?
2404
- flags:
2405
- snapshot: true
2406
- pause: true
2407
-
2408
- hover:
2409
- title: Hover
2410
- parameters:
2411
- force: boolean?
2412
- modifiers:
2413
- type: array?
2414
- items:
2415
- type: enum
2416
- literals:
2417
- - Alt
2418
- - Control
2419
- - ControlOrMeta
2420
- - Meta
2421
- - Shift
2422
- position: Point?
2423
- timeout: float
2424
- trial: boolean?
2425
- flags:
2426
- slowMo: true
2427
- snapshot: true
2428
- pause: true
2429
- input: true
2430
- isAutoWaiting: true
2431
-
2432
- innerHTML:
2433
- title: Get HTML
2434
- group: getter
2435
- returns:
2436
- value: string
2437
- flags:
2438
- snapshot: true
2439
- pause: true
2440
-
2441
- innerText:
2442
- title: Get inner text
2443
- group: getter
2444
- returns:
2445
- value: string
2446
- flags:
2447
- snapshot: true
2448
- pause: true
2449
-
2450
- inputValue:
2451
- title: Get input value
2452
- group: getter
2453
- returns:
2454
- value: string
2455
- flags:
2456
- snapshot: true
2457
- pause: true
2458
-
2459
- isChecked:
2460
- title: Is checked
2461
- group: getter
2462
- returns:
2463
- value: boolean
2464
- flags:
2465
- snapshot: true
2466
- pause: true
2467
-
2468
- isDisabled:
2469
- title: Is disabled
2470
- group: getter
2471
- returns:
2472
- value: boolean
2473
- flags:
2474
- snapshot: true
2475
- pause: true
2476
-
2477
- isEditable:
2478
- title: Is editable
2479
- group: getter
2480
- returns:
2481
- value: boolean
2482
- flags:
2483
- snapshot: true
2484
- pause: true
2485
-
2486
- isEnabled:
2487
- title: Is enabled
2488
- group: getter
2489
- returns:
2490
- value: boolean
2491
- flags:
2492
- snapshot: true
2493
- pause: true
2494
-
2495
- isHidden:
2496
- title: Is hidden
2497
- group: getter
2498
- returns:
2499
- value: boolean
2500
- flags:
2501
- snapshot: true
2502
- pause: true
2503
-
2504
- isVisible:
2505
- title: Is visible
2506
- group: getter
2507
- returns:
2508
- value: boolean
2509
- flags:
2510
- snapshot: true
2511
- pause: true
2512
-
2513
- ownerFrame:
2514
- title: Get owner frame
2515
- group: getter
2516
- returns:
2517
- frame: Frame?
2518
-
2519
- press:
2520
- title: Press "{key}"
2521
- parameters:
2522
- key: string
2523
- delay: float?
2524
- timeout: float
2525
- noWaitAfter: boolean?
2526
- flags:
2527
- slowMo: true
2528
- snapshot: true
2529
- pause: true
2530
- input: true
2531
- isAutoWaiting: true
2532
-
2533
- querySelector:
2534
- title: Query selector
2535
- parameters:
2536
- selector: string
2537
- strict: boolean?
2538
- returns:
2539
- element: ElementHandle?
2540
- flags:
2541
- snapshot: true
2542
-
2543
- querySelectorAll:
2544
- title: Query selector all
2545
- parameters:
2546
- selector: string
2547
- returns:
2548
- elements:
2549
- type: array
2550
- items: ElementHandle
2551
- flags:
2552
- snapshot: true
2553
-
2554
- screenshot:
2555
- title: Screenshot
2556
- parameters:
2557
- timeout: float
2558
- type:
2559
- type: enum?
2560
- literals:
2561
- - png
2562
- - jpeg
2563
- quality: int?
2564
- $mixin: CommonScreenshotOptions
2565
- returns:
2566
- binary: binary
2567
- flags:
2568
- snapshot: true
2569
- pause: true
2570
-
2571
- scrollIntoViewIfNeeded:
2572
- title: Scroll into view
2573
- parameters:
2574
- timeout: float
2575
- flags:
2576
- slowMo: true
2577
- snapshot: true
2578
- pause: true
2579
-
2580
- selectOption:
2581
- title: Select option
2582
- parameters:
2583
- elements:
2584
- type: array?
2585
- items: ElementHandle
2586
- options:
2587
- type: array?
2588
- items:
2589
- type: object
2590
- properties:
2591
- valueOrLabel: string?
2592
- value: string?
2593
- label: string?
2594
- index: int?
2595
- force: boolean?
2596
- timeout: float
2597
- returns:
2598
- values:
2599
- type: array
2600
- items: string
2601
- flags:
2602
- slowMo: true
2603
- snapshot: true
2604
- pause: true
2605
- input: true
2606
- isAutoWaiting: true
2607
-
2608
- selectText:
2609
- title: Select text
2610
- parameters:
2611
- force: boolean?
2612
- timeout: float
2613
- flags:
2614
- slowMo: true
2615
- snapshot: true
2616
- pause: true
2617
-
2618
- setInputFiles:
2619
- title: Set input files
2620
- parameters:
2621
- # Only one of payloads, localPaths and streams should be present.
2622
- payloads:
2623
- type: array?
2624
- items:
2625
- type: object
2626
- properties:
2627
- name: string
2628
- mimeType: string?
2629
- buffer: binary
2630
- localDirectory: string?
2631
- directoryStream: WritableStream?
2632
- localPaths:
2633
- type: array?
2634
- items: string
2635
- streams:
2636
- type: array?
2637
- items: WritableStream
2638
- timeout: float
2639
- flags:
2640
- slowMo: true
2641
- snapshot: true
2642
- pause: true
2643
- input: true
2644
- isAutoWaiting: true
2645
-
2646
- tap:
2647
- title: Tap
2648
- parameters:
2649
- force: boolean?
2650
- modifiers:
2651
- type: array?
2652
- items:
2653
- type: enum
2654
- literals:
2655
- - Alt
2656
- - Control
2657
- - ControlOrMeta
2658
- - Meta
2659
- - Shift
2660
- position: Point?
2661
- timeout: float
2662
- trial: boolean?
2663
- flags:
2664
- slowMo: true
2665
- snapshot: true
2666
- pause: true
2667
- input: true
2668
- isAutoWaiting: true
2669
-
2670
- textContent:
2671
- title: Get text content
2672
- group: getter
2673
- returns:
2674
- value: string?
2675
- flags:
2676
- snapshot: true
2677
- pause: true
2678
-
2679
- type:
2680
- title: Type
2681
- parameters:
2682
- text: string
2683
- delay: float?
2684
- timeout: float
2685
- flags:
2686
- slowMo: true
2687
- snapshot: true
2688
- pause: true
2689
- input: true
2690
- isAutoWaiting: true
2691
-
2692
- uncheck:
2693
- title: Uncheck
2694
- parameters:
2695
- force: boolean?
2696
- position: Point?
2697
- timeout: float
2698
- trial: boolean?
2699
- flags:
2700
- slowMo: true
2701
- snapshot: true
2702
- pause: true
2703
- input: true
2704
- isAutoWaiting: true
2705
-
2706
- waitForElementState:
2707
- title: Wait for state
2708
- parameters:
2709
- state:
2710
- type: enum
2711
- literals:
2712
- - visible
2713
- - hidden
2714
- - stable
2715
- - enabled
2716
- - disabled
2717
- - editable
2718
- timeout: float
2719
- flags:
2720
- snapshot: true
2721
- pause: true
2722
-
2723
- waitForSelector:
2724
- title: Wait for selector
2725
- parameters:
2726
- selector: string
2727
- strict: boolean?
2728
- timeout: float
2729
- state:
2730
- type: enum?
2731
- literals:
2732
- - attached
2733
- - detached
2734
- - visible
2735
- - hidden
2736
- returns:
2737
- element: ElementHandle?
2738
- flags:
2739
- snapshot: true
2740
-
2741
- # Copyright (c) Microsoft Corporation.
2742
- #
2743
- # Licensed under the Apache License, Version 2.0 (the "License");
2744
- # you may not use this file except in compliance with the License.
2745
- # You may obtain a copy of the License at
2746
- #
2747
- # http://www.apache.org/licenses/LICENSE-2.0
2748
- #
2749
- # Unless required by applicable law or agreed to in writing, software
2750
- # distributed under the License is distributed on an "AS IS" BASIS,
2751
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2752
- # See the License for the specific language governing permissions and
2753
- # limitations under the License.
2754
-
2755
- LocalUtils:
2756
- type: interface
2757
-
2758
- initializer:
2759
- deviceDescriptors:
2760
- type: array
2761
- items:
2762
- type: object
2763
- properties:
2764
- name: string
2765
- descriptor:
2766
- type: object
2767
- properties:
2768
- userAgent: string
2769
- viewport:
2770
- type: object
2771
- properties:
2772
- width: int
2773
- height: int
2774
- screen:
2775
- type: object?
2776
- properties:
2777
- width: int
2778
- height: int
2779
- deviceScaleFactor: float
2780
- isMobile: boolean
2781
- hasTouch: boolean
2782
- defaultBrowserType:
2783
- type: enum
2784
- literals:
2785
- - chromium
2786
- - firefox
2787
- - webkit
2788
-
2789
- commands:
2790
-
2791
- zip:
2792
- internal: true
2793
- parameters:
2794
- zipFile: string
2795
- entries:
2796
- type: array
2797
- items: NameValue
2798
- stacksId: string?
2799
- mode:
2800
- type: enum
2801
- literals:
2802
- - write
2803
- - append
2804
- includeSources: boolean
2805
- additionalSources:
2806
- type: array?
2807
- items: string
2808
-
2809
- harOpen:
2810
- internal: true
2811
- parameters:
2812
- file: string
2813
- returns:
2814
- harId: string?
2815
- error: string?
2816
-
2817
- harLookup:
2818
- internal: true
2819
- parameters:
2820
- harId: string
2821
- url: string
2822
- method: string
2823
- headers:
2824
- type: array
2825
- items: NameValue
2826
- postData: binary?
2827
- isNavigationRequest: boolean
2828
- returns:
2829
- action:
2830
- type: enum
2831
- literals:
2832
- - error
2833
- - redirect
2834
- - fulfill
2835
- - noentry
2836
- message: string?
2837
- redirectURL: string?
2838
- status: int?
2839
- headers:
2840
- type: array?
2841
- items: NameValue
2842
- body: binary?
2843
-
2844
- harClose:
2845
- internal: true
2846
- parameters:
2847
- harId: string
2848
-
2849
- harUnzip:
2850
- internal: true
2851
- parameters:
2852
- zipFile: string
2853
- harFile: string
2854
- resourcesDir: string?
2855
-
2856
- connect:
2857
- internal: true
2858
- parameters:
2859
- endpoint: string
2860
- headers: json?
2861
- exposeNetwork: string?
2862
- slowMo: float?
2863
- timeout: float
2864
- socksProxyRedirectPortForTest: int?
2865
- returns:
2866
- pipe: JsonPipe
2867
- headers:
2868
- type: array
2869
- items: NameValue
2870
-
2871
- tracingStarted:
2872
- internal: true
2873
- parameters:
2874
- tracesDir: string?
2875
- traceName: string
2876
- live: boolean?
2877
- returns:
2878
- stacksId: string
2879
-
2880
- addStackToTracingNoReply:
2881
- internal: true
2882
- parameters:
2883
- callData: ClientSideCallMetadata
2884
-
2885
- traceDiscarded:
2886
- internal: true
2887
- parameters:
2888
- stacksId: string
2889
-
2890
- globToRegex:
2891
- internal: true
2892
- parameters:
2893
- glob: string
2894
- baseURL: string?
2895
- webSocketUrl: boolean?
2896
- returns:
2897
- regex: string
2898
-
2899
- # Copyright (c) Microsoft Corporation.
2900
- #
2901
- # Licensed under the Apache License, Version 2.0 (the "License");
2902
- # you may not use this file except in compliance with the License.
2903
- # You may obtain a copy of the License at
2904
- #
2905
- # http://www.apache.org/licenses/LICENSE-2.0
2906
- #
2907
- # Unless required by applicable law or agreed to in writing, software
2908
- # distributed under the License is distributed on an "AS IS" BASIS,
2909
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2910
- # See the License for the specific language governing permissions and
2911
- # limitations under the License.
2912
-
2913
- ShowActionsOptions:
2914
- type: mixin
2915
- properties:
2916
- duration: float?
2917
- position:
2918
- type: enum?
2919
- literals:
2920
- - top-left
2921
- - top
2922
- - top-right
2923
- - bottom-left
2924
- - bottom
2925
- - bottom-right
2926
- fontSize: int?
2927
- cursor:
2928
- type: enum?
2929
- literals:
2930
- - none
2931
- - pointer
2932
-
2933
- CommonScreenshotOptions:
2934
- type: mixin
2935
- properties:
2936
- omitBackground: boolean?
2937
- caret:
2938
- type: enum?
2939
- literals:
2940
- - hide
2941
- - initial
2942
- animations:
2943
- type: enum?
2944
- literals:
2945
- - disabled
2946
- - allow
2947
- scale:
2948
- type: enum?
2949
- literals:
2950
- - css
2951
- - device
2952
- mask:
2953
- type: array?
2954
- items:
2955
- type: object
2956
- properties:
2957
- frame: Frame
2958
- selector: string
2959
- maskColor: string?
2960
- style: string?
2961
-
2962
- LaunchOptions:
2963
- type: mixin
2964
- properties:
2965
- channel: string?
2966
- executablePath: string?
2967
- args:
2968
- type: array?
2969
- items: string
2970
- ignoreAllDefaultArgs: boolean?
2971
- ignoreDefaultArgs:
2972
- type: array?
2973
- items: string
2974
- handleSIGINT: boolean?
2975
- handleSIGTERM: boolean?
2976
- handleSIGHUP: boolean?
2977
- timeout: float
2978
- env:
2979
- type: array?
2980
- items: NameValue
2981
- headless: boolean?
2982
- proxy:
2983
- type: object?
2984
- properties:
2985
- server: string
2986
- bypass: string?
2987
- username: string?
2988
- password: string?
2989
- downloadsPath: string?
2990
- tracesDir: string?
2991
- artifactsDir: string?
2992
- chromiumSandbox: boolean?
2993
- firefoxUserPrefs: json?
2994
- cdpPort: int?
2995
-
2996
- ContextOptions:
2997
- type: mixin
2998
- properties:
2999
- noDefaultViewport: boolean?
3000
- viewport:
3001
- type: object?
3002
- properties:
3003
- width: int
3004
- height: int
3005
- screen:
3006
- type: object?
3007
- properties:
3008
- width: int
3009
- height: int
3010
- ignoreHTTPSErrors: boolean?
3011
- clientCertificates:
3012
- type: array?
3013
- items:
3014
- type: object
3015
- properties:
3016
- origin: string
3017
- cert: binary?
3018
- key: binary?
3019
- passphrase: string?
3020
- pfx: binary?
3021
- javaScriptEnabled: boolean?
3022
- bypassCSP: boolean?
3023
- userAgent: string?
3024
- locale: string?
3025
- timezoneId: string?
3026
- geolocation:
3027
- type: object?
3028
- properties:
3029
- longitude: float
3030
- latitude: float
3031
- accuracy: float?
3032
- permissions:
3033
- type: array?
3034
- items: string
3035
- extraHTTPHeaders:
3036
- type: array?
3037
- items: NameValue
3038
- offline: boolean?
3039
- httpCredentials:
3040
- type: object?
3041
- properties:
3042
- username: string
3043
- password: string
3044
- origin: string?
3045
- send:
3046
- type: enum?
3047
- literals:
3048
- - always
3049
- - unauthorized
3050
- deviceScaleFactor: float?
3051
- isMobile: boolean?
3052
- hasTouch: boolean?
3053
- colorScheme:
3054
- type: enum?
3055
- literals:
3056
- - dark
3057
- - light
3058
- - no-preference
3059
- - no-override
3060
- reducedMotion:
3061
- type: enum?
3062
- literals:
3063
- - reduce
3064
- - no-preference
3065
- - no-override
3066
- forcedColors:
3067
- type: enum?
3068
- literals:
3069
- - active
3070
- - none
3071
- - no-override
3072
- acceptDownloads:
3073
- type: enum?
3074
- literals:
3075
- - accept
3076
- - deny
3077
- - internal-browser-default
3078
- contrast:
3079
- type: enum?
3080
- literals:
3081
- - no-preference
3082
- - more
3083
- - no-override
3084
- baseURL: string?
3085
- recordVideo:
3086
- type: object?
3087
- properties:
3088
- dir: string?
3089
- size:
3090
- type: object?
3091
- properties:
3092
- width: int
3093
- height: int
3094
- showActions:
3095
- type: object?
3096
- properties:
3097
- $mixin: ShowActionsOptions
3098
- strictSelectors: boolean?
3099
- serviceWorkers:
3100
- type: enum?
3101
- literals:
3102
- - allow
3103
- - block
3104
- selectorEngines:
3105
- type: array?
3106
- items: SelectorEngine
3107
- testIdAttributeName: string?
3108
-
3109
- ConsoleMessage:
3110
- type: mixin
3111
- properties:
3112
- type: string
3113
- text: string
3114
- args:
3115
- type: array
3116
- items: JSHandle
3117
- location:
3118
- type: object
3119
- properties:
3120
- url: string
3121
- lineNumber: int
3122
- columnNumber: int
3123
- timestamp: float
3124
-
3125
- # Copyright (c) Microsoft Corporation.
3126
- #
3127
- # Licensed under the Apache License, Version 2.0 (the "License");
3128
- # you may not use this file except in compliance with the License.
3129
- # You may obtain a copy of the License at
3130
- #
3131
- # http://www.apache.org/licenses/LICENSE-2.0
3132
- #
3133
- # Unless required by applicable law or agreed to in writing, software
3134
- # distributed under the License is distributed on an "AS IS" BASIS,
3135
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3136
- # See the License for the specific language governing permissions and
3137
- # limitations under the License.
3138
-
3139
- SetNetworkCookie:
3140
- type: object
3141
- properties:
3142
- name: string
3143
- value: string
3144
- url: string?
3145
- domain: string?
3146
- path: string?
3147
- expires: float?
3148
- httpOnly: boolean?
3149
- secure: boolean?
3150
- sameSite:
3151
- type: enum?
3152
- literals:
3153
- - Strict
3154
- - Lax
3155
- - None
3156
- partitionKey: string?
3157
- _crHasCrossSiteAncestor: boolean?
3158
-
3159
- NetworkCookie:
3160
- type: object
3161
- properties:
3162
- name: string
3163
- value: string
3164
- domain: string
3165
- path: string
3166
- expires: float
3167
- httpOnly: boolean
3168
- secure: boolean
3169
- sameSite:
3170
- type: enum
3171
- literals:
3172
- - Strict
3173
- - Lax
3174
- - None
3175
- partitionKey: string?
3176
- _crHasCrossSiteAncestor: boolean?
3177
-
3178
- Request:
3179
- type: interface
3180
-
3181
- initializer:
3182
- frame: Frame?
3183
- serviceWorker: Worker?
3184
- url: string
3185
- resourceType: string
3186
- method: string
3187
- postData: binary?
3188
- headers:
3189
- type: array
3190
- items: NameValue
3191
- isNavigationRequest: boolean
3192
- redirectedFrom: Request?
3193
-
3194
- commands:
3195
-
3196
- response:
3197
- internal: true
3198
- returns:
3199
- response: Response?
3200
-
3201
- rawRequestHeaders:
3202
- internal: true
3203
- returns:
3204
- headers:
3205
- type: array
3206
- items: NameValue
3207
-
3208
- Route:
3209
- type: interface
3210
-
3211
- initializer:
3212
- request: Request
3213
-
3214
- commands:
3215
-
3216
- redirectNavigationRequest:
3217
- internal: true
3218
- parameters:
3219
- url: string
3220
-
3221
- abort:
3222
- title: Abort request
3223
- group: route
3224
- parameters:
3225
- errorCode: string?
3226
-
3227
- continue:
3228
- title: Continue request
3229
- group: route
3230
- parameters:
3231
- url: string?
3232
- method: string?
3233
- headers:
3234
- type: array?
3235
- items: NameValue
3236
- postData: binary?
3237
- isFallback: boolean
3238
-
3239
- fulfill:
3240
- title: Fulfill request
3241
- group: route
3242
- parameters:
3243
- # default is 200
3244
- status: int?
3245
- headers:
3246
- type: array?
3247
- items: NameValue
3248
- body: string?
3249
- isBase64: boolean?
3250
- fetchResponseUid: string?
3251
-
3252
- WebSocketRoute:
3253
- type: interface
3254
-
3255
- initializer:
3256
- url: string
3257
- protocols:
3258
- type: array
3259
- items: string
3260
-
3261
- commands:
3262
-
3263
- connect:
3264
- title: Connect WebSocket to server
3265
- group: route
3266
-
3267
- ensureOpened:
3268
- internal: true
3269
-
3270
- sendToPage:
3271
- title: Send WebSocket message
3272
- group: route
3273
- parameters:
3274
- message: string
3275
- isBase64: boolean
3276
-
3277
- sendToServer:
3278
- title: Send WebSocket message
3279
- group: route
3280
- parameters:
3281
- message: string
3282
- isBase64: boolean
3283
-
3284
- closePage:
3285
- internal: true
3286
- parameters:
3287
- code: int?
3288
- reason: string?
3289
- wasClean: boolean
3290
-
3291
- closeServer:
3292
- internal: true
3293
- parameters:
3294
- code: int?
3295
- reason: string?
3296
- wasClean: boolean
3297
-
3298
- events:
3299
-
3300
- messageFromPage:
3301
- parameters:
3302
- message: string
3303
- isBase64: boolean
3304
-
3305
- messageFromServer:
3306
- parameters:
3307
- message: string
3308
- isBase64: boolean
3309
-
3310
- closePage:
3311
- parameters:
3312
- code: int?
3313
- reason: string?
3314
- wasClean: boolean
3315
-
3316
- closeServer:
3317
- parameters:
3318
- code: int?
3319
- reason: string?
3320
- wasClean: boolean
3321
-
3322
- ResourceTiming:
3323
- type: object
3324
- properties:
3325
- startTime: float
3326
- domainLookupStart: float
3327
- domainLookupEnd: float
3328
- connectStart: float
3329
- secureConnectionStart: float
3330
- connectEnd: float
3331
- requestStart: float
3332
- responseStart: float
3333
-
3334
- Response:
3335
- type: interface
3336
-
3337
- initializer:
3338
- request: Request
3339
- url: string
3340
- status: int
3341
- statusText: string
3342
- headers:
3343
- type: array
3344
- items: NameValue
3345
- timing: ResourceTiming
3346
- fromServiceWorker: boolean
3347
-
3348
-
3349
- commands:
3350
-
3351
- body:
3352
- title: Get response body
3353
- group: getter
3354
- returns:
3355
- binary: binary
3356
-
3357
- securityDetails:
3358
- internal: true
3359
- returns:
3360
- value: SecurityDetails?
3361
-
3362
- serverAddr:
3363
- internal: true
3364
- returns:
3365
- value: RemoteAddr?
3366
-
3367
- rawResponseHeaders:
3368
- internal: true
3369
- returns:
3370
- headers:
3371
- type: array
3372
- items: NameValue
3373
-
3374
- httpVersion:
3375
- internal: true
3376
- returns:
3377
- value: string
3378
-
3379
- sizes:
3380
- internal: true
3381
- returns:
3382
- sizes: RequestSizes
3383
-
3384
- SecurityDetails:
3385
- type: object
3386
- properties:
3387
- issuer: string?
3388
- protocol: string?
3389
- subjectName: string?
3390
- validFrom: float?
3391
- validTo: float?
3392
-
3393
- RequestSizes:
3394
- type: object
3395
- properties:
3396
- requestBodySize: int
3397
- requestHeadersSize: int
3398
- responseBodySize: int
3399
- responseHeadersSize: int
3400
-
3401
- RemoteAddr:
3402
- type: object
3403
- properties:
3404
- ipAddress: string
3405
- port: int
3406
-
3407
- WebSocket:
3408
- type: interface
3409
-
3410
- initializer:
3411
- url: string
3412
-
3413
- events:
3414
- open:
3415
-
3416
- frameSent:
3417
- parameters:
3418
- opcode: int
3419
- data: string
3420
-
3421
- frameReceived:
3422
- parameters:
3423
- opcode: int
3424
- data: string
3425
-
3426
- socketError:
3427
- parameters:
3428
- error: string
3429
-
3430
- close:
3431
-
3432
- # Copyright (c) Microsoft Corporation.
3433
- #
3434
- # Licensed under the Apache License, Version 2.0 (the "License");
3435
- # you may not use this file except in compliance with the License.
3436
- # You may obtain a copy of the License at
3437
- #
3438
- # http://www.apache.org/licenses/LICENSE-2.0
3439
- #
3440
- # Unless required by applicable law or agreed to in writing, software
3441
- # distributed under the License is distributed on an "AS IS" BASIS,
3442
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3443
- # See the License for the specific language governing permissions and
3444
- # limitations under the License.
3445
-
3446
- Page:
3447
- type: interface
3448
-
3449
- initializer:
3450
- mainFrame: Frame
3451
- viewportSize:
3452
- type: object?
3453
- properties:
3454
- width: int
3455
- height: int
3456
- isClosed: boolean
3457
- opener: Page?
3458
- video: Artifact?
3459
-
3460
- commands:
3461
-
3462
- addInitScript:
3463
- title: Add init script
3464
- group: configuration
3465
- parameters:
3466
- source: string
3467
- returns:
3468
- disposable: Disposable
3469
-
3470
- close:
3471
- title: Close page
3472
- parameters:
3473
- reason: string?
3474
- flags:
3475
- pause: true
3476
- potentiallyClosesScope: true
3477
-
3478
- runBeforeUnload:
3479
- title: Run beforeunload
3480
- flags:
3481
- pause: true
3482
-
3483
- clearConsoleMessages:
3484
- title: Clear console messages
3485
-
3486
- consoleMessages:
3487
- title: Get console messages
3488
- group: getter
3489
- parameters:
3490
- filter: ConsoleMessagesFilter?
3491
- returns:
3492
- messages:
3493
- type: array
3494
- items:
3495
- type: object
3496
- properties:
3497
- $mixin: ConsoleMessage
3498
-
3499
- emulateMedia:
3500
- title: Emulate media
3501
- parameters:
3502
- media:
3503
- type: enum?
3504
- literals:
3505
- - screen
3506
- - print
3507
- - no-override
3508
- colorScheme:
3509
- type: enum?
3510
- literals:
3511
- - dark
3512
- - light
3513
- - no-preference
3514
- - no-override
3515
- reducedMotion:
3516
- type: enum?
3517
- literals:
3518
- - reduce
3519
- - no-preference
3520
- - no-override
3521
- forcedColors:
3522
- type: enum?
3523
- literals:
3524
- - active
3525
- - none
3526
- - no-override
3527
- contrast:
3528
- type: enum?
3529
- literals:
3530
- - no-preference
3531
- - more
3532
- - no-override
3533
- flags:
3534
- snapshot: true
3535
- pause: true
3536
-
3537
- exposeBinding:
3538
- title: Expose binding
3539
- group: configuration
3540
- parameters:
3541
- name: string
3542
- returns:
3543
- disposable: Disposable
3544
-
3545
- goBack:
3546
- title: Go back
3547
- parameters:
3548
- timeout: float
3549
- waitUntil: LifecycleEvent?
3550
- returns:
3551
- response: Response?
3552
- flags:
3553
- slowMo: true
3554
- snapshot: true
3555
- pause: true
3556
-
3557
- goForward:
3558
- title: Go forward
3559
- parameters:
3560
- timeout: float
3561
- waitUntil: LifecycleEvent?
3562
- returns:
3563
- response: Response?
3564
- flags:
3565
- slowMo: true
3566
- snapshot: true
3567
- pause: true
3568
-
3569
- requestGC:
3570
- title: Request garbage collection
3571
- group: configuration
3572
-
3573
- registerLocatorHandler:
3574
- title: Register locator handler
3575
- parameters:
3576
- selector: string
3577
- noWaitAfter: boolean?
3578
- returns:
3579
- uid: int
3580
-
3581
- resolveLocatorHandlerNoReply:
3582
- internal: true
3583
- parameters:
3584
- uid: int
3585
- remove: boolean?
3586
-
3587
- unregisterLocatorHandler:
3588
- title: Unregister locator handler
3589
- parameters:
3590
- uid: int
3591
-
3592
- reload:
3593
- title: Reload
3594
- parameters:
3595
- timeout: float
3596
- waitUntil: LifecycleEvent?
3597
- returns:
3598
- response: Response?
3599
- flags:
3600
- slowMo: true
3601
- snapshot: true
3602
- pause: true
3603
-
3604
- expectScreenshot:
3605
- title: Expect screenshot
3606
- parameters:
3607
- expected: binary?
3608
- timeout: float
3609
- isNot: boolean
3610
- locator:
3611
- type: object?
3612
- properties:
3613
- frame: Frame
3614
- selector: string
3615
- comparator: string?
3616
- maxDiffPixels: int?
3617
- maxDiffPixelRatio: float?
3618
- threshold: float?
3619
- fullPage: boolean?
3620
- clip: Rect?
3621
- $mixin: CommonScreenshotOptions
3622
- returns:
3623
- actual: binary?
3624
- errorDetails:
3625
- diff: binary?
3626
- customErrorMessage: string?
3627
- actual: binary?
3628
- previous: binary?
3629
- timedOut: boolean?
3630
- log:
3631
- type: array?
3632
- items: string
3633
- flags:
3634
- snapshot: true
3635
- pause: true
3636
-
3637
- screenshot:
3638
- title: Screenshot
3639
- parameters:
3640
- timeout: float
3641
- type:
3642
- type: enum?
3643
- literals:
3644
- - png
3645
- - jpeg
3646
- quality: int?
3647
- fullPage: boolean?
3648
- clip: Rect?
3649
- $mixin: CommonScreenshotOptions
3650
- returns:
3651
- binary: binary
3652
- flags:
3653
- snapshot: true
3654
- pause: true
3655
-
3656
- setExtraHTTPHeaders:
3657
- title: Set extra HTTP headers
3658
- group: configuration
3659
- parameters:
3660
- headers:
3661
- type: array
3662
- items: NameValue
3663
-
3664
- setNetworkInterceptionPatterns:
3665
- title: Route requests
3666
- group: route
3667
- parameters:
3668
- patterns:
3669
- type: array
3670
- items:
3671
- type: object
3672
- properties:
3673
- glob: string?
3674
- regexSource: string?
3675
- regexFlags: string?
3676
- urlPattern: URLPattern?
3677
-
3678
- setWebSocketInterceptionPatterns:
3679
- title: Route WebSockets
3680
- group: route
3681
- parameters:
3682
- patterns:
3683
- type: array
3684
- items:
3685
- type: object
3686
- properties:
3687
- glob: string?
3688
- regexSource: string?
3689
- regexFlags: string?
3690
- urlPattern: URLPattern?
3691
-
3692
- setViewportSize:
3693
- title: Set viewport size
3694
- parameters:
3695
- viewportSize:
3696
- type: object
3697
- properties:
3698
- width: int
3699
- height: int
3700
- flags:
3701
- snapshot: true
3702
- pause: true
3703
-
3704
- keyboardDown:
3705
- title: Key down "{key}"
3706
- parameters:
3707
- key: string
3708
- flags:
3709
- slowMo: true
3710
- snapshot: true
3711
- pause: true
3712
- input: true
3713
-
3714
- keyboardUp:
3715
- title: Key up "{key}"
3716
- parameters:
3717
- key: string
3718
- flags:
3719
- slowMo: true
3720
- snapshot: true
3721
- pause: true
3722
- input: true
3723
-
3724
- keyboardInsertText:
3725
- title: Insert "{text}"
3726
- parameters:
3727
- text: string
3728
- flags:
3729
- slowMo: true
3730
- snapshot: true
3731
- pause: true
3732
- input: true
3733
-
3734
- keyboardType:
3735
- title: Type "{text}"
3736
- parameters:
3737
- text: string
3738
- delay: float?
3739
- flags:
3740
- slowMo: true
3741
- snapshot: true
3742
- pause: true
3743
- input: true
3744
-
3745
- keyboardPress:
3746
- title: Press "{key}"
3747
- parameters:
3748
- key: string
3749
- delay: float?
3750
- flags:
3751
- slowMo: true
3752
- snapshot: true
3753
- pause: true
3754
- input: true
3755
-
3756
- mouseMove:
3757
- title: Mouse move
3758
- parameters:
3759
- x: float
3760
- y: float
3761
- steps: int?
3762
- flags:
3763
- slowMo: true
3764
- snapshot: true
3765
- pause: true
3766
- input: true
3767
-
3768
- mouseDown:
3769
- title: Mouse down
3770
- parameters:
3771
- button:
3772
- type: enum?
3773
- literals:
3774
- - left
3775
- - right
3776
- - middle
3777
- clickCount: int?
3778
- flags:
3779
- slowMo: true
3780
- snapshot: true
3781
- pause: true
3782
- input: true
3783
-
3784
- mouseUp:
3785
- title: Mouse up
3786
- parameters:
3787
- button:
3788
- type: enum?
3789
- literals:
3790
- - left
3791
- - right
3792
- - middle
3793
- clickCount: int?
3794
- flags:
3795
- slowMo: true
3796
- snapshot: true
3797
- pause: true
3798
- input: true
3799
-
3800
- mouseClick:
3801
- title: Click
3802
- parameters:
3803
- x: float
3804
- y: float
3805
- delay: float?
3806
- button:
3807
- type: enum?
3808
- literals:
3809
- - left
3810
- - right
3811
- - middle
3812
- clickCount: int?
3813
- flags:
3814
- slowMo: true
3815
- snapshot: true
3816
- pause: true
3817
- input: true
3818
-
3819
- mouseWheel:
3820
- title: Mouse wheel
3821
- parameters:
3822
- deltaX: float
3823
- deltaY: float
3824
- flags:
3825
- slowMo: true
3826
- snapshot: true
3827
- pause: true
3828
- input: true
3829
-
3830
- touchscreenTap:
3831
- title: Tap
3832
- parameters:
3833
- x: float
3834
- y: float
3835
- flags:
3836
- slowMo: true
3837
- snapshot: true
3838
- pause: true
3839
- input: true
3840
-
3841
- clearPageErrors:
3842
- title: Clear page errors
3843
-
3844
- pageErrors:
3845
- title: Get page errors
3846
- group: getter
3847
- parameters:
3848
- filter: ConsoleMessagesFilter?
3849
- returns:
3850
- errors:
3851
- type: array
3852
- items: SerializedError
3853
-
3854
- pdf:
3855
- title: PDF
3856
- parameters:
3857
- scale: float?
3858
- displayHeaderFooter: boolean?
3859
- headerTemplate: string?
3860
- footerTemplate: string?
3861
- printBackground: boolean?
3862
- landscape: boolean?
3863
- pageRanges: string?
3864
- format: string?
3865
- width: string?
3866
- height: string?
3867
- preferCSSPageSize: boolean?
3868
- margin:
3869
- type: object?
3870
- properties:
3871
- top: string?
3872
- bottom: string?
3873
- left: string?
3874
- right: string?
3875
- tagged: boolean?
3876
- outline: boolean?
3877
- returns:
3878
- pdf: binary
3879
-
3880
- requests:
3881
- title: Get network requests
3882
- group: getter
3883
- returns:
3884
- requests:
3885
- type: array
3886
- items: Request
3887
-
3888
- startJSCoverage:
3889
- title: Start JS coverage
3890
- group: configuration
3891
- parameters:
3892
- resetOnNavigation: boolean?
3893
- reportAnonymousScripts: boolean?
3894
-
3895
- stopJSCoverage:
3896
- title: Stop JS coverage
3897
- group: configuration
3898
- returns:
3899
- entries:
3900
- type: array
3901
- items:
3902
- type: object
3903
- properties:
3904
- url: string
3905
- scriptId: string
3906
- source: string?
3907
- functions:
3908
- type: array
3909
- items:
3910
- type: object
3911
- properties:
3912
- functionName: string
3913
- isBlockCoverage: boolean
3914
- ranges:
3915
- type: array
3916
- items:
3917
- type: object
3918
- properties:
3919
- startOffset: int
3920
- endOffset: int
3921
- count: int
3922
-
3923
- startCSSCoverage:
3924
- title: Start CSS coverage
3925
- group: configuration
3926
- parameters:
3927
- resetOnNavigation: boolean?
3928
-
3929
- stopCSSCoverage:
3930
- title: Stop CSS coverage
3931
- group: configuration
3932
- returns:
3933
- entries:
3934
- type: array
3935
- items:
3936
- type: object
3937
- properties:
3938
- url: string
3939
- text: string?
3940
- ranges:
3941
- type: array
3942
- items:
3943
- type: object
3944
- properties:
3945
- start: int
3946
- end: int
3947
-
3948
- bringToFront:
3949
- title: Bring to front
3950
-
3951
- pickLocator:
3952
- title: Pick locator
3953
- group: configuration
3954
- returns:
3955
- selector: string
3956
-
3957
- cancelPickLocator:
3958
- title: Cancel pick locator
3959
- group: configuration
3960
-
3961
- hideHighlight:
3962
- title: Hide all element highlights
3963
- group: configuration
3964
-
3965
- screencastShowOverlay:
3966
- title: Show overlay
3967
- group: configuration
3968
- parameters:
3969
- html: string
3970
- duration: float?
3971
- returns:
3972
- id: string
3973
-
3974
- screencastRemoveOverlay:
3975
- title: Remove overlay
3976
- group: configuration
3977
- parameters:
3978
- id: string
3979
-
3980
- screencastChapter:
3981
- title: Show chapter overlay
3982
- group: configuration
3983
- parameters:
3984
- title: string
3985
- description: string?
3986
- duration: float?
3987
-
3988
- screencastSetOverlayVisible:
3989
- title: Set overlay visibility
3990
- group: configuration
3991
- parameters:
3992
- visible: boolean
3993
-
3994
- screencastShowActions:
3995
- title: Show actions
3996
- group: configuration
3997
- parameters:
3998
- $mixin: ShowActionsOptions
3999
-
4000
- screencastHideActions:
4001
- title: Remove actions
4002
- group: configuration
4003
-
4004
- screencastStart:
4005
- title: Start screencast
4006
- group: configuration
4007
- parameters:
4008
- size:
4009
- type: object?
4010
- properties:
4011
- width: int
4012
- height: int
4013
- quality: int?
4014
- sendFrames: boolean?
4015
- record: boolean?
4016
- returns:
4017
- artifact: Artifact?
4018
-
4019
- screencastStop:
4020
- title: Stop screencast
4021
- group: configuration
4022
-
4023
- updateSubscription:
4024
- internal: true
4025
- parameters:
4026
- event:
4027
- type: enum
4028
- literals:
4029
- - console
4030
- - dialog
4031
- - fileChooser
4032
- - request
4033
- - response
4034
- - requestFinished
4035
- - requestFailed
4036
- enabled: boolean
4037
-
4038
- setDockTile:
4039
- internal: true
4040
- parameters:
4041
- image: binary
4042
-
4043
- webStorageItems:
4044
- title: Get WebStorage items
4045
- group: getter
4046
- parameters:
4047
- kind:
4048
- type: enum
4049
- literals:
4050
- - local
4051
- - session
4052
- returns:
4053
- items:
4054
- type: array
4055
- items: NameValue
4056
-
4057
- webStorageGetItem:
4058
- title: Get WebStorage item
4059
- group: getter
4060
- parameters:
4061
- kind:
4062
- type: enum
4063
- literals:
4064
- - local
4065
- - session
4066
- name: string
4067
- returns:
4068
- value: string?
4069
-
4070
- webStorageSetItem:
4071
- title: Set WebStorage item
4072
- group: configuration
4073
- parameters:
4074
- kind:
4075
- type: enum
4076
- literals:
4077
- - local
4078
- - session
4079
- name: string
4080
- value: string
4081
-
4082
- webStorageRemoveItem:
4083
- title: Remove WebStorage item
4084
- group: configuration
4085
- parameters:
4086
- kind:
4087
- type: enum
4088
- literals:
4089
- - local
4090
- - session
4091
- name: string
4092
-
4093
- webStorageClear:
4094
- title: Clear WebStorage
4095
- group: configuration
4096
- parameters:
4097
- kind:
4098
- type: enum
4099
- literals:
4100
- - local
4101
- - session
4102
-
4103
- events:
4104
-
4105
- bindingCall:
4106
- parameters:
4107
- binding: BindingCall
4108
-
4109
- close:
4110
-
4111
- crash:
4112
-
4113
- download:
4114
- parameters:
4115
- url: string
4116
- suggestedFilename: string
4117
- artifact: Artifact
4118
-
4119
- viewportSizeChanged:
4120
- parameters:
4121
- viewportSize:
4122
- type: object?
4123
- properties:
4124
- width: int
4125
- height: int
4126
-
4127
- fileChooser:
4128
- parameters:
4129
- element: ElementHandle
4130
- isMultiple: boolean
4131
-
4132
- frameAttached:
4133
- parameters:
4134
- frame: Frame
4135
-
4136
- frameDetached:
4137
- parameters:
4138
- frame: Frame
4139
-
4140
- locatorHandlerTriggered:
4141
- parameters:
4142
- uid: int
4143
-
4144
- route:
4145
- parameters:
4146
- route: Route
4147
-
4148
- screencastFrame:
4149
- parameters:
4150
- data: binary
4151
- timestamp: float
4152
- viewportWidth: int
4153
- viewportHeight: int
4154
-
4155
- webSocketRoute:
4156
- parameters:
4157
- webSocketRoute: WebSocketRoute
4158
-
4159
- webSocket:
4160
- parameters:
4161
- webSocket: WebSocket
4162
-
4163
- worker:
4164
- parameters:
4165
- worker: Worker
4166
-
4167
- # Copyright (c) Microsoft Corporation.
4168
- #
4169
- # Licensed under the Apache License, Version 2.0 (the "License");
4170
- # you may not use this file except in compliance with the License.
4171
- # You may obtain a copy of the License at
4172
- #
4173
- # http://www.apache.org/licenses/LICENSE-2.0
4174
- #
4175
- # Unless required by applicable law or agreed to in writing, software
4176
- # distributed under the License is distributed on an "AS IS" BASIS,
4177
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4178
- # See the License for the specific language governing permissions and
4179
- # limitations under the License.
4180
-
4181
- Root:
4182
- type: interface
4183
-
4184
- commands:
4185
-
4186
- initialize:
4187
- internal: true
4188
- parameters:
4189
- sdkLanguage: SDKLanguage
4190
- returns:
4191
- playwright: Playwright
4192
-
4193
- Playwright:
4194
- type: interface
4195
-
4196
- initializer:
4197
- chromium: BrowserType
4198
- firefox: BrowserType
4199
- webkit: BrowserType
4200
- android: Android
4201
- electron: Electron
4202
- utils: LocalUtils?
4203
- # Only present when connecting remotely via BrowserType.connect() method.
4204
- preLaunchedBrowser: Browser?
4205
- # Only present when connecting remotely via Android.connect() method.
4206
- preConnectedAndroidDevice: AndroidDevice?
4207
- # Only present when socks proxy is supported.
4208
- socksSupport: SocksSupport?
4209
-
4210
- commands:
4211
- newRequest:
4212
- title: Create request context
4213
- parameters:
4214
- baseURL: string?
4215
- userAgent: string?
4216
- ignoreHTTPSErrors: boolean?
4217
- extraHTTPHeaders:
4218
- type: array?
4219
- items: NameValue
4220
- failOnStatusCode: boolean?
4221
- clientCertificates:
4222
- type: array?
4223
- items:
4224
- type: object
4225
- properties:
4226
- origin: string
4227
- cert: binary?
4228
- key: binary?
4229
- passphrase: string?
4230
- pfx: binary?
4231
- maxRedirects: int?
4232
- httpCredentials:
4233
- type: object?
4234
- properties:
4235
- username: string
4236
- password: string
4237
- origin: string?
4238
- send:
4239
- type: enum?
4240
- literals:
4241
- - always
4242
- - unauthorized
4243
- proxy:
4244
- type: object?
4245
- properties:
4246
- server: string
4247
- bypass: string?
4248
- username: string?
4249
- password: string?
4250
- storageState:
4251
- type: object?
4252
- properties:
4253
- cookies:
4254
- type: array?
4255
- items: NetworkCookie
4256
- origins:
4257
- type: array?
4258
- items: SetOriginStorage
4259
- tracesDir: string?
4260
-
4261
- returns:
4262
- request: APIRequestContext
4263
-
4264
- DebugController:
4265
- type: interface
4266
-
4267
- commands:
4268
- initialize:
4269
- internal: true
4270
- parameters:
4271
- codegenId: string
4272
- sdkLanguage: SDKLanguage
4273
-
4274
- setReportStateChanged:
4275
- internal: true
4276
- parameters:
4277
- enabled: boolean
4278
-
4279
- setRecorderMode:
4280
- internal: true
4281
- parameters:
4282
- mode:
4283
- type: enum
4284
- literals:
4285
- - inspecting
4286
- - recording
4287
- - none
4288
- testIdAttributeName: string?
4289
- generateAutoExpect: boolean?
4290
-
4291
- highlight:
4292
- internal: true
4293
- parameters:
4294
- selector: string?
4295
- ariaTemplate: string?
4296
-
4297
- hideHighlight:
4298
- internal: true
4299
-
4300
- resume:
4301
- internal: true
4302
-
4303
- kill:
4304
- internal: true
4305
-
4306
- events:
4307
- inspectRequested:
4308
- parameters:
4309
- selector: string
4310
- locator: string
4311
- ariaSnapshot: string
4312
-
4313
- setModeRequested:
4314
- parameters:
4315
- mode: string
4316
-
4317
- stateChanged:
4318
- parameters:
4319
- pageCount: int
4320
-
4321
- sourceChanged:
4322
- parameters:
4323
- text: string
4324
- header: string?
4325
- footer: string?
4326
- actions:
4327
- type: array?
4328
- items: string
4329
-
4330
- paused:
4331
- parameters:
4332
- paused: boolean
4333
-
4334
- SocksSupport:
4335
- type: interface
4336
-
4337
- commands:
4338
- socksConnected:
4339
- internal: true
4340
- parameters:
4341
- uid: string
4342
- host: string
4343
- port: int
4344
-
4345
- socksFailed:
4346
- internal: true
4347
- parameters:
4348
- uid: string
4349
- errorCode: string
4350
-
4351
- socksData:
4352
- internal: true
4353
- parameters:
4354
- uid: string
4355
- data: binary
4356
-
4357
- socksError:
4358
- internal: true
4359
- parameters:
4360
- uid: string
4361
- error: string
4362
-
4363
- socksEnd:
4364
- internal: true
4365
- parameters:
4366
- uid: string
4367
-
4368
- events:
4369
- socksRequested:
4370
- parameters:
4371
- uid: string
4372
- host: string
4373
- port: int
4374
-
4375
- socksData:
4376
- parameters:
4377
- uid: string
4378
- data: binary
4379
-
4380
- socksClosed:
4381
- parameters:
4382
- uid: string
4383
-
4384
- JsonPipe:
4385
- type: interface
4386
-
4387
- commands:
4388
- send:
4389
- internal: true
4390
- parameters:
4391
- message: json
4392
-
4393
- close:
4394
- internal: true
4395
-
4396
- events:
4397
-
4398
- message:
4399
- parameters:
4400
- message: json
4401
-
4402
- closed:
4403
- parameters:
4404
- reason: string?
4405
-
4406
- ExpectedTextValue:
4407
- type: object
4408
- properties:
4409
- string: string?
4410
- regexSource: string?
4411
- regexFlags: string?
4412
- matchSubstring: boolean?
4413
- ignoreCase: boolean?
4414
- normalizeWhiteSpace: boolean?
4415
-
4416
- SelectorEngine:
4417
- type: object
4418
- properties:
4419
- name: string
4420
- source: string
4421
- contentScript: boolean?
4422
-
4423
-
4424
- FormField:
4425
- type: object
4426
- properties:
4427
- name: string
4428
- value: string?
4429
- file:
4430
- type: object?
4431
- properties:
4432
- name: string
4433
- mimeType: string?
4434
- buffer: binary
4435
-
4436
- LifecycleEvent:
4437
- type: enum
4438
- literals:
4439
- - load
4440
- - domcontentloaded
4441
- - networkidle
4442
- - commit
4443
-
4444
- ConsoleMessagesFilter:
4445
- type: enum
4446
- literals:
4447
- - all
4448
- - since-navigation
4449
-
4450
- RecorderSource:
4451
- type: object
4452
- properties:
4453
- isRecorded: boolean
4454
- id: string
4455
- label: string
4456
- text: string
4457
- language: string
4458
- highlight:
4459
- type: array
4460
- items:
4461
- type: object
4462
- properties:
4463
- line: int
4464
- type: string
4465
- revealLine: int?
4466
- group: string?
4467
-
4468
- IndexedDBDatabase:
4469
- type: object
4470
- properties:
4471
- name: string
4472
- version: int
4473
- stores:
4474
- type: array
4475
- items:
4476
- type: object
4477
- properties:
4478
- name: string
4479
- autoIncrement: boolean
4480
- keyPath: string?
4481
- keyPathArray:
4482
- type: array?
4483
- items: string
4484
- records:
4485
- type: array
4486
- items:
4487
- type: object
4488
- properties:
4489
- key: json?
4490
- keyEncoded: json?
4491
- value: json?
4492
- valueEncoded: json?
4493
- indexes:
4494
- type: array
4495
- items:
4496
- type: object
4497
- properties:
4498
- name: string
4499
- keyPath: string?
4500
- keyPathArray:
4501
- type: array?
4502
- items: string
4503
- multiEntry: boolean
4504
- unique: boolean
4505
-
4506
- SetOriginStorage:
4507
- type: object
4508
- properties:
4509
- origin: string
4510
- localStorage:
4511
- type: array
4512
- items: NameValue
4513
- indexedDB:
4514
- type: array?
4515
- items: IndexedDBDatabase
4516
-
4517
- OriginStorage:
4518
- type: object
4519
- properties:
4520
- origin: string
4521
- localStorage:
4522
- type: array
4523
- items: NameValue
4524
- indexedDB:
4525
- type: array?
4526
- items: IndexedDBDatabase
4527
-
4528
- RecordHarOptions:
4529
- type: object
4530
- properties:
4531
- content:
4532
- type: enum?
4533
- literals:
4534
- - embed
4535
- - attach
4536
- - omit
4537
- mode:
4538
- type: enum?
4539
- literals:
4540
- - full
4541
- - minimal
4542
- urlGlob: string?
4543
- urlRegexSource: string?
4544
- urlRegexFlags: string?
4545
- harPath: string?
4546
- resourcesDir: string?
4547
-
4548
- CDPSession:
4549
- type: interface
4550
-
4551
- commands:
4552
-
4553
- send:
4554
- title: Send CDP command
4555
- group: configuration
4556
- parameters:
4557
- method: string
4558
- params: json?
4559
- returns:
4560
- result: json
4561
-
4562
- detach:
4563
- title: Detach CDP session
4564
- group: configuration
4565
- flags:
4566
- potentiallyClosesScope: true
4567
-
4568
- events:
4569
-
4570
- event:
4571
- parameters:
4572
- method: string
4573
- params: json?
4574
-
4575
- close:
4576
-
4577
- BindingCall:
4578
- type: interface
4579
-
4580
- initializer:
4581
- frame: Frame
4582
- name: string
4583
- args:
4584
- type: array
4585
- items: SerializedValue
4586
-
4587
- commands:
4588
-
4589
- reject:
4590
- internal: true
4591
- parameters:
4592
- error: SerializedError
4593
-
4594
- resolve:
4595
- internal: true
4596
- parameters:
4597
- result: SerializedArgument
4598
-
4599
- Debugger:
4600
- type: interface
4601
-
4602
- commands:
4603
-
4604
- requestPause:
4605
- title: Pause on next call
4606
- group: configuration
4607
-
4608
- resume:
4609
- title: Resume
4610
- group: configuration
4611
-
4612
- next:
4613
- title: Step to next call
4614
- group: configuration
4615
-
4616
- runTo:
4617
- title: Run to location
4618
- group: configuration
4619
- parameters:
4620
- location:
4621
- type: object
4622
- properties:
4623
- file: string
4624
- line: int?
4625
- column: int?
4626
-
4627
- events:
4628
-
4629
- pausedStateChanged:
4630
- parameters:
4631
- pausedDetails:
4632
- type: object?
4633
- properties:
4634
- location:
4635
- type: object
4636
- properties:
4637
- file: string
4638
- line: int?
4639
- column: int?
4640
- title: string
4641
- stack: string?
4642
-
4643
- Dialog:
4644
- type: interface
4645
-
4646
- initializer:
4647
- page: Page?
4648
- type: string
4649
- message: string
4650
- defaultValue: string
4651
-
4652
- commands:
4653
-
4654
- accept:
4655
- title: Accept dialog
4656
- parameters:
4657
- promptText: string?
4658
-
4659
- dismiss:
4660
- title: Dismiss dialog
4661
-
4662
- # Copyright (c) Microsoft Corporation.
4663
- #
4664
- # Licensed under the Apache License, Version 2.0 (the "License");
4665
- # you may not use this file except in compliance with the License.
4666
- # You may obtain a copy of the License at
4667
- #
4668
- # http://www.apache.org/licenses/LICENSE-2.0
4669
- #
4670
- # Unless required by applicable law or agreed to in writing, software
4671
- # distributed under the License is distributed on an "AS IS" BASIS,
4672
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4673
- # See the License for the specific language governing permissions and
4674
- # limitations under the License.
4675
-
4676
- SerializedValue:
4677
- type: object
4678
- # Exactly one of the properties must be present.
4679
- properties:
4680
- n: float?
4681
- b: boolean?
4682
- s: string?
4683
- v:
4684
- type: enum?
4685
- literals:
4686
- - null
4687
- - undefined
4688
- - NaN
4689
- - Infinity
4690
- - -Infinity
4691
- - "-0"
4692
- # String representation of the Date.
4693
- d: string?
4694
- # String representation of the URL.
4695
- u: string?
4696
- # String representation of BigInt.
4697
- bi: string?
4698
- # Typed array.
4699
- ta:
4700
- type: object?
4701
- properties:
4702
- b: binary
4703
- k:
4704
- type: enum
4705
- literals:
4706
- - i8
4707
- - ui8
4708
- - ui8c
4709
- - i16
4710
- - ui16
4711
- - i32
4712
- - ui32
4713
- - f32
4714
- - f64
4715
- - bi64
4716
- - bui64
4717
- # Serialized Error object.
4718
- e:
4719
- type: object?
4720
- properties:
4721
- m: string
4722
- n: string
4723
- s: string
4724
- # Regular expression pattern and flags.
4725
- r:
4726
- type: object?
4727
- properties:
4728
- p: string
4729
- f: string
4730
- a:
4731
- type: array?
4732
- items: SerializedValue
4733
- # Object with keys and values.
4734
- o:
4735
- type: array?
4736
- items:
4737
- type: object
4738
- properties:
4739
- k: string
4740
- v: SerializedValue
4741
- # An index in the handles array from SerializedArgument.
4742
- h: int?
4743
- # Index of the object in value-type for circular reference resolution.
4744
- id: int?
4745
- # Ref to the object in value-type for circular reference resolution.
4746
- ref: int?
4747
-
4748
- SerializedArgument:
4749
- type: object
4750
- properties:
4751
- value: SerializedValue
4752
- handles:
4753
- type: array
4754
- items: Channel
4755
-
4756
- SerializedError:
4757
- type: object
4758
- properties:
4759
- error:
4760
- type: object?
4761
- properties:
4762
- message: string
4763
- name: string
4764
- stack: string?
4765
- value: SerializedValue?
4766
-
4767
- # Copyright (c) Microsoft Corporation.
4768
- #
4769
- # Licensed under the Apache License, Version 2.0 (the "License");
4770
- # you may not use this file except in compliance with the License.
4771
- # You may obtain a copy of the License at
4772
- #
4773
- # http://www.apache.org/licenses/LICENSE-2.0
4774
- #
4775
- # Unless required by applicable law or agreed to in writing, software
4776
- # distributed under the License is distributed on an "AS IS" BASIS,
4777
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4778
- # See the License for the specific language governing permissions and
4779
- # limitations under the License.
4780
-
4781
- StackFrame:
4782
- type: object
4783
- properties:
4784
- file: string
4785
- line: int
4786
- column: int
4787
- function: string?
4788
-
4789
- VirtualCredential:
4790
- type: object
4791
- properties:
4792
- id: string
4793
- rpId: string
4794
- userHandle: string
4795
- privateKey: string
4796
- publicKey: string
4797
-
4798
- Point:
4799
- type: object
4800
- properties:
4801
- x: float
4802
- y: float
4803
-
4804
- Rect:
4805
- type: object
4806
- properties:
4807
- x: float
4808
- y: float
4809
- width: float
4810
- height: float
4811
-
4812
- URLPattern:
4813
- type: object
4814
- properties:
4815
- hash: string
4816
- hostname: string
4817
- password: string
4818
- pathname: string
4819
- port: string
4820
- protocol: string
4821
- search: string
4822
- username: string
4823
-
4824
- NameValue:
4825
- type: object
4826
- properties:
4827
- name: string
4828
- value: string
4829
-
4830
- # Copyright (c) Microsoft Corporation.
4831
- #
4832
- # Licensed under the Apache License, Version 2.0 (the "License");
4833
- # you may not use this file except in compliance with the License.
4834
- # You may obtain a copy of the License at
4835
- #
4836
- # http://www.apache.org/licenses/LICENSE-2.0
4837
- #
4838
- # Unless required by applicable law or agreed to in writing, software
4839
- # distributed under the License is distributed on an "AS IS" BASIS,
4840
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4841
- # See the License for the specific language governing permissions and
4842
- # limitations under the License.
4843
-
4844
- Tracing:
4845
- type: interface
4846
-
4847
- commands:
4848
-
4849
- tracingStart:
4850
- title: Start tracing
4851
- group: configuration
4852
- parameters:
4853
- name: string?
4854
- snapshots: boolean?
4855
- screenshots: boolean?
4856
- live: boolean?
4857
-
4858
- tracingStartChunk:
4859
- title: Start tracing
4860
- group: configuration
4861
- parameters:
4862
- name: string?
4863
- title: string?
4864
- returns:
4865
- traceName: string
4866
-
4867
- tracingGroup:
4868
- title: Trace "{name}"
4869
- parameters:
4870
- name: string
4871
- location:
4872
- type: object?
4873
- properties:
4874
- file: string
4875
- line: int?
4876
- column: int?
4877
-
4878
- tracingGroupEnd:
4879
- title: Group end
4880
-
4881
- tracingStopChunk:
4882
- title: Stop tracing
4883
- group: configuration
4884
- parameters:
4885
- mode:
4886
- type: enum
4887
- literals:
4888
- - archive
4889
- - discard
4890
- - entries
4891
- returns:
4892
- # The artifact may be missing if the browser closes while tracing is being stopped.
4893
- # Or it can be missing if client-side compression is taking place.
4894
- artifact: Artifact?
4895
- # For local mode, these are all entries.
4896
- entries:
4897
- type: array?
4898
- items: NameValue
4899
-
4900
- tracingStop:
4901
- title: Stop tracing
4902
- group: configuration
4903
-
4904
- harStart:
4905
- internal: true
4906
- parameters:
4907
- page: Page?
4908
- options: RecordHarOptions
4909
- returns:
4910
- harId: string
4911
-
4912
- harExport:
4913
- internal: true
4914
- parameters:
4915
- harId: string?
4916
- mode:
4917
- type: enum
4918
- literals:
4919
- - archive
4920
- - entries
4921
- returns:
4922
- # Present when mode is 'archive'.
4923
- artifact: Artifact?
4924
- # Present when mode is 'entries'.
4925
- entries:
4926
- type: array?
4927
- items: NameValue
4928
-
4929
- # Copyright (c) Microsoft Corporation.
4930
- #
4931
- # Licensed under the Apache License, Version 2.0 (the "License");
4932
- # you may not use this file except in compliance with the License.
4933
- # You may obtain a copy of the License at
4934
- #
4935
- # http://www.apache.org/licenses/LICENSE-2.0
4936
- #
4937
- # Unless required by applicable law or agreed to in writing, software
4938
- # distributed under the License is distributed on an "AS IS" BASIS,
4939
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4940
- # See the License for the specific language governing permissions and
4941
- # limitations under the License.
4942
-
4943
- Worker:
4944
- type: interface
4945
-
4946
- initializer:
4947
- url: string
4948
-
4949
- commands:
4950
-
4951
- disconnect:
4952
- title: Disconnect from worker
4953
- parameters:
4954
- reason: string?
4955
- flags:
4956
- potentiallyClosesScope: true
4957
-
4958
- evaluateExpression:
4959
- title: Evaluate
4960
- parameters:
4961
- expression: string
4962
- isFunction: boolean?
4963
- arg: SerializedArgument
4964
- returns:
4965
- value: SerializedValue
4966
-
4967
- evaluateExpressionHandle:
4968
- title: Evaluate
4969
- parameters:
4970
- expression: string
4971
- isFunction: boolean?
4972
- arg: SerializedArgument
4973
- returns:
4974
- handle: JSHandle
4975
-
4976
- updateSubscription:
4977
- internal: true
4978
- parameters:
4979
- event:
4980
- type: enum
4981
- literals:
4982
- - console
4983
- enabled: boolean
4984
-
4985
- events:
4986
-
4987
- console:
4988
- parameters:
4989
- $mixin: ConsoleMessage
4990
-
4991
- close: