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