isomorfeus-puppetmaster 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (710) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isomorfeus/puppetmaster/console_message.rb +18 -18
  3. data/lib/isomorfeus/puppetmaster/cookie.rb +46 -46
  4. data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +413 -415
  5. data/lib/isomorfeus/puppetmaster/driver/puppeteer_document.rb +953 -953
  6. data/lib/isomorfeus/puppetmaster/driver/puppeteer_node.rb +851 -851
  7. data/lib/isomorfeus/puppetmaster/errors.rb +90 -90
  8. data/lib/isomorfeus/puppetmaster/iframe.rb +16 -16
  9. data/lib/isomorfeus/puppetmaster/node/content_editable.rb +17 -17
  10. data/lib/isomorfeus/puppetmaster/node/input.rb +20 -20
  11. data/lib/isomorfeus/puppetmaster/node/select.rb +35 -35
  12. data/lib/isomorfeus/puppetmaster/node.rb +279 -279
  13. data/lib/isomorfeus/puppetmaster/request.rb +16 -16
  14. data/lib/isomorfeus/puppetmaster/response.rb +25 -25
  15. data/lib/isomorfeus/puppetmaster/self_forwardable.rb +38 -38
  16. data/lib/isomorfeus/puppetmaster/version.rb +3 -3
  17. data/lib/isomorfeus/puppetmaster.rb +85 -85
  18. data/lib/isomorfeus-puppetmaster.rb +1 -0
  19. data/node_modules/.bin/extract-zip +12 -12
  20. data/node_modules/.bin/extract-zip.ps1 +28 -28
  21. data/node_modules/.bin/rimraf +12 -12
  22. data/node_modules/.bin/rimraf.ps1 +28 -28
  23. data/node_modules/.package-lock.json +530 -585
  24. data/node_modules/@types/node/LICENSE +21 -21
  25. data/node_modules/@types/node/assert/strict.d.ts +8 -8
  26. data/node_modules/@types/node/assert.d.ts +912 -912
  27. data/node_modules/@types/node/async_hooks.d.ts +497 -497
  28. data/node_modules/@types/node/buffer.d.ts +2142 -2142
  29. data/node_modules/@types/node/child_process.d.ts +1355 -1355
  30. data/node_modules/@types/node/cluster.d.ts +414 -414
  31. data/node_modules/@types/node/console.d.ts +407 -407
  32. data/node_modules/@types/node/constants.d.ts +18 -18
  33. data/node_modules/@types/node/crypto.d.ts +3224 -3224
  34. data/node_modules/@types/node/dgram.d.ts +545 -545
  35. data/node_modules/@types/node/diagnostics_channel.d.ts +128 -128
  36. data/node_modules/@types/node/dns/promises.d.ts +357 -357
  37. data/node_modules/@types/node/dns.d.ts +643 -643
  38. data/node_modules/@types/node/domain.d.ts +169 -169
  39. data/node_modules/@types/node/events.d.ts +623 -623
  40. data/node_modules/@types/node/fs/promises.d.ts +997 -997
  41. data/node_modules/@types/node/fs.d.ts +3723 -3723
  42. data/node_modules/@types/node/globals.d.ts +285 -285
  43. data/node_modules/@types/node/globals.global.d.ts +1 -1
  44. data/node_modules/@types/node/http.d.ts +1358 -1358
  45. data/node_modules/@types/node/http2.d.ts +2100 -2100
  46. data/node_modules/@types/node/https.d.ts +391 -391
  47. data/node_modules/@types/node/index.d.ts +131 -131
  48. data/node_modules/@types/node/inspector.d.ts +2738 -2738
  49. data/node_modules/@types/node/module.d.ts +114 -114
  50. data/node_modules/@types/node/net.d.ts +783 -783
  51. data/node_modules/@types/node/os.d.ts +455 -455
  52. data/node_modules/@types/node/package.json +229 -229
  53. data/node_modules/@types/node/path.d.ts +172 -172
  54. data/node_modules/@types/node/perf_hooks.d.ts +555 -555
  55. data/node_modules/@types/node/process.d.ts +1477 -1477
  56. data/node_modules/@types/node/punycode.d.ts +117 -117
  57. data/node_modules/@types/node/querystring.d.ts +131 -131
  58. data/node_modules/@types/node/readline.d.ts +542 -542
  59. data/node_modules/@types/node/repl.d.ts +424 -424
  60. data/node_modules/@types/node/stream/consumers.d.ts +24 -24
  61. data/node_modules/@types/node/stream/promises.d.ts +42 -42
  62. data/node_modules/@types/node/stream/web.d.ts +6 -6
  63. data/node_modules/@types/node/stream.d.ts +1181 -1181
  64. data/node_modules/@types/node/string_decoder.d.ts +67 -67
  65. data/node_modules/@types/node/timers/promises.d.ts +68 -68
  66. data/node_modules/@types/node/timers.d.ts +94 -94
  67. data/node_modules/@types/node/tls.d.ts +1019 -1019
  68. data/node_modules/@types/node/trace_events.d.ts +161 -161
  69. data/node_modules/@types/node/tty.d.ts +206 -206
  70. data/node_modules/@types/node/url.d.ts +798 -798
  71. data/node_modules/@types/node/util.d.ts +1556 -1556
  72. data/node_modules/@types/node/v8.d.ts +378 -378
  73. data/node_modules/@types/node/vm.d.ts +504 -504
  74. data/node_modules/@types/node/wasi.d.ts +153 -153
  75. data/node_modules/@types/node/worker_threads.d.ts +649 -649
  76. data/node_modules/@types/node/zlib.d.ts +517 -517
  77. data/node_modules/@types/yauzl/LICENSE +21 -21
  78. data/node_modules/@types/yauzl/index.d.ts +98 -98
  79. data/node_modules/@types/yauzl/package.json +26 -26
  80. data/node_modules/agent-base/README.md +145 -145
  81. data/node_modules/agent-base/dist/src/index.d.ts +78 -78
  82. data/node_modules/agent-base/dist/src/index.js +202 -202
  83. data/node_modules/agent-base/dist/src/promisify.d.ts +4 -4
  84. data/node_modules/agent-base/dist/src/promisify.js +17 -17
  85. data/node_modules/agent-base/package.json +64 -64
  86. data/node_modules/agent-base/src/index.ts +345 -345
  87. data/node_modules/agent-base/src/promisify.ts +33 -33
  88. data/node_modules/balanced-match/.github/FUNDING.yml +2 -2
  89. data/node_modules/balanced-match/LICENSE.md +21 -21
  90. data/node_modules/balanced-match/README.md +97 -97
  91. data/node_modules/balanced-match/index.js +62 -62
  92. data/node_modules/balanced-match/package.json +48 -48
  93. data/node_modules/base64-js/LICENSE +21 -21
  94. data/node_modules/base64-js/README.md +34 -34
  95. data/node_modules/base64-js/index.d.ts +3 -3
  96. data/node_modules/base64-js/index.js +150 -150
  97. data/node_modules/base64-js/package.json +47 -47
  98. data/node_modules/bl/.travis.yml +17 -17
  99. data/node_modules/bl/BufferList.js +396 -396
  100. data/node_modules/bl/LICENSE.md +13 -13
  101. data/node_modules/bl/README.md +247 -247
  102. data/node_modules/bl/bl.js +84 -84
  103. data/node_modules/bl/package.json +37 -37
  104. data/node_modules/bl/test/convert.js +21 -21
  105. data/node_modules/bl/test/indexOf.js +492 -492
  106. data/node_modules/bl/test/isBufferList.js +32 -32
  107. data/node_modules/bl/test/test.js +869 -869
  108. data/node_modules/brace-expansion/LICENSE +21 -21
  109. data/node_modules/brace-expansion/README.md +129 -129
  110. data/node_modules/brace-expansion/index.js +201 -201
  111. data/node_modules/brace-expansion/package.json +47 -47
  112. data/node_modules/buffer/AUTHORS.md +70 -70
  113. data/node_modules/buffer/LICENSE +21 -21
  114. data/node_modules/buffer/README.md +410 -410
  115. data/node_modules/buffer/index.d.ts +186 -186
  116. data/node_modules/buffer/index.js +1817 -1817
  117. data/node_modules/buffer/package.json +96 -96
  118. data/node_modules/buffer-crc32/LICENSE +19 -19
  119. data/node_modules/buffer-crc32/README.md +47 -47
  120. data/node_modules/buffer-crc32/index.js +111 -111
  121. data/node_modules/buffer-crc32/package.json +39 -39
  122. data/node_modules/chownr/LICENSE +15 -15
  123. data/node_modules/chownr/README.md +3 -3
  124. data/node_modules/chownr/chownr.js +167 -167
  125. data/node_modules/chownr/package.json +29 -29
  126. data/node_modules/concat-map/.travis.yml +4 -4
  127. data/node_modules/concat-map/LICENSE +18 -18
  128. data/node_modules/concat-map/README.markdown +62 -62
  129. data/node_modules/concat-map/example/map.js +6 -6
  130. data/node_modules/concat-map/index.js +13 -13
  131. data/node_modules/concat-map/package.json +43 -43
  132. data/node_modules/concat-map/test/map.js +39 -39
  133. data/node_modules/debug/LICENSE +19 -19
  134. data/node_modules/debug/README.md +455 -455
  135. data/node_modules/debug/package.json +59 -59
  136. data/node_modules/debug/src/browser.js +269 -269
  137. data/node_modules/debug/src/common.js +274 -274
  138. data/node_modules/debug/src/index.js +10 -10
  139. data/node_modules/debug/src/node.js +263 -263
  140. data/node_modules/devtools-protocol/LICENSE +27 -27
  141. data/node_modules/devtools-protocol/README.md +12 -12
  142. data/node_modules/devtools-protocol/json/browser_protocol.json +20985 -20640
  143. data/node_modules/devtools-protocol/json/js_protocol.json +3531 -3580
  144. data/node_modules/devtools-protocol/package.json +17 -18
  145. data/node_modules/devtools-protocol/pdl/browser_protocol.pdl +9849 -9637
  146. data/node_modules/devtools-protocol/pdl/js_protocol.pdl +1653 -1678
  147. data/node_modules/devtools-protocol/types/protocol-mapping.d.ts +4333 -4321
  148. data/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +3695 -3683
  149. data/node_modules/devtools-protocol/types/protocol.d.ts +15714 -15538
  150. data/node_modules/end-of-stream/LICENSE +20 -20
  151. data/node_modules/end-of-stream/README.md +54 -54
  152. data/node_modules/end-of-stream/index.js +94 -94
  153. data/node_modules/end-of-stream/package.json +37 -37
  154. data/node_modules/extract-zip/LICENSE +23 -23
  155. data/node_modules/extract-zip/cli.js +19 -19
  156. data/node_modules/extract-zip/index.d.ts +21 -21
  157. data/node_modules/extract-zip/index.js +173 -173
  158. data/node_modules/extract-zip/package.json +80 -80
  159. data/node_modules/extract-zip/readme.md +57 -57
  160. data/node_modules/fd-slicer/.npmignore +2 -2
  161. data/node_modules/fd-slicer/.travis.yml +7 -7
  162. data/node_modules/fd-slicer/CHANGELOG.md +49 -49
  163. data/node_modules/fd-slicer/LICENSE +21 -21
  164. data/node_modules/fd-slicer/README.md +199 -199
  165. data/node_modules/fd-slicer/index.js +296 -296
  166. data/node_modules/fd-slicer/package.json +36 -36
  167. data/node_modules/fd-slicer/test/test.js +350 -350
  168. data/node_modules/find-up/index.d.ts +137 -137
  169. data/node_modules/find-up/index.js +89 -89
  170. data/node_modules/find-up/license +9 -9
  171. data/node_modules/find-up/package.json +53 -53
  172. data/node_modules/find-up/readme.md +156 -156
  173. data/node_modules/fs-constants/LICENSE +21 -21
  174. data/node_modules/fs-constants/README.md +26 -26
  175. data/node_modules/fs-constants/browser.js +1 -1
  176. data/node_modules/fs-constants/index.js +1 -1
  177. data/node_modules/fs-constants/package.json +19 -19
  178. data/node_modules/fs.realpath/LICENSE +43 -43
  179. data/node_modules/fs.realpath/README.md +33 -33
  180. data/node_modules/fs.realpath/index.js +66 -66
  181. data/node_modules/fs.realpath/old.js +303 -303
  182. data/node_modules/fs.realpath/package.json +26 -26
  183. data/node_modules/get-stream/buffer-stream.js +52 -52
  184. data/node_modules/get-stream/index.d.ts +108 -108
  185. data/node_modules/get-stream/index.js +60 -60
  186. data/node_modules/get-stream/license +9 -9
  187. data/node_modules/get-stream/package.json +50 -50
  188. data/node_modules/get-stream/readme.md +124 -124
  189. data/node_modules/glob/LICENSE +21 -21
  190. data/node_modules/glob/README.md +375 -375
  191. data/node_modules/glob/changelog.md +67 -67
  192. data/node_modules/glob/common.js +234 -234
  193. data/node_modules/glob/glob.js +788 -788
  194. data/node_modules/glob/package.json +51 -51
  195. data/node_modules/glob/sync.js +484 -484
  196. data/node_modules/https-proxy-agent/README.md +137 -137
  197. data/node_modules/https-proxy-agent/dist/agent.d.ts +30 -30
  198. data/node_modules/https-proxy-agent/dist/agent.js +179 -179
  199. data/node_modules/https-proxy-agent/dist/index.d.ts +23 -23
  200. data/node_modules/https-proxy-agent/dist/index.js +13 -13
  201. data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -7
  202. data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +65 -65
  203. data/node_modules/https-proxy-agent/package.json +56 -56
  204. data/node_modules/ieee754/LICENSE +11 -11
  205. data/node_modules/ieee754/README.md +51 -51
  206. data/node_modules/ieee754/index.d.ts +9 -9
  207. data/node_modules/ieee754/index.js +85 -85
  208. data/node_modules/ieee754/package.json +52 -52
  209. data/node_modules/inflight/LICENSE +15 -15
  210. data/node_modules/inflight/README.md +37 -37
  211. data/node_modules/inflight/inflight.js +54 -54
  212. data/node_modules/inflight/package.json +29 -29
  213. data/node_modules/inherits/LICENSE +16 -16
  214. data/node_modules/inherits/README.md +42 -42
  215. data/node_modules/inherits/inherits.js +9 -9
  216. data/node_modules/inherits/inherits_browser.js +27 -27
  217. data/node_modules/inherits/package.json +29 -29
  218. data/node_modules/locate-path/index.d.ts +83 -83
  219. data/node_modules/locate-path/index.js +65 -65
  220. data/node_modules/locate-path/license +9 -9
  221. data/node_modules/locate-path/package.json +45 -45
  222. data/node_modules/locate-path/readme.md +122 -122
  223. data/node_modules/minimatch/LICENSE +15 -15
  224. data/node_modules/minimatch/README.md +209 -209
  225. data/node_modules/minimatch/minimatch.js +923 -923
  226. data/node_modules/minimatch/package.json +30 -30
  227. data/node_modules/mkdirp-classic/LICENSE +21 -21
  228. data/node_modules/mkdirp-classic/README.md +18 -18
  229. data/node_modules/mkdirp-classic/index.js +98 -98
  230. data/node_modules/mkdirp-classic/package.json +18 -18
  231. data/node_modules/ms/index.js +162 -162
  232. data/node_modules/ms/license.md +21 -21
  233. data/node_modules/ms/package.json +37 -37
  234. data/node_modules/ms/readme.md +60 -60
  235. data/node_modules/node-fetch/LICENSE.md +22 -22
  236. data/node_modules/node-fetch/README.md +590 -590
  237. data/node_modules/node-fetch/browser.js +24 -24
  238. data/node_modules/node-fetch/lib/index.es.js +1662 -1662
  239. data/node_modules/node-fetch/lib/index.js +1671 -1671
  240. data/node_modules/node-fetch/lib/index.mjs +1660 -1660
  241. data/node_modules/node-fetch/package.json +68 -68
  242. data/node_modules/once/LICENSE +15 -15
  243. data/node_modules/once/README.md +79 -79
  244. data/node_modules/once/once.js +42 -42
  245. data/node_modules/once/package.json +33 -33
  246. data/node_modules/p-limit/index.d.ts +38 -38
  247. data/node_modules/p-limit/index.js +57 -57
  248. data/node_modules/p-limit/license +9 -9
  249. data/node_modules/p-limit/package.json +52 -52
  250. data/node_modules/p-limit/readme.md +101 -101
  251. data/node_modules/p-locate/index.d.ts +64 -64
  252. data/node_modules/p-locate/index.js +52 -52
  253. data/node_modules/p-locate/license +9 -9
  254. data/node_modules/p-locate/package.json +53 -53
  255. data/node_modules/p-locate/readme.md +90 -90
  256. data/node_modules/p-try/index.d.ts +39 -39
  257. data/node_modules/p-try/index.js +9 -9
  258. data/node_modules/p-try/license +9 -9
  259. data/node_modules/p-try/package.json +42 -42
  260. data/node_modules/p-try/readme.md +58 -58
  261. data/node_modules/path-exists/index.d.ts +28 -28
  262. data/node_modules/path-exists/index.js +23 -23
  263. data/node_modules/path-exists/license +9 -9
  264. data/node_modules/path-exists/package.json +39 -39
  265. data/node_modules/path-exists/readme.md +52 -52
  266. data/node_modules/path-is-absolute/index.js +20 -20
  267. data/node_modules/path-is-absolute/license +21 -21
  268. data/node_modules/path-is-absolute/package.json +43 -43
  269. data/node_modules/path-is-absolute/readme.md +59 -59
  270. data/node_modules/pend/LICENSE +23 -23
  271. data/node_modules/pend/README.md +41 -41
  272. data/node_modules/pend/index.js +55 -55
  273. data/node_modules/pend/package.json +18 -18
  274. data/node_modules/pend/test.js +137 -137
  275. data/node_modules/pkg-dir/index.d.ts +44 -44
  276. data/node_modules/pkg-dir/index.js +17 -17
  277. data/node_modules/pkg-dir/license +9 -9
  278. data/node_modules/pkg-dir/package.json +56 -56
  279. data/node_modules/pkg-dir/readme.md +66 -66
  280. data/node_modules/progress/CHANGELOG.md +115 -115
  281. data/node_modules/progress/LICENSE +22 -22
  282. data/node_modules/progress/Makefile +8 -8
  283. data/node_modules/progress/Readme.md +146 -146
  284. data/node_modules/progress/index.js +1 -1
  285. data/node_modules/progress/lib/node-progress.js +236 -236
  286. data/node_modules/progress/package.json +26 -26
  287. data/node_modules/proxy-from-env/.eslintrc +29 -29
  288. data/node_modules/proxy-from-env/.travis.yml +10 -10
  289. data/node_modules/proxy-from-env/LICENSE +20 -20
  290. data/node_modules/proxy-from-env/README.md +131 -131
  291. data/node_modules/proxy-from-env/index.js +108 -108
  292. data/node_modules/proxy-from-env/package.json +34 -34
  293. data/node_modules/proxy-from-env/test.js +483 -483
  294. data/node_modules/pump/.travis.yml +5 -5
  295. data/node_modules/pump/LICENSE +20 -20
  296. data/node_modules/pump/README.md +65 -65
  297. data/node_modules/pump/index.js +82 -82
  298. data/node_modules/pump/package.json +24 -24
  299. data/node_modules/pump/test-browser.js +66 -66
  300. data/node_modules/pump/test-node.js +53 -53
  301. data/node_modules/puppeteer-core/CHANGELOG.md +319 -290
  302. data/node_modules/puppeteer-core/LICENSE +202 -202
  303. data/node_modules/puppeteer-core/README.md +481 -481
  304. data/node_modules/puppeteer-core/cjs-entry-core.js +29 -29
  305. data/node_modules/puppeteer-core/cjs-entry.js +29 -29
  306. data/node_modules/puppeteer-core/install.js +89 -89
  307. data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts +110 -110
  308. data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js +80 -80
  309. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +175 -175
  310. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +360 -360
  311. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +20 -20
  312. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +84 -84
  313. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
  314. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +455 -455
  315. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +540 -540
  316. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +53 -53
  317. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +97 -97
  318. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +25 -25
  319. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +34 -34
  320. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +135 -135
  321. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +298 -298
  322. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +24 -24
  323. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +17 -17
  324. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +72 -72
  325. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +64 -64
  326. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +204 -204
  327. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +335 -335
  328. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +175 -175
  329. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +662 -662
  330. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +52 -52
  331. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +81 -81
  332. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +40 -40
  333. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +1070 -1070
  334. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +74 -74
  335. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +97 -97
  336. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +24 -24
  337. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +37 -37
  338. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +50 -50
  339. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +56 -56
  340. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +60 -60
  341. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js +17 -17
  342. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +92 -92
  343. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +116 -116
  344. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts +81 -81
  345. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js +86 -86
  346. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +193 -193
  347. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +321 -321
  348. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +58 -58
  349. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +71 -71
  350. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +744 -744
  351. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +1047 -1047
  352. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  353. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +350 -345
  354. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  355. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +549 -549
  356. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
  357. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +134 -125
  358. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  359. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +184 -164
  360. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
  361. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +358 -358
  362. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +543 -543
  363. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +490 -490
  364. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +827 -827
  365. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +65 -65
  366. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  367. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +149 -148
  368. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
  369. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts +26 -26
  370. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js +33 -33
  371. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +126 -97
  372. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
  373. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +467 -342
  374. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
  375. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +161 -161
  376. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +34 -34
  377. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +2055 -2055
  378. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +2533 -2533
  379. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +20 -20
  380. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +17 -17
  381. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +159 -159
  382. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +161 -161
  383. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +51 -51
  384. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +2 -2
  385. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +64 -64
  386. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +165 -165
  387. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +60 -60
  388. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +76 -76
  389. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +100 -100
  390. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +145 -145
  391. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts +20 -20
  392. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js +29 -29
  393. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +27 -27
  394. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +47 -47
  395. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +46 -46
  396. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +109 -109
  397. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +39 -39
  398. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +406 -406
  399. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +98 -98
  400. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +112 -112
  401. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +22 -22
  402. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +33 -33
  403. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +16 -16
  404. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +43 -43
  405. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts +84 -84
  406. data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +327 -327
  407. data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +16 -16
  408. data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +19 -19
  409. data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts +16 -16
  410. data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js +2 -2
  411. data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts +17 -17
  412. data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js +44 -44
  413. data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts +17 -17
  414. data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js +26 -26
  415. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +133 -133
  416. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +500 -500
  417. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +40 -39
  418. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  419. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +256 -230
  420. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
  421. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +134 -134
  422. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +17 -17
  423. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts +16 -16
  424. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
  425. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +655 -588
  426. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
  427. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +26 -26
  428. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +47 -47
  429. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +29 -29
  430. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +64 -64
  431. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts +153 -153
  432. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +188 -188
  433. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts +17 -17
  434. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +173 -173
  435. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts +17 -17
  436. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +24 -24
  437. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts +17 -17
  438. data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +23 -23
  439. data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +21 -21
  440. data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +22 -22
  441. data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts +17 -17
  442. data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +23 -23
  443. data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts +27 -27
  444. data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js +56 -56
  445. data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts +110 -110
  446. data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js +80 -80
  447. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +175 -175
  448. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +356 -356
  449. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +20 -20
  450. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +81 -81
  451. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
  452. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +455 -455
  453. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +535 -535
  454. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +53 -53
  455. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +74 -74
  456. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +25 -25
  457. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +30 -30
  458. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +135 -135
  459. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +293 -293
  460. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +24 -24
  461. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +16 -16
  462. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +72 -72
  463. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +60 -60
  464. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +204 -204
  465. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +329 -329
  466. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +175 -175
  467. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +657 -657
  468. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +52 -52
  469. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +77 -77
  470. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +40 -40
  471. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +1067 -1067
  472. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +74 -74
  473. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +93 -93
  474. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +24 -24
  475. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +33 -33
  476. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +50 -50
  477. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +50 -50
  478. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +60 -60
  479. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js +16 -16
  480. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +92 -92
  481. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +109 -109
  482. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts +81 -81
  483. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js +83 -83
  484. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +193 -193
  485. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +317 -317
  486. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +58 -58
  487. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +67 -67
  488. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +744 -744
  489. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +1042 -1042
  490. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  491. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +350 -345
  492. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  493. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +545 -545
  494. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
  495. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +134 -125
  496. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  497. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +180 -160
  498. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
  499. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +358 -358
  500. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +537 -537
  501. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +490 -490
  502. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +802 -802
  503. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +65 -65
  504. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  505. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +145 -144
  506. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
  507. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts +26 -26
  508. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js +30 -30
  509. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +126 -97
  510. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
  511. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +463 -338
  512. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
  513. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +161 -161
  514. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +31 -31
  515. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +2055 -2055
  516. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +2529 -2529
  517. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +20 -20
  518. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +16 -16
  519. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +159 -159
  520. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +157 -157
  521. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +51 -51
  522. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +1 -1
  523. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +64 -64
  524. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +157 -157
  525. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +60 -60
  526. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +72 -72
  527. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +100 -100
  528. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +141 -141
  529. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts +20 -20
  530. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +25 -25
  531. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +27 -27
  532. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +43 -43
  533. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +46 -46
  534. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +105 -105
  535. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +39 -39
  536. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +403 -403
  537. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +98 -98
  538. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +108 -108
  539. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +22 -22
  540. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +28 -28
  541. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +16 -16
  542. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +20 -20
  543. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts +84 -84
  544. data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +305 -305
  545. data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +16 -16
  546. data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +16 -16
  547. data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts +16 -16
  548. data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js +1 -1
  549. data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts +17 -17
  550. data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js +37 -37
  551. data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts +17 -17
  552. data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js +22 -22
  553. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +133 -133
  554. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +474 -474
  555. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +40 -39
  556. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  557. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +230 -204
  558. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
  559. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +134 -134
  560. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +16 -16
  561. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts +16 -16
  562. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
  563. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +633 -566
  564. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +1 -1
  565. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +26 -26
  566. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +40 -40
  567. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +29 -29
  568. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +60 -60
  569. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts +153 -153
  570. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js +181 -181
  571. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts +17 -17
  572. data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +165 -165
  573. data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts +17 -17
  574. data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js +22 -22
  575. data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts +17 -17
  576. data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js +21 -21
  577. data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +21 -21
  578. data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +19 -19
  579. data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts +17 -17
  580. data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js +21 -21
  581. data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts +27 -27
  582. data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js +53 -53
  583. data/node_modules/puppeteer-core/lib/types.d.ts +67 -25
  584. data/node_modules/puppeteer-core/package.json +115 -115
  585. data/node_modules/puppeteer-core/typescript-if-required.js +61 -61
  586. data/node_modules/readable-stream/CONTRIBUTING.md +38 -38
  587. data/node_modules/readable-stream/GOVERNANCE.md +136 -136
  588. data/node_modules/readable-stream/LICENSE +47 -47
  589. data/node_modules/readable-stream/README.md +106 -106
  590. data/node_modules/readable-stream/errors-browser.js +127 -127
  591. data/node_modules/readable-stream/errors.js +116 -116
  592. data/node_modules/readable-stream/experimentalWarning.js +17 -17
  593. data/node_modules/readable-stream/lib/_stream_duplex.js +138 -138
  594. data/node_modules/readable-stream/lib/_stream_passthrough.js +38 -38
  595. data/node_modules/readable-stream/lib/_stream_readable.js +1123 -1123
  596. data/node_modules/readable-stream/lib/_stream_transform.js +200 -200
  597. data/node_modules/readable-stream/lib/_stream_writable.js +696 -696
  598. data/node_modules/readable-stream/lib/internal/streams/async_iterator.js +206 -206
  599. data/node_modules/readable-stream/lib/internal/streams/buffer_list.js +209 -209
  600. data/node_modules/readable-stream/lib/internal/streams/destroy.js +104 -104
  601. data/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +103 -103
  602. data/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -3
  603. data/node_modules/readable-stream/lib/internal/streams/from.js +63 -63
  604. data/node_modules/readable-stream/lib/internal/streams/pipeline.js +96 -96
  605. data/node_modules/readable-stream/lib/internal/streams/state.js +26 -26
  606. data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -1
  607. data/node_modules/readable-stream/lib/internal/streams/stream.js +1 -1
  608. data/node_modules/readable-stream/package.json +68 -68
  609. data/node_modules/readable-stream/readable-browser.js +9 -9
  610. data/node_modules/readable-stream/readable.js +16 -16
  611. data/node_modules/rimraf/CHANGELOG.md +65 -65
  612. data/node_modules/rimraf/LICENSE +15 -15
  613. data/node_modules/rimraf/README.md +101 -101
  614. data/node_modules/rimraf/bin.js +68 -68
  615. data/node_modules/rimraf/package.json +32 -32
  616. data/node_modules/rimraf/rimraf.js +360 -360
  617. data/node_modules/safe-buffer/LICENSE +21 -21
  618. data/node_modules/safe-buffer/README.md +584 -584
  619. data/node_modules/safe-buffer/index.d.ts +186 -186
  620. data/node_modules/safe-buffer/index.js +65 -65
  621. data/node_modules/safe-buffer/package.json +51 -51
  622. data/node_modules/string_decoder/LICENSE +48 -48
  623. data/node_modules/string_decoder/README.md +47 -47
  624. data/node_modules/string_decoder/lib/string_decoder.js +295 -295
  625. data/node_modules/string_decoder/package.json +34 -34
  626. data/node_modules/tar-fs/.travis.yml +6 -6
  627. data/node_modules/tar-fs/LICENSE +20 -20
  628. data/node_modules/tar-fs/README.md +165 -165
  629. data/node_modules/tar-fs/index.js +351 -351
  630. data/node_modules/tar-fs/package.json +41 -41
  631. data/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -1
  632. data/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -1
  633. data/node_modules/tar-fs/test/index.js +346 -346
  634. data/node_modules/tar-stream/LICENSE +20 -20
  635. data/node_modules/tar-stream/README.md +168 -168
  636. data/node_modules/tar-stream/extract.js +257 -257
  637. data/node_modules/tar-stream/headers.js +295 -295
  638. data/node_modules/tar-stream/index.js +2 -2
  639. data/node_modules/tar-stream/pack.js +255 -255
  640. data/node_modules/tar-stream/package.json +58 -58
  641. data/node_modules/tar-stream/sandbox.js +11 -11
  642. data/node_modules/through/.travis.yml +5 -5
  643. data/node_modules/through/LICENSE.APACHE2 +15 -15
  644. data/node_modules/through/LICENSE.MIT +24 -24
  645. data/node_modules/through/index.js +108 -108
  646. data/node_modules/through/package.json +36 -36
  647. data/node_modules/through/readme.markdown +64 -64
  648. data/node_modules/through/test/async.js +28 -28
  649. data/node_modules/through/test/auto-destroy.js +30 -30
  650. data/node_modules/through/test/buffering.js +71 -71
  651. data/node_modules/through/test/end.js +45 -45
  652. data/node_modules/through/test/index.js +133 -133
  653. data/node_modules/tr46/.npmignore +4 -4
  654. data/node_modules/tr46/index.js +193 -193
  655. data/node_modules/tr46/package.json +31 -31
  656. data/node_modules/unbzip2-stream/LICENSE +24 -24
  657. data/node_modules/unbzip2-stream/README.md +59 -59
  658. data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -1
  659. data/node_modules/unbzip2-stream/index.js +93 -93
  660. data/node_modules/unbzip2-stream/lib/bit_iterator.js +39 -39
  661. data/node_modules/unbzip2-stream/lib/bzip2.js +365 -365
  662. data/node_modules/unbzip2-stream/package.json +51 -51
  663. data/node_modules/util-deprecate/History.md +16 -16
  664. data/node_modules/util-deprecate/LICENSE +24 -24
  665. data/node_modules/util-deprecate/README.md +53 -53
  666. data/node_modules/util-deprecate/browser.js +67 -67
  667. data/node_modules/util-deprecate/node.js +6 -6
  668. data/node_modules/util-deprecate/package.json +27 -27
  669. data/node_modules/webidl-conversions/LICENSE.md +12 -12
  670. data/node_modules/webidl-conversions/README.md +53 -53
  671. data/node_modules/webidl-conversions/lib/index.js +189 -189
  672. data/node_modules/webidl-conversions/package.json +23 -23
  673. data/node_modules/whatwg-url/LICENSE.txt +21 -21
  674. data/node_modules/whatwg-url/README.md +67 -67
  675. data/node_modules/whatwg-url/lib/URL-impl.js +200 -200
  676. data/node_modules/whatwg-url/lib/URL.js +196 -196
  677. data/node_modules/whatwg-url/lib/public-api.js +11 -11
  678. data/node_modules/whatwg-url/lib/utils.js +20 -20
  679. data/node_modules/whatwg-url/package.json +32 -32
  680. data/node_modules/wrappy/LICENSE +15 -15
  681. data/node_modules/wrappy/README.md +36 -36
  682. data/node_modules/wrappy/package.json +29 -29
  683. data/node_modules/wrappy/wrappy.js +33 -33
  684. data/node_modules/ws/LICENSE +19 -19
  685. data/node_modules/ws/README.md +493 -493
  686. data/node_modules/ws/browser.js +8 -8
  687. data/node_modules/ws/index.js +13 -13
  688. data/node_modules/ws/lib/buffer-util.js +126 -126
  689. data/node_modules/ws/lib/constants.js +12 -12
  690. data/node_modules/ws/lib/event-target.js +266 -266
  691. data/node_modules/ws/lib/extension.js +203 -203
  692. data/node_modules/ws/lib/limiter.js +55 -55
  693. data/node_modules/ws/lib/permessage-deflate.js +511 -511
  694. data/node_modules/ws/lib/receiver.js +612 -612
  695. data/node_modules/ws/lib/sender.js +422 -422
  696. data/node_modules/ws/lib/stream.js +180 -180
  697. data/node_modules/ws/lib/subprotocol.js +62 -62
  698. data/node_modules/ws/lib/validation.js +124 -124
  699. data/node_modules/ws/lib/websocket-server.js +485 -485
  700. data/node_modules/ws/lib/websocket.js +1149 -1149
  701. data/node_modules/ws/package.json +61 -61
  702. data/node_modules/ws/wrapper.mjs +8 -8
  703. data/node_modules/yauzl/LICENSE +21 -21
  704. data/node_modules/yauzl/README.md +658 -658
  705. data/node_modules/yauzl/index.js +796 -796
  706. data/node_modules/yauzl/package.json +40 -40
  707. data/package.json +1 -1
  708. metadata +23 -25
  709. data/node_modules/devtools-protocol/changelog.md +0 -10491
  710. data/node_modules/devtools-protocol/externs/protocol_externs.js +0 -9734
@@ -1,1678 +1,1653 @@
1
- # Copyright 2017 The Chromium Authors. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- version
6
- major 1
7
- minor 3
8
-
9
- # This domain is deprecated - use Runtime or Log instead.
10
- deprecated domain Console
11
- depends on Runtime
12
-
13
- # Console message.
14
- type ConsoleMessage extends object
15
- properties
16
- # Message source.
17
- enum source
18
- xml
19
- javascript
20
- network
21
- console-api
22
- storage
23
- appcache
24
- rendering
25
- security
26
- other
27
- deprecation
28
- worker
29
- # Message severity.
30
- enum level
31
- log
32
- warning
33
- error
34
- debug
35
- info
36
- # Message text.
37
- string text
38
- # URL of the message origin.
39
- optional string url
40
- # Line number in the resource that generated this message (1-based).
41
- optional integer line
42
- # Column number in the resource that generated this message (1-based).
43
- optional integer column
44
-
45
- # Does nothing.
46
- command clearMessages
47
-
48
- # Disables console domain, prevents further console messages from being reported to the client.
49
- command disable
50
-
51
- # Enables console domain, sends the messages collected so far to the client by means of the
52
- # `messageAdded` notification.
53
- command enable
54
-
55
- # Issued when new console message is added.
56
- event messageAdded
57
- parameters
58
- # Console message that has been added.
59
- ConsoleMessage message
60
-
61
- # Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
62
- # breakpoints, stepping through execution, exploring stack traces, etc.
63
- domain Debugger
64
- depends on Runtime
65
-
66
- # Breakpoint identifier.
67
- type BreakpointId extends string
68
-
69
- # Call frame identifier.
70
- type CallFrameId extends string
71
-
72
- # Location in the source code.
73
- type Location extends object
74
- properties
75
- # Script identifier as reported in the `Debugger.scriptParsed`.
76
- Runtime.ScriptId scriptId
77
- # Line number in the script (0-based).
78
- integer lineNumber
79
- # Column number in the script (0-based).
80
- optional integer columnNumber
81
-
82
- # Location in the source code.
83
- experimental type ScriptPosition extends object
84
- properties
85
- integer lineNumber
86
- integer columnNumber
87
-
88
- # Location range within one script.
89
- experimental type LocationRange extends object
90
- properties
91
- Runtime.ScriptId scriptId
92
- ScriptPosition start
93
- ScriptPosition end
94
-
95
- # JavaScript call frame. Array of call frames form the call stack.
96
- type CallFrame extends object
97
- properties
98
- # Call frame identifier. This identifier is only valid while the virtual machine is paused.
99
- CallFrameId callFrameId
100
- # Name of the JavaScript function called on this call frame.
101
- string functionName
102
- # Location in the source code.
103
- optional Location functionLocation
104
- # Location in the source code.
105
- Location location
106
- # JavaScript script name or url.
107
- string url
108
- # Scope chain for this call frame.
109
- array of Scope scopeChain
110
- # `this` object for this call frame.
111
- Runtime.RemoteObject this
112
- # The value being returned, if the function is at return point.
113
- optional Runtime.RemoteObject returnValue
114
-
115
- # Scope description.
116
- type Scope extends object
117
- properties
118
- # Scope type.
119
- enum type
120
- global
121
- local
122
- with
123
- closure
124
- catch
125
- block
126
- script
127
- eval
128
- module
129
- wasm-expression-stack
130
- # Object representing the scope. For `global` and `with` scopes it represents the actual
131
- # object; for the rest of the scopes, it is artificial transient object enumerating scope
132
- # variables as its properties.
133
- Runtime.RemoteObject object
134
- optional string name
135
- # Location in the source code where scope starts
136
- optional Location startLocation
137
- # Location in the source code where scope ends
138
- optional Location endLocation
139
-
140
- # Search match for resource.
141
- type SearchMatch extends object
142
- properties
143
- # Line number in resource content.
144
- number lineNumber
145
- # Line with match content.
146
- string lineContent
147
-
148
- type BreakLocation extends object
149
- properties
150
- # Script identifier as reported in the `Debugger.scriptParsed`.
151
- Runtime.ScriptId scriptId
152
- # Line number in the script (0-based).
153
- integer lineNumber
154
- # Column number in the script (0-based).
155
- optional integer columnNumber
156
- optional enum type
157
- debuggerStatement
158
- call
159
- return
160
-
161
- # Continues execution until specific location is reached.
162
- command continueToLocation
163
- parameters
164
- # Location to continue to.
165
- Location location
166
- optional enum targetCallFrames
167
- any
168
- current
169
-
170
- # Disables debugger for given page.
171
- command disable
172
-
173
- # Enables debugger for the given page. Clients should not assume that the debugging has been
174
- # enabled until the result for this command is received.
175
- command enable
176
- parameters
177
- # The maximum size in bytes of collected scripts (not referenced by other heap objects)
178
- # the debugger can hold. Puts no limit if paramter is omitted.
179
- experimental optional number maxScriptsCacheSize
180
- returns
181
- # Unique identifier of the debugger.
182
- experimental Runtime.UniqueDebuggerId debuggerId
183
-
184
- # Evaluates expression on a given call frame.
185
- command evaluateOnCallFrame
186
- parameters
187
- # Call frame identifier to evaluate on.
188
- CallFrameId callFrameId
189
- # Expression to evaluate.
190
- string expression
191
- # String object group name to put result into (allows rapid releasing resulting object handles
192
- # using `releaseObjectGroup`).
193
- optional string objectGroup
194
- # Specifies whether command line API should be available to the evaluated expression, defaults
195
- # to false.
196
- optional boolean includeCommandLineAPI
197
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
198
- # execution. Overrides `setPauseOnException` state.
199
- optional boolean silent
200
- # Whether the result is expected to be a JSON object that should be sent by value.
201
- optional boolean returnByValue
202
- # Whether preview should be generated for the result.
203
- experimental optional boolean generatePreview
204
- # Whether to throw an exception if side effect cannot be ruled out during evaluation.
205
- optional boolean throwOnSideEffect
206
- # Terminate execution after timing out (number of milliseconds).
207
- experimental optional Runtime.TimeDelta timeout
208
- returns
209
- # Object wrapper for the evaluation result.
210
- Runtime.RemoteObject result
211
- # Exception details.
212
- optional Runtime.ExceptionDetails exceptionDetails
213
-
214
- # Returns possible locations for breakpoint. scriptId in start and end range locations should be
215
- # the same.
216
- command getPossibleBreakpoints
217
- parameters
218
- # Start of range to search possible breakpoint locations in.
219
- Location start
220
- # End of range to search possible breakpoint locations in (excluding). When not specified, end
221
- # of scripts is used as end of range.
222
- optional Location end
223
- # Only consider locations which are in the same (non-nested) function as start.
224
- optional boolean restrictToFunction
225
- returns
226
- # List of the possible breakpoint locations.
227
- array of BreakLocation locations
228
-
229
- # Returns source for the script with given id.
230
- command getScriptSource
231
- parameters
232
- # Id of the script to get source for.
233
- Runtime.ScriptId scriptId
234
- returns
235
- # Script source (empty in case of Wasm bytecode).
236
- string scriptSource
237
- # Wasm bytecode.
238
- optional binary bytecode
239
-
240
- # This command is deprecated. Use getScriptSource instead.
241
- deprecated command getWasmBytecode
242
- parameters
243
- # Id of the Wasm script to get source for.
244
- Runtime.ScriptId scriptId
245
- returns
246
- # Script source.
247
- binary bytecode
248
-
249
- # Returns stack trace with given `stackTraceId`.
250
- experimental command getStackTrace
251
- parameters
252
- Runtime.StackTraceId stackTraceId
253
- returns
254
- Runtime.StackTrace stackTrace
255
-
256
- # Stops on the next JavaScript statement.
257
- command pause
258
-
259
- experimental deprecated command pauseOnAsyncCall
260
- parameters
261
- # Debugger will pause when async call with given stack trace is started.
262
- Runtime.StackTraceId parentStackTraceId
263
-
264
- # Removes JavaScript breakpoint.
265
- command removeBreakpoint
266
- parameters
267
- BreakpointId breakpointId
268
-
269
- # Restarts particular call frame from the beginning.
270
- command restartFrame
271
- parameters
272
- # Call frame identifier to evaluate on.
273
- CallFrameId callFrameId
274
- returns
275
- # New stack trace.
276
- array of CallFrame callFrames
277
- # Async stack trace, if any.
278
- optional Runtime.StackTrace asyncStackTrace
279
- # Async stack trace, if any.
280
- experimental optional Runtime.StackTraceId asyncStackTraceId
281
-
282
- # Resumes JavaScript execution.
283
- command resume
284
- parameters
285
- # Set to true to terminate execution upon resuming execution. In contrast
286
- # to Runtime.terminateExecution, this will allows to execute further
287
- # JavaScript (i.e. via evaluation) until execution of the paused code
288
- # is actually resumed, at which point termination is triggered.
289
- # If execution is currently not paused, this parameter has no effect.
290
- optional boolean terminateOnResume
291
-
292
- # Searches for given string in script content.
293
- command searchInContent
294
- parameters
295
- # Id of the script to search in.
296
- Runtime.ScriptId scriptId
297
- # String to search for.
298
- string query
299
- # If true, search is case sensitive.
300
- optional boolean caseSensitive
301
- # If true, treats string parameter as regex.
302
- optional boolean isRegex
303
- returns
304
- # List of search matches.
305
- array of SearchMatch result
306
-
307
- # Enables or disables async call stacks tracking.
308
- command setAsyncCallStackDepth
309
- parameters
310
- # Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async
311
- # call stacks (default).
312
- integer maxDepth
313
-
314
- # Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
315
- # scripts with url matching one of the patterns. VM will try to leave blackboxed script by
316
- # performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
317
- experimental command setBlackboxPatterns
318
- parameters
319
- # Array of regexps that will be used to check script url for blackbox state.
320
- array of string patterns
321
-
322
- # Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
323
- # scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
324
- # Positions array contains positions where blackbox state is changed. First interval isn't
325
- # blackboxed. Array should be sorted.
326
- experimental command setBlackboxedRanges
327
- parameters
328
- # Id of the script.
329
- Runtime.ScriptId scriptId
330
- array of ScriptPosition positions
331
-
332
- # Sets JavaScript breakpoint at a given location.
333
- command setBreakpoint
334
- parameters
335
- # Location to set breakpoint in.
336
- Location location
337
- # Expression to use as a breakpoint condition. When specified, debugger will only stop on the
338
- # breakpoint if this expression evaluates to true.
339
- optional string condition
340
- returns
341
- # Id of the created breakpoint for further reference.
342
- BreakpointId breakpointId
343
- # Location this breakpoint resolved into.
344
- Location actualLocation
345
-
346
- # Sets instrumentation breakpoint.
347
- command setInstrumentationBreakpoint
348
- parameters
349
- # Instrumentation name.
350
- enum instrumentation
351
- beforeScriptExecution
352
- beforeScriptWithSourceMapExecution
353
- returns
354
- # Id of the created breakpoint for further reference.
355
- BreakpointId breakpointId
356
-
357
- # Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
358
- # command is issued, all existing parsed scripts will have breakpoints resolved and returned in
359
- # `locations` property. Further matching script parsing will result in subsequent
360
- # `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
361
- command setBreakpointByUrl
362
- parameters
363
- # Line number to set breakpoint at.
364
- integer lineNumber
365
- # URL of the resources to set breakpoint on.
366
- optional string url
367
- # Regex pattern for the URLs of the resources to set breakpoints on. Either `url` or
368
- # `urlRegex` must be specified.
369
- optional string urlRegex
370
- # Script hash of the resources to set breakpoint on.
371
- optional string scriptHash
372
- # Offset in the line to set breakpoint at.
373
- optional integer columnNumber
374
- # Expression to use as a breakpoint condition. When specified, debugger will only stop on the
375
- # breakpoint if this expression evaluates to true.
376
- optional string condition
377
- returns
378
- # Id of the created breakpoint for further reference.
379
- BreakpointId breakpointId
380
- # List of the locations this breakpoint resolved into upon addition.
381
- array of Location locations
382
-
383
- # Sets JavaScript breakpoint before each call to the given function.
384
- # If another function was created from the same source as a given one,
385
- # calling it will also trigger the breakpoint.
386
- experimental command setBreakpointOnFunctionCall
387
- parameters
388
- # Function object id.
389
- Runtime.RemoteObjectId objectId
390
- # Expression to use as a breakpoint condition. When specified, debugger will
391
- # stop on the breakpoint if this expression evaluates to true.
392
- optional string condition
393
- returns
394
- # Id of the created breakpoint for further reference.
395
- BreakpointId breakpointId
396
-
397
- # Activates / deactivates all breakpoints on the page.
398
- command setBreakpointsActive
399
- parameters
400
- # New value for breakpoints active state.
401
- boolean active
402
-
403
- # Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
404
- # no exceptions. Initial pause on exceptions state is `none`.
405
- command setPauseOnExceptions
406
- parameters
407
- # Pause on exceptions mode.
408
- enum state
409
- none
410
- uncaught
411
- all
412
-
413
- # Changes return value in top frame. Available only at return break position.
414
- experimental command setReturnValue
415
- parameters
416
- # New return value.
417
- Runtime.CallArgument newValue
418
-
419
- # Edits JavaScript source live.
420
- command setScriptSource
421
- parameters
422
- # Id of the script to edit.
423
- Runtime.ScriptId scriptId
424
- # New content of the script.
425
- string scriptSource
426
- # If true the change will not actually be applied. Dry run may be used to get result
427
- # description without actually modifying the code.
428
- optional boolean dryRun
429
- returns
430
- # New stack trace in case editing has happened while VM was stopped.
431
- optional array of CallFrame callFrames
432
- # Whether current call stack was modified after applying the changes.
433
- optional boolean stackChanged
434
- # Async stack trace, if any.
435
- optional Runtime.StackTrace asyncStackTrace
436
- # Async stack trace, if any.
437
- experimental optional Runtime.StackTraceId asyncStackTraceId
438
- # Exception details if any.
439
- optional Runtime.ExceptionDetails exceptionDetails
440
-
441
- # Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
442
- command setSkipAllPauses
443
- parameters
444
- # New value for skip pauses state.
445
- boolean skip
446
-
447
- # Changes value of variable in a callframe. Object-based scopes are not supported and must be
448
- # mutated manually.
449
- command setVariableValue
450
- parameters
451
- # 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch'
452
- # scope types are allowed. Other scopes could be manipulated manually.
453
- integer scopeNumber
454
- # Variable name.
455
- string variableName
456
- # New variable value.
457
- Runtime.CallArgument newValue
458
- # Id of callframe that holds variable.
459
- CallFrameId callFrameId
460
-
461
- # Steps into the function call.
462
- command stepInto
463
- parameters
464
- # Debugger will pause on the execution of the first async task which was scheduled
465
- # before next pause.
466
- experimental optional boolean breakOnAsyncCall
467
- # The skipList specifies location ranges that should be skipped on step into.
468
- experimental optional array of LocationRange skipList
469
-
470
- # Steps out of the function call.
471
- command stepOut
472
-
473
- # Steps over the statement.
474
- command stepOver
475
- parameters
476
- # The skipList specifies location ranges that should be skipped on step over.
477
- experimental optional array of LocationRange skipList
478
-
479
- # Fired when breakpoint is resolved to an actual script and location.
480
- event breakpointResolved
481
- parameters
482
- # Breakpoint unique identifier.
483
- BreakpointId breakpointId
484
- # Actual breakpoint location.
485
- Location location
486
-
487
- # Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
488
- event paused
489
- parameters
490
- # Call stack the virtual machine stopped on.
491
- array of CallFrame callFrames
492
- # Pause reason.
493
- enum reason
494
- ambiguous
495
- assert
496
- CSPViolation
497
- debugCommand
498
- DOM
499
- EventListener
500
- exception
501
- instrumentation
502
- OOM
503
- other
504
- promiseRejection
505
- XHR
506
- # Object containing break-specific auxiliary properties.
507
- optional object data
508
- # Hit breakpoints IDs
509
- optional array of string hitBreakpoints
510
- # Async stack trace, if any.
511
- optional Runtime.StackTrace asyncStackTrace
512
- # Async stack trace, if any.
513
- experimental optional Runtime.StackTraceId asyncStackTraceId
514
- # Never present, will be removed.
515
- experimental deprecated optional Runtime.StackTraceId asyncCallStackTraceId
516
-
517
- # Fired when the virtual machine resumed execution.
518
- event resumed
519
-
520
- # Enum of possible script languages.
521
- type ScriptLanguage extends string
522
- enum
523
- JavaScript
524
- WebAssembly
525
-
526
- # Debug symbols available for a wasm script.
527
- type DebugSymbols extends object
528
- properties
529
- # Type of the debug symbols.
530
- enum type
531
- None
532
- SourceMap
533
- EmbeddedDWARF
534
- ExternalDWARF
535
- # URL of the external symbol source.
536
- optional string externalURL
537
-
538
- # Fired when virtual machine fails to parse the script.
539
- event scriptFailedToParse
540
- parameters
541
- # Identifier of the script parsed.
542
- Runtime.ScriptId scriptId
543
- # URL or name of the script parsed (if any).
544
- string url
545
- # Line offset of the script within the resource with given URL (for script tags).
546
- integer startLine
547
- # Column offset of the script within the resource with given URL.
548
- integer startColumn
549
- # Last line of the script.
550
- integer endLine
551
- # Length of the last line of the script.
552
- integer endColumn
553
- # Specifies script creation context.
554
- Runtime.ExecutionContextId executionContextId
555
- # Content hash of the script.
556
- string hash
557
- # Embedder-specific auxiliary data.
558
- optional object executionContextAuxData
559
- # URL of source map associated with script (if any).
560
- optional string sourceMapURL
561
- # True, if this script has sourceURL.
562
- optional boolean hasSourceURL
563
- # True, if this script is ES6 module.
564
- optional boolean isModule
565
- # This script length.
566
- optional integer length
567
- # JavaScript top stack frame of where the script parsed event was triggered if available.
568
- experimental optional Runtime.StackTrace stackTrace
569
- # If the scriptLanguage is WebAssembly, the code section offset in the module.
570
- experimental optional integer codeOffset
571
- # The language of the script.
572
- experimental optional Debugger.ScriptLanguage scriptLanguage
573
- # The name the embedder supplied for this script.
574
- experimental optional string embedderName
575
-
576
- # Fired when virtual machine parses script. This event is also fired for all known and uncollected
577
- # scripts upon enabling debugger.
578
- event scriptParsed
579
- parameters
580
- # Identifier of the script parsed.
581
- Runtime.ScriptId scriptId
582
- # URL or name of the script parsed (if any).
583
- string url
584
- # Line offset of the script within the resource with given URL (for script tags).
585
- integer startLine
586
- # Column offset of the script within the resource with given URL.
587
- integer startColumn
588
- # Last line of the script.
589
- integer endLine
590
- # Length of the last line of the script.
591
- integer endColumn
592
- # Specifies script creation context.
593
- Runtime.ExecutionContextId executionContextId
594
- # Content hash of the script.
595
- string hash
596
- # Embedder-specific auxiliary data.
597
- optional object executionContextAuxData
598
- # True, if this script is generated as a result of the live edit operation.
599
- experimental optional boolean isLiveEdit
600
- # URL of source map associated with script (if any).
601
- optional string sourceMapURL
602
- # True, if this script has sourceURL.
603
- optional boolean hasSourceURL
604
- # True, if this script is ES6 module.
605
- optional boolean isModule
606
- # This script length.
607
- optional integer length
608
- # JavaScript top stack frame of where the script parsed event was triggered if available.
609
- experimental optional Runtime.StackTrace stackTrace
610
- # If the scriptLanguage is WebAssembly, the code section offset in the module.
611
- experimental optional integer codeOffset
612
- # The language of the script.
613
- experimental optional Debugger.ScriptLanguage scriptLanguage
614
- # If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
615
- experimental optional Debugger.DebugSymbols debugSymbols
616
- # The name the embedder supplied for this script.
617
- experimental optional string embedderName
618
-
619
- experimental domain HeapProfiler
620
- depends on Runtime
621
-
622
- # Heap snapshot object id.
623
- type HeapSnapshotObjectId extends string
624
-
625
- # Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
626
- type SamplingHeapProfileNode extends object
627
- properties
628
- # Function location.
629
- Runtime.CallFrame callFrame
630
- # Allocations size in bytes for the node excluding children.
631
- number selfSize
632
- # Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
633
- integer id
634
- # Child nodes.
635
- array of SamplingHeapProfileNode children
636
-
637
- # A single sample from a sampling profile.
638
- type SamplingHeapProfileSample extends object
639
- properties
640
- # Allocation size in bytes attributed to the sample.
641
- number size
642
- # Id of the corresponding profile tree node.
643
- integer nodeId
644
- # Time-ordered sample ordinal number. It is unique across all profiles retrieved
645
- # between startSampling and stopSampling.
646
- number ordinal
647
-
648
- # Sampling profile.
649
- type SamplingHeapProfile extends object
650
- properties
651
- SamplingHeapProfileNode head
652
- array of SamplingHeapProfileSample samples
653
-
654
- # Enables console to refer to the node with given id via $x (see Command Line API for more details
655
- # $x functions).
656
- command addInspectedHeapObject
657
- parameters
658
- # Heap snapshot object id to be accessible by means of $x command line API.
659
- HeapSnapshotObjectId heapObjectId
660
-
661
- command collectGarbage
662
-
663
- command disable
664
-
665
- command enable
666
-
667
- command getHeapObjectId
668
- parameters
669
- # Identifier of the object to get heap object id for.
670
- Runtime.RemoteObjectId objectId
671
- returns
672
- # Id of the heap snapshot object corresponding to the passed remote object id.
673
- HeapSnapshotObjectId heapSnapshotObjectId
674
-
675
- command getObjectByHeapObjectId
676
- parameters
677
- HeapSnapshotObjectId objectId
678
- # Symbolic group name that can be used to release multiple objects.
679
- optional string objectGroup
680
- returns
681
- # Evaluation result.
682
- Runtime.RemoteObject result
683
-
684
- command getSamplingProfile
685
- returns
686
- # Return the sampling profile being collected.
687
- SamplingHeapProfile profile
688
-
689
- command startSampling
690
- parameters
691
- # Average sample interval in bytes. Poisson distribution is used for the intervals. The
692
- # default value is 32768 bytes.
693
- optional number samplingInterval
694
-
695
- command startTrackingHeapObjects
696
- parameters
697
- optional boolean trackAllocations
698
-
699
- command stopSampling
700
- returns
701
- # Recorded sampling heap profile.
702
- SamplingHeapProfile profile
703
-
704
- command stopTrackingHeapObjects
705
- parameters
706
- # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken
707
- # when the tracking is stopped.
708
- optional boolean reportProgress
709
- optional boolean treatGlobalObjectsAsRoots
710
-
711
- command takeHeapSnapshot
712
- parameters
713
- # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
714
- optional boolean reportProgress
715
- # If true, a raw snapshot without artifical roots will be generated
716
- optional boolean treatGlobalObjectsAsRoots
717
-
718
- event addHeapSnapshotChunk
719
- parameters
720
- string chunk
721
-
722
- # If heap objects tracking has been started then backend may send update for one or more fragments
723
- event heapStatsUpdate
724
- parameters
725
- # An array of triplets. Each triplet describes a fragment. The first integer is the fragment
726
- # index, the second integer is a total count of objects for the fragment, the third integer is
727
- # a total size of the objects for the fragment.
728
- array of integer statsUpdate
729
-
730
- # If heap objects tracking has been started then backend regularly sends a current value for last
731
- # seen object id and corresponding timestamp. If the were changes in the heap since last event
732
- # then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
733
- event lastSeenObjectId
734
- parameters
735
- integer lastSeenObjectId
736
- number timestamp
737
-
738
- event reportHeapSnapshotProgress
739
- parameters
740
- integer done
741
- integer total
742
- optional boolean finished
743
-
744
- event resetProfiles
745
-
746
- domain Profiler
747
- depends on Runtime
748
- depends on Debugger
749
-
750
- # Profile node. Holds callsite information, execution statistics and child nodes.
751
- type ProfileNode extends object
752
- properties
753
- # Unique id of the node.
754
- integer id
755
- # Function location.
756
- Runtime.CallFrame callFrame
757
- # Number of samples where this node was on top of the call stack.
758
- optional integer hitCount
759
- # Child node ids.
760
- optional array of integer children
761
- # The reason of being not optimized. The function may be deoptimized or marked as don't
762
- # optimize.
763
- optional string deoptReason
764
- # An array of source position ticks.
765
- optional array of PositionTickInfo positionTicks
766
-
767
- # Profile.
768
- type Profile extends object
769
- properties
770
- # The list of profile nodes. First item is the root node.
771
- array of ProfileNode nodes
772
- # Profiling start timestamp in microseconds.
773
- number startTime
774
- # Profiling end timestamp in microseconds.
775
- number endTime
776
- # Ids of samples top nodes.
777
- optional array of integer samples
778
- # Time intervals between adjacent samples in microseconds. The first delta is relative to the
779
- # profile startTime.
780
- optional array of integer timeDeltas
781
-
782
- # Specifies a number of samples attributed to a certain source position.
783
- type PositionTickInfo extends object
784
- properties
785
- # Source line number (1-based).
786
- integer line
787
- # Number of samples attributed to the source line.
788
- integer ticks
789
-
790
- # Coverage data for a source range.
791
- type CoverageRange extends object
792
- properties
793
- # JavaScript script source offset for the range start.
794
- integer startOffset
795
- # JavaScript script source offset for the range end.
796
- integer endOffset
797
- # Collected execution count of the source range.
798
- integer count
799
-
800
- # Coverage data for a JavaScript function.
801
- type FunctionCoverage extends object
802
- properties
803
- # JavaScript function name.
804
- string functionName
805
- # Source ranges inside the function with coverage data.
806
- array of CoverageRange ranges
807
- # Whether coverage data for this function has block granularity.
808
- boolean isBlockCoverage
809
-
810
- # Coverage data for a JavaScript script.
811
- type ScriptCoverage extends object
812
- properties
813
- # JavaScript script id.
814
- Runtime.ScriptId scriptId
815
- # JavaScript script name or url.
816
- string url
817
- # Functions contained in the script that has coverage data.
818
- array of FunctionCoverage functions
819
-
820
- # Describes a type collected during runtime.
821
- experimental type TypeObject extends object
822
- properties
823
- # Name of a type collected with type profiling.
824
- string name
825
-
826
- # Source offset and types for a parameter or return value.
827
- experimental type TypeProfileEntry extends object
828
- properties
829
- # Source offset of the parameter or end of function for return values.
830
- integer offset
831
- # The types for this parameter or return value.
832
- array of TypeObject types
833
-
834
- # Type profile data collected during runtime for a JavaScript script.
835
- experimental type ScriptTypeProfile extends object
836
- properties
837
- # JavaScript script id.
838
- Runtime.ScriptId scriptId
839
- # JavaScript script name or url.
840
- string url
841
- # Type profile entries for parameters and return values of the functions in the script.
842
- array of TypeProfileEntry entries
843
-
844
- # Collected counter information.
845
- experimental type CounterInfo extends object
846
- properties
847
- # Counter name.
848
- string name
849
- # Counter value.
850
- integer value
851
-
852
- # Runtime call counter information.
853
- experimental type RuntimeCallCounterInfo extends object
854
- properties
855
- # Counter name.
856
- string name
857
- # Counter value.
858
- number value
859
- # Counter time in seconds.
860
- number time
861
-
862
- command disable
863
-
864
- command enable
865
-
866
- # Collect coverage data for the current isolate. The coverage data may be incomplete due to
867
- # garbage collection.
868
- command getBestEffortCoverage
869
- returns
870
- # Coverage data for the current isolate.
871
- array of ScriptCoverage result
872
-
873
- # Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
874
- command setSamplingInterval
875
- parameters
876
- # New sampling interval in microseconds.
877
- integer interval
878
-
879
- command start
880
-
881
- # Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
882
- # coverage may be incomplete. Enabling prevents running optimized code and resets execution
883
- # counters.
884
- command startPreciseCoverage
885
- parameters
886
- # Collect accurate call counts beyond simple 'covered' or 'not covered'.
887
- optional boolean callCount
888
- # Collect block-based coverage.
889
- optional boolean detailed
890
- # Allow the backend to send updates on its own initiative
891
- optional boolean allowTriggeredUpdates
892
- returns
893
- # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
894
- number timestamp
895
-
896
- # Enable type profile.
897
- experimental command startTypeProfile
898
-
899
- command stop
900
- returns
901
- # Recorded profile.
902
- Profile profile
903
-
904
- # Disable precise code coverage. Disabling releases unnecessary execution count records and allows
905
- # executing optimized code.
906
- command stopPreciseCoverage
907
-
908
- # Disable type profile. Disabling releases type profile data collected so far.
909
- experimental command stopTypeProfile
910
-
911
- # Collect coverage data for the current isolate, and resets execution counters. Precise code
912
- # coverage needs to have started.
913
- command takePreciseCoverage
914
- returns
915
- # Coverage data for the current isolate.
916
- array of ScriptCoverage result
917
- # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
918
- number timestamp
919
-
920
- # Collect type profile.
921
- experimental command takeTypeProfile
922
- returns
923
- # Type profile for all scripts since startTypeProfile() was turned on.
924
- array of ScriptTypeProfile result
925
-
926
- # Enable counters collection.
927
- experimental command enableCounters
928
-
929
- # Disable counters collection.
930
- experimental command disableCounters
931
-
932
- # Retrieve counters.
933
- experimental command getCounters
934
- returns
935
- # Collected counters information.
936
- array of CounterInfo result
937
-
938
- # Enable run time call stats collection.
939
- experimental command enableRuntimeCallStats
940
-
941
- # Disable run time call stats collection.
942
- experimental command disableRuntimeCallStats
943
-
944
- # Retrieve run time call stats.
945
- experimental command getRuntimeCallStats
946
- returns
947
- # Collected runtime call counter information.
948
- array of RuntimeCallCounterInfo result
949
-
950
- event consoleProfileFinished
951
- parameters
952
- string id
953
- # Location of console.profileEnd().
954
- Debugger.Location location
955
- Profile profile
956
- # Profile title passed as an argument to console.profile().
957
- optional string title
958
-
959
- # Sent when new profile recording is started using console.profile() call.
960
- event consoleProfileStarted
961
- parameters
962
- string id
963
- # Location of console.profile().
964
- Debugger.Location location
965
- # Profile title passed as an argument to console.profile().
966
- optional string title
967
-
968
- # Reports coverage delta since the last poll (either from an event like this, or from
969
- # `takePreciseCoverage` for the current isolate. May only be sent if precise code
970
- # coverage has been started. This event can be trigged by the embedder to, for example,
971
- # trigger collection of coverage data immediatelly at a certain point in time.
972
- experimental event preciseCoverageDeltaUpdate
973
- parameters
974
- # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
975
- number timestamp
976
- # Identifier for distinguishing coverage events.
977
- string occassion
978
- # Coverage data for the current isolate.
979
- array of ScriptCoverage result
980
-
981
- # Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects.
982
- # Evaluation results are returned as mirror object that expose object type, string representation
983
- # and unique identifier that can be used for further object reference. Original objects are
984
- # maintained in memory unless they are either explicitly released or are released along with the
985
- # other objects in their object group.
986
- domain Runtime
987
-
988
- # Unique script identifier.
989
- type ScriptId extends string
990
-
991
- # Unique object identifier.
992
- type RemoteObjectId extends string
993
-
994
- # Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
995
- # `-Infinity`, and bigint literals.
996
- type UnserializableValue extends string
997
-
998
- # Mirror object referencing original JavaScript object.
999
- type RemoteObject extends object
1000
- properties
1001
- # Object type.
1002
- enum type
1003
- object
1004
- function
1005
- undefined
1006
- string
1007
- number
1008
- boolean
1009
- symbol
1010
- bigint
1011
- # Object subtype hint. Specified for `object` type values only.
1012
- # NOTE: If you change anything here, make sure to also update
1013
- # `subtype` in `ObjectPreview` and `PropertyPreview` below.
1014
- optional enum subtype
1015
- array
1016
- null
1017
- node
1018
- regexp
1019
- date
1020
- map
1021
- set
1022
- weakmap
1023
- weakset
1024
- iterator
1025
- generator
1026
- error
1027
- proxy
1028
- promise
1029
- typedarray
1030
- arraybuffer
1031
- dataview
1032
- webassemblymemory
1033
- wasmvalue
1034
- # Object class (constructor) name. Specified for `object` type values only.
1035
- optional string className
1036
- # Remote object value in case of primitive values or JSON values (if it was requested).
1037
- optional any value
1038
- # Primitive value which can not be JSON-stringified does not have `value`, but gets this
1039
- # property.
1040
- optional UnserializableValue unserializableValue
1041
- # String representation of the object.
1042
- optional string description
1043
- # Unique object identifier (for non-primitive values).
1044
- optional RemoteObjectId objectId
1045
- # Preview containing abbreviated property values. Specified for `object` type values only.
1046
- experimental optional ObjectPreview preview
1047
- experimental optional CustomPreview customPreview
1048
-
1049
- experimental type CustomPreview extends object
1050
- properties
1051
- # The JSON-stringified result of formatter.header(object, config) call.
1052
- # It contains json ML array that represents RemoteObject.
1053
- string header
1054
- # If formatter returns true as a result of formatter.hasBody call then bodyGetterId will
1055
- # contain RemoteObjectId for the function that returns result of formatter.body(object, config) call.
1056
- # The result value is json ML array.
1057
- optional RemoteObjectId bodyGetterId
1058
-
1059
- # Object containing abbreviated remote object value.
1060
- experimental type ObjectPreview extends object
1061
- properties
1062
- # Object type.
1063
- enum type
1064
- object
1065
- function
1066
- undefined
1067
- string
1068
- number
1069
- boolean
1070
- symbol
1071
- bigint
1072
- # Object subtype hint. Specified for `object` type values only.
1073
- optional enum subtype
1074
- array
1075
- null
1076
- node
1077
- regexp
1078
- date
1079
- map
1080
- set
1081
- weakmap
1082
- weakset
1083
- iterator
1084
- generator
1085
- error
1086
- proxy
1087
- promise
1088
- typedarray
1089
- arraybuffer
1090
- dataview
1091
- webassemblymemory
1092
- wasmvalue
1093
- # String representation of the object.
1094
- optional string description
1095
- # True iff some of the properties or entries of the original object did not fit.
1096
- boolean overflow
1097
- # List of the properties.
1098
- array of PropertyPreview properties
1099
- # List of the entries. Specified for `map` and `set` subtype values only.
1100
- optional array of EntryPreview entries
1101
-
1102
- experimental type PropertyPreview extends object
1103
- properties
1104
- # Property name.
1105
- string name
1106
- # Object type. Accessor means that the property itself is an accessor property.
1107
- enum type
1108
- object
1109
- function
1110
- undefined
1111
- string
1112
- number
1113
- boolean
1114
- symbol
1115
- accessor
1116
- bigint
1117
- # User-friendly property value string.
1118
- optional string value
1119
- # Nested value preview.
1120
- optional ObjectPreview valuePreview
1121
- # Object subtype hint. Specified for `object` type values only.
1122
- optional enum subtype
1123
- array
1124
- null
1125
- node
1126
- regexp
1127
- date
1128
- map
1129
- set
1130
- weakmap
1131
- weakset
1132
- iterator
1133
- generator
1134
- error
1135
- proxy
1136
- promise
1137
- typedarray
1138
- arraybuffer
1139
- dataview
1140
- webassemblymemory
1141
- wasmvalue
1142
-
1143
- experimental type EntryPreview extends object
1144
- properties
1145
- # Preview of the key. Specified for map-like collection entries.
1146
- optional ObjectPreview key
1147
- # Preview of the value.
1148
- ObjectPreview value
1149
-
1150
- # Object property descriptor.
1151
- type PropertyDescriptor extends object
1152
- properties
1153
- # Property name or symbol description.
1154
- string name
1155
- # The value associated with the property.
1156
- optional RemoteObject value
1157
- # True if the value associated with the property may be changed (data descriptors only).
1158
- optional boolean writable
1159
- # A function which serves as a getter for the property, or `undefined` if there is no getter
1160
- # (accessor descriptors only).
1161
- optional RemoteObject get
1162
- # A function which serves as a setter for the property, or `undefined` if there is no setter
1163
- # (accessor descriptors only).
1164
- optional RemoteObject set
1165
- # True if the type of this property descriptor may be changed and if the property may be
1166
- # deleted from the corresponding object.
1167
- boolean configurable
1168
- # True if this property shows up during enumeration of the properties on the corresponding
1169
- # object.
1170
- boolean enumerable
1171
- # True if the result was thrown during the evaluation.
1172
- optional boolean wasThrown
1173
- # True if the property is owned for the object.
1174
- optional boolean isOwn
1175
- # Property symbol object, if the property is of the `symbol` type.
1176
- optional RemoteObject symbol
1177
-
1178
- # Object internal property descriptor. This property isn't normally visible in JavaScript code.
1179
- type InternalPropertyDescriptor extends object
1180
- properties
1181
- # Conventional property name.
1182
- string name
1183
- # The value associated with the property.
1184
- optional RemoteObject value
1185
-
1186
- # Object private field descriptor.
1187
- experimental type PrivatePropertyDescriptor extends object
1188
- properties
1189
- # Private property name.
1190
- string name
1191
- # The value associated with the private property.
1192
- optional RemoteObject value
1193
- # A function which serves as a getter for the private property,
1194
- # or `undefined` if there is no getter (accessor descriptors only).
1195
- optional RemoteObject get
1196
- # A function which serves as a setter for the private property,
1197
- # or `undefined` if there is no setter (accessor descriptors only).
1198
- optional RemoteObject set
1199
-
1200
- # Represents function call argument. Either remote object id `objectId`, primitive `value`,
1201
- # unserializable primitive value or neither of (for undefined) them should be specified.
1202
- type CallArgument extends object
1203
- properties
1204
- # Primitive value or serializable javascript object.
1205
- optional any value
1206
- # Primitive value which can not be JSON-stringified.
1207
- optional UnserializableValue unserializableValue
1208
- # Remote object handle.
1209
- optional RemoteObjectId objectId
1210
-
1211
- # Id of an execution context.
1212
- type ExecutionContextId extends integer
1213
-
1214
- # Description of an isolated world.
1215
- type ExecutionContextDescription extends object
1216
- properties
1217
- # Unique id of the execution context. It can be used to specify in which execution context
1218
- # script evaluation should be performed.
1219
- ExecutionContextId id
1220
- # Execution context origin.
1221
- string origin
1222
- # Human readable name describing given context.
1223
- string name
1224
- # A system-unique execution context identifier. Unlike the id, this is unique accross
1225
- # multiple processes, so can be reliably used to identify specific context while backend
1226
- # performs a cross-process navigation.
1227
- experimental string uniqueId
1228
- # Embedder-specific auxiliary data.
1229
- optional object auxData
1230
-
1231
- # Detailed information about exception (or error) that was thrown during script compilation or
1232
- # execution.
1233
- type ExceptionDetails extends object
1234
- properties
1235
- # Exception id.
1236
- integer exceptionId
1237
- # Exception text, which should be used together with exception object when available.
1238
- string text
1239
- # Line number of the exception location (0-based).
1240
- integer lineNumber
1241
- # Column number of the exception location (0-based).
1242
- integer columnNumber
1243
- # Script ID of the exception location.
1244
- optional ScriptId scriptId
1245
- # URL of the exception location, to be used when the script was not reported.
1246
- optional string url
1247
- # JavaScript stack trace if available.
1248
- optional StackTrace stackTrace
1249
- # Exception object if available.
1250
- optional RemoteObject exception
1251
- # Identifier of the context where exception happened.
1252
- optional ExecutionContextId executionContextId
1253
-
1254
- # Number of milliseconds since epoch.
1255
- type Timestamp extends number
1256
-
1257
- # Number of milliseconds.
1258
- type TimeDelta extends number
1259
-
1260
- # Stack entry for runtime errors and assertions.
1261
- type CallFrame extends object
1262
- properties
1263
- # JavaScript function name.
1264
- string functionName
1265
- # JavaScript script id.
1266
- ScriptId scriptId
1267
- # JavaScript script name or url.
1268
- string url
1269
- # JavaScript script line number (0-based).
1270
- integer lineNumber
1271
- # JavaScript script column number (0-based).
1272
- integer columnNumber
1273
-
1274
- # Call frames for assertions or error messages.
1275
- type StackTrace extends object
1276
- properties
1277
- # String label of this stack trace. For async traces this may be a name of the function that
1278
- # initiated the async call.
1279
- optional string description
1280
- # JavaScript function name.
1281
- array of CallFrame callFrames
1282
- # Asynchronous JavaScript stack trace that preceded this stack, if available.
1283
- optional StackTrace parent
1284
- # Asynchronous JavaScript stack trace that preceded this stack, if available.
1285
- experimental optional StackTraceId parentId
1286
-
1287
- # Unique identifier of current debugger.
1288
- experimental type UniqueDebuggerId extends string
1289
-
1290
- # If `debuggerId` is set stack trace comes from another debugger and can be resolved there. This
1291
- # allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.paused` for usages.
1292
- experimental type StackTraceId extends object
1293
- properties
1294
- string id
1295
- optional UniqueDebuggerId debuggerId
1296
-
1297
- # Add handler to promise with given promise object id.
1298
- command awaitPromise
1299
- parameters
1300
- # Identifier of the promise.
1301
- RemoteObjectId promiseObjectId
1302
- # Whether the result is expected to be a JSON object that should be sent by value.
1303
- optional boolean returnByValue
1304
- # Whether preview should be generated for the result.
1305
- optional boolean generatePreview
1306
- returns
1307
- # Promise result. Will contain rejected value if promise was rejected.
1308
- RemoteObject result
1309
- # Exception details if stack strace is available.
1310
- optional ExceptionDetails exceptionDetails
1311
-
1312
- # Calls function with given declaration on the given object. Object group of the result is
1313
- # inherited from the target object.
1314
- command callFunctionOn
1315
- parameters
1316
- # Declaration of the function to call.
1317
- string functionDeclaration
1318
- # Identifier of the object to call function on. Either objectId or executionContextId should
1319
- # be specified.
1320
- optional RemoteObjectId objectId
1321
- # Call arguments. All call arguments must belong to the same JavaScript world as the target
1322
- # object.
1323
- optional array of CallArgument arguments
1324
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
1325
- # execution. Overrides `setPauseOnException` state.
1326
- optional boolean silent
1327
- # Whether the result is expected to be a JSON object which should be sent by value.
1328
- optional boolean returnByValue
1329
- # Whether preview should be generated for the result.
1330
- experimental optional boolean generatePreview
1331
- # Whether execution should be treated as initiated by user in the UI.
1332
- optional boolean userGesture
1333
- # Whether execution should `await` for resulting value and return once awaited promise is
1334
- # resolved.
1335
- optional boolean awaitPromise
1336
- # Specifies execution context which global object will be used to call function on. Either
1337
- # executionContextId or objectId should be specified.
1338
- optional ExecutionContextId executionContextId
1339
- # Symbolic group name that can be used to release multiple objects. If objectGroup is not
1340
- # specified and objectId is, objectGroup will be inherited from object.
1341
- optional string objectGroup
1342
- returns
1343
- # Call result.
1344
- RemoteObject result
1345
- # Exception details.
1346
- optional ExceptionDetails exceptionDetails
1347
-
1348
- # Compiles expression.
1349
- command compileScript
1350
- parameters
1351
- # Expression to compile.
1352
- string expression
1353
- # Source url to be set for the script.
1354
- string sourceURL
1355
- # Specifies whether the compiled script should be persisted.
1356
- boolean persistScript
1357
- # Specifies in which execution context to perform script run. If the parameter is omitted the
1358
- # evaluation will be performed in the context of the inspected page.
1359
- optional ExecutionContextId executionContextId
1360
- returns
1361
- # Id of the script.
1362
- optional ScriptId scriptId
1363
- # Exception details.
1364
- optional ExceptionDetails exceptionDetails
1365
-
1366
- # Disables reporting of execution contexts creation.
1367
- command disable
1368
-
1369
- # Discards collected exceptions and console API calls.
1370
- command discardConsoleEntries
1371
-
1372
- # Enables reporting of execution contexts creation by means of `executionContextCreated` event.
1373
- # When the reporting gets enabled the event will be sent immediately for each existing execution
1374
- # context.
1375
- command enable
1376
-
1377
- # Evaluates expression on global object.
1378
- command evaluate
1379
- parameters
1380
- # Expression to evaluate.
1381
- string expression
1382
- # Symbolic group name that can be used to release multiple objects.
1383
- optional string objectGroup
1384
- # Determines whether Command Line API should be available during the evaluation.
1385
- optional boolean includeCommandLineAPI
1386
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
1387
- # execution. Overrides `setPauseOnException` state.
1388
- optional boolean silent
1389
- # Specifies in which execution context to perform evaluation. If the parameter is omitted the
1390
- # evaluation will be performed in the context of the inspected page.
1391
- # This is mutually exclusive with `uniqueContextId`, which offers an
1392
- # alternative way to identify the execution context that is more reliable
1393
- # in a multi-process environment.
1394
- optional ExecutionContextId contextId
1395
- # Whether the result is expected to be a JSON object that should be sent by value.
1396
- optional boolean returnByValue
1397
- # Whether preview should be generated for the result.
1398
- experimental optional boolean generatePreview
1399
- # Whether execution should be treated as initiated by user in the UI.
1400
- optional boolean userGesture
1401
- # Whether execution should `await` for resulting value and return once awaited promise is
1402
- # resolved.
1403
- optional boolean awaitPromise
1404
- # Whether to throw an exception if side effect cannot be ruled out during evaluation.
1405
- # This implies `disableBreaks` below.
1406
- experimental optional boolean throwOnSideEffect
1407
- # Terminate execution after timing out (number of milliseconds).
1408
- experimental optional TimeDelta timeout
1409
- # Disable breakpoints during execution.
1410
- experimental optional boolean disableBreaks
1411
- # Setting this flag to true enables `let` re-declaration and top-level `await`.
1412
- # Note that `let` variables can only be re-declared if they originate from
1413
- # `replMode` themselves.
1414
- experimental optional boolean replMode
1415
- # The Content Security Policy (CSP) for the target might block 'unsafe-eval'
1416
- # which includes eval(), Function(), setTimeout() and setInterval()
1417
- # when called with non-callable arguments. This flag bypasses CSP for this
1418
- # evaluation and allows unsafe-eval. Defaults to true.
1419
- experimental optional boolean allowUnsafeEvalBlockedByCSP
1420
- # An alternative way to specify the execution context to evaluate in.
1421
- # Compared to contextId that may be reused accross processes, this is guaranteed to be
1422
- # system-unique, so it can be used to prevent accidental evaluation of the expression
1423
- # in context different than intended (e.g. as a result of navigation accross process
1424
- # boundaries).
1425
- # This is mutually exclusive with `contextId`.
1426
- experimental optional string uniqueContextId
1427
- returns
1428
- # Evaluation result.
1429
- RemoteObject result
1430
- # Exception details.
1431
- optional ExceptionDetails exceptionDetails
1432
-
1433
- # Returns the isolate id.
1434
- experimental command getIsolateId
1435
- returns
1436
- # The isolate id.
1437
- string id
1438
-
1439
- # Returns the JavaScript heap usage.
1440
- # It is the total usage of the corresponding isolate not scoped to a particular Runtime.
1441
- experimental command getHeapUsage
1442
- returns
1443
- # Used heap size in bytes.
1444
- number usedSize
1445
- # Allocated heap size in bytes.
1446
- number totalSize
1447
-
1448
- # Returns properties of a given object. Object group of the result is inherited from the target
1449
- # object.
1450
- command getProperties
1451
- parameters
1452
- # Identifier of the object to return properties for.
1453
- RemoteObjectId objectId
1454
- # If true, returns properties belonging only to the element itself, not to its prototype
1455
- # chain.
1456
- optional boolean ownProperties
1457
- # If true, returns accessor properties (with getter/setter) only; internal properties are not
1458
- # returned either.
1459
- experimental optional boolean accessorPropertiesOnly
1460
- # Whether preview should be generated for the results.
1461
- experimental optional boolean generatePreview
1462
- returns
1463
- # Object properties.
1464
- array of PropertyDescriptor result
1465
- # Internal object properties (only of the element itself).
1466
- optional array of InternalPropertyDescriptor internalProperties
1467
- # Object private properties.
1468
- experimental optional array of PrivatePropertyDescriptor privateProperties
1469
- # Exception details.
1470
- optional ExceptionDetails exceptionDetails
1471
-
1472
- # Returns all let, const and class variables from global scope.
1473
- command globalLexicalScopeNames
1474
- parameters
1475
- # Specifies in which execution context to lookup global scope variables.
1476
- optional ExecutionContextId executionContextId
1477
- returns
1478
- array of string names
1479
-
1480
- command queryObjects
1481
- parameters
1482
- # Identifier of the prototype to return objects for.
1483
- RemoteObjectId prototypeObjectId
1484
- # Symbolic group name that can be used to release the results.
1485
- optional string objectGroup
1486
- returns
1487
- # Array with objects.
1488
- RemoteObject objects
1489
-
1490
- # Releases remote object with given id.
1491
- command releaseObject
1492
- parameters
1493
- # Identifier of the object to release.
1494
- RemoteObjectId objectId
1495
-
1496
- # Releases all remote objects that belong to a given group.
1497
- command releaseObjectGroup
1498
- parameters
1499
- # Symbolic object group name.
1500
- string objectGroup
1501
-
1502
- # Tells inspected instance to run if it was waiting for debugger to attach.
1503
- command runIfWaitingForDebugger
1504
-
1505
- # Runs script with given id in a given context.
1506
- command runScript
1507
- parameters
1508
- # Id of the script to run.
1509
- ScriptId scriptId
1510
- # Specifies in which execution context to perform script run. If the parameter is omitted the
1511
- # evaluation will be performed in the context of the inspected page.
1512
- optional ExecutionContextId executionContextId
1513
- # Symbolic group name that can be used to release multiple objects.
1514
- optional string objectGroup
1515
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
1516
- # execution. Overrides `setPauseOnException` state.
1517
- optional boolean silent
1518
- # Determines whether Command Line API should be available during the evaluation.
1519
- optional boolean includeCommandLineAPI
1520
- # Whether the result is expected to be a JSON object which should be sent by value.
1521
- optional boolean returnByValue
1522
- # Whether preview should be generated for the result.
1523
- optional boolean generatePreview
1524
- # Whether execution should `await` for resulting value and return once awaited promise is
1525
- # resolved.
1526
- optional boolean awaitPromise
1527
- returns
1528
- # Run result.
1529
- RemoteObject result
1530
- # Exception details.
1531
- optional ExceptionDetails exceptionDetails
1532
-
1533
- # Enables or disables async call stacks tracking.
1534
- command setAsyncCallStackDepth
1535
- redirect Debugger
1536
- parameters
1537
- # Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async
1538
- # call stacks (default).
1539
- integer maxDepth
1540
-
1541
- experimental command setCustomObjectFormatterEnabled
1542
- parameters
1543
- boolean enabled
1544
-
1545
- experimental command setMaxCallStackSizeToCapture
1546
- parameters
1547
- integer size
1548
-
1549
- # Terminate current or next JavaScript execution.
1550
- # Will cancel the termination when the outer-most script execution ends.
1551
- experimental command terminateExecution
1552
-
1553
- # If executionContextId is empty, adds binding with the given name on the
1554
- # global objects of all inspected contexts, including those created later,
1555
- # bindings survive reloads.
1556
- # Binding function takes exactly one argument, this argument should be string,
1557
- # in case of any other input, function throws an exception.
1558
- # Each binding function call produces Runtime.bindingCalled notification.
1559
- experimental command addBinding
1560
- parameters
1561
- string name
1562
- # If specified, the binding would only be exposed to the specified
1563
- # execution context. If omitted and `executionContextName` is not set,
1564
- # the binding is exposed to all execution contexts of the target.
1565
- # This parameter is mutually exclusive with `executionContextName`.
1566
- optional ExecutionContextId executionContextId
1567
- # If specified, the binding is exposed to the executionContext with
1568
- # matching name, even for contexts created after the binding is added.
1569
- # See also `ExecutionContext.name` and `worldName` parameter to
1570
- # `Page.addScriptToEvaluateOnNewDocument`.
1571
- # This parameter is mutually exclusive with `executionContextId`.
1572
- experimental optional string executionContextName
1573
-
1574
- # This method does not remove binding function from global object but
1575
- # unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1576
- experimental command removeBinding
1577
- parameters
1578
- string name
1579
-
1580
- # Notification is issued every time when binding is called.
1581
- experimental event bindingCalled
1582
- parameters
1583
- string name
1584
- string payload
1585
- # Identifier of the context where the call was made.
1586
- ExecutionContextId executionContextId
1587
-
1588
- # Issued when console API was called.
1589
- event consoleAPICalled
1590
- parameters
1591
- # Type of the call.
1592
- enum type
1593
- log
1594
- debug
1595
- info
1596
- error
1597
- warning
1598
- dir
1599
- dirxml
1600
- table
1601
- trace
1602
- clear
1603
- startGroup
1604
- startGroupCollapsed
1605
- endGroup
1606
- assert
1607
- profile
1608
- profileEnd
1609
- count
1610
- timeEnd
1611
- # Call arguments.
1612
- array of RemoteObject args
1613
- # Identifier of the context where the call was made.
1614
- ExecutionContextId executionContextId
1615
- # Call timestamp.
1616
- Timestamp timestamp
1617
- # Stack trace captured when the call was made. The async stack chain is automatically reported for
1618
- # the following call types: `assert`, `error`, `trace`, `warning`. For other types the async call
1619
- # chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field.
1620
- optional StackTrace stackTrace
1621
- # Console context descriptor for calls on non-default console context (not console.*):
1622
- # 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call
1623
- # on named context.
1624
- experimental optional string context
1625
-
1626
- # Issued when unhandled exception was revoked.
1627
- event exceptionRevoked
1628
- parameters
1629
- # Reason describing why exception was revoked.
1630
- string reason
1631
- # The id of revoked exception, as reported in `exceptionThrown`.
1632
- integer exceptionId
1633
-
1634
- # Issued when exception was thrown and unhandled.
1635
- event exceptionThrown
1636
- parameters
1637
- # Timestamp of the exception.
1638
- Timestamp timestamp
1639
- ExceptionDetails exceptionDetails
1640
-
1641
- # Issued when new execution context is created.
1642
- event executionContextCreated
1643
- parameters
1644
- # A newly created execution context.
1645
- ExecutionContextDescription context
1646
-
1647
- # Issued when execution context is destroyed.
1648
- event executionContextDestroyed
1649
- parameters
1650
- # Id of the destroyed context
1651
- ExecutionContextId executionContextId
1652
-
1653
- # Issued when all executionContexts were cleared in browser
1654
- event executionContextsCleared
1655
-
1656
- # Issued when object should be inspected (for example, as a result of inspect() command line API
1657
- # call).
1658
- event inspectRequested
1659
- parameters
1660
- RemoteObject object
1661
- object hints
1662
-
1663
- # This domain is deprecated.
1664
- deprecated domain Schema
1665
-
1666
- # Description of the protocol domain.
1667
- type Domain extends object
1668
- properties
1669
- # Domain name.
1670
- string name
1671
- # Domain version.
1672
- string version
1673
-
1674
- # Returns supported domains.
1675
- command getDomains
1676
- returns
1677
- # List of supported domains.
1678
- array of Domain domains
1
+ # Copyright 2017 The Chromium Authors. All rights reserved.
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+
5
+ version
6
+ major 1
7
+ minor 3
8
+
9
+ # This domain is deprecated - use Runtime or Log instead.
10
+ deprecated domain Console
11
+ depends on Runtime
12
+
13
+ # Console message.
14
+ type ConsoleMessage extends object
15
+ properties
16
+ # Message source.
17
+ enum source
18
+ xml
19
+ javascript
20
+ network
21
+ console-api
22
+ storage
23
+ appcache
24
+ rendering
25
+ security
26
+ other
27
+ deprecation
28
+ worker
29
+ # Message severity.
30
+ enum level
31
+ log
32
+ warning
33
+ error
34
+ debug
35
+ info
36
+ # Message text.
37
+ string text
38
+ # URL of the message origin.
39
+ optional string url
40
+ # Line number in the resource that generated this message (1-based).
41
+ optional integer line
42
+ # Column number in the resource that generated this message (1-based).
43
+ optional integer column
44
+
45
+ # Does nothing.
46
+ command clearMessages
47
+
48
+ # Disables console domain, prevents further console messages from being reported to the client.
49
+ command disable
50
+
51
+ # Enables console domain, sends the messages collected so far to the client by means of the
52
+ # `messageAdded` notification.
53
+ command enable
54
+
55
+ # Issued when new console message is added.
56
+ event messageAdded
57
+ parameters
58
+ # Console message that has been added.
59
+ ConsoleMessage message
60
+
61
+ # Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
62
+ # breakpoints, stepping through execution, exploring stack traces, etc.
63
+ domain Debugger
64
+ depends on Runtime
65
+
66
+ # Breakpoint identifier.
67
+ type BreakpointId extends string
68
+
69
+ # Call frame identifier.
70
+ type CallFrameId extends string
71
+
72
+ # Location in the source code.
73
+ type Location extends object
74
+ properties
75
+ # Script identifier as reported in the `Debugger.scriptParsed`.
76
+ Runtime.ScriptId scriptId
77
+ # Line number in the script (0-based).
78
+ integer lineNumber
79
+ # Column number in the script (0-based).
80
+ optional integer columnNumber
81
+
82
+ # Location in the source code.
83
+ experimental type ScriptPosition extends object
84
+ properties
85
+ integer lineNumber
86
+ integer columnNumber
87
+
88
+ # Location range within one script.
89
+ experimental type LocationRange extends object
90
+ properties
91
+ Runtime.ScriptId scriptId
92
+ ScriptPosition start
93
+ ScriptPosition end
94
+
95
+ # JavaScript call frame. Array of call frames form the call stack.
96
+ type CallFrame extends object
97
+ properties
98
+ # Call frame identifier. This identifier is only valid while the virtual machine is paused.
99
+ CallFrameId callFrameId
100
+ # Name of the JavaScript function called on this call frame.
101
+ string functionName
102
+ # Location in the source code.
103
+ optional Location functionLocation
104
+ # Location in the source code.
105
+ Location location
106
+ # JavaScript script name or url.
107
+ string url
108
+ # Scope chain for this call frame.
109
+ array of Scope scopeChain
110
+ # `this` object for this call frame.
111
+ Runtime.RemoteObject this
112
+ # The value being returned, if the function is at return point.
113
+ optional Runtime.RemoteObject returnValue
114
+
115
+ # Scope description.
116
+ type Scope extends object
117
+ properties
118
+ # Scope type.
119
+ enum type
120
+ global
121
+ local
122
+ with
123
+ closure
124
+ catch
125
+ block
126
+ script
127
+ eval
128
+ module
129
+ wasm-expression-stack
130
+ # Object representing the scope. For `global` and `with` scopes it represents the actual
131
+ # object; for the rest of the scopes, it is artificial transient object enumerating scope
132
+ # variables as its properties.
133
+ Runtime.RemoteObject object
134
+ optional string name
135
+ # Location in the source code where scope starts
136
+ optional Location startLocation
137
+ # Location in the source code where scope ends
138
+ optional Location endLocation
139
+
140
+ # Search match for resource.
141
+ type SearchMatch extends object
142
+ properties
143
+ # Line number in resource content.
144
+ number lineNumber
145
+ # Line with match content.
146
+ string lineContent
147
+
148
+ type BreakLocation extends object
149
+ properties
150
+ # Script identifier as reported in the `Debugger.scriptParsed`.
151
+ Runtime.ScriptId scriptId
152
+ # Line number in the script (0-based).
153
+ integer lineNumber
154
+ # Column number in the script (0-based).
155
+ optional integer columnNumber
156
+ optional enum type
157
+ debuggerStatement
158
+ call
159
+ return
160
+
161
+ # Continues execution until specific location is reached.
162
+ command continueToLocation
163
+ parameters
164
+ # Location to continue to.
165
+ Location location
166
+ optional enum targetCallFrames
167
+ any
168
+ current
169
+
170
+ # Disables debugger for given page.
171
+ command disable
172
+
173
+ # Enables debugger for the given page. Clients should not assume that the debugging has been
174
+ # enabled until the result for this command is received.
175
+ command enable
176
+ parameters
177
+ # The maximum size in bytes of collected scripts (not referenced by other heap objects)
178
+ # the debugger can hold. Puts no limit if parameter is omitted.
179
+ experimental optional number maxScriptsCacheSize
180
+ returns
181
+ # Unique identifier of the debugger.
182
+ experimental Runtime.UniqueDebuggerId debuggerId
183
+
184
+ # Evaluates expression on a given call frame.
185
+ command evaluateOnCallFrame
186
+ parameters
187
+ # Call frame identifier to evaluate on.
188
+ CallFrameId callFrameId
189
+ # Expression to evaluate.
190
+ string expression
191
+ # String object group name to put result into (allows rapid releasing resulting object handles
192
+ # using `releaseObjectGroup`).
193
+ optional string objectGroup
194
+ # Specifies whether command line API should be available to the evaluated expression, defaults
195
+ # to false.
196
+ optional boolean includeCommandLineAPI
197
+ # In silent mode exceptions thrown during evaluation are not reported and do not pause
198
+ # execution. Overrides `setPauseOnException` state.
199
+ optional boolean silent
200
+ # Whether the result is expected to be a JSON object that should be sent by value.
201
+ optional boolean returnByValue
202
+ # Whether preview should be generated for the result.
203
+ experimental optional boolean generatePreview
204
+ # Whether to throw an exception if side effect cannot be ruled out during evaluation.
205
+ optional boolean throwOnSideEffect
206
+ # Terminate execution after timing out (number of milliseconds).
207
+ experimental optional Runtime.TimeDelta timeout
208
+ returns
209
+ # Object wrapper for the evaluation result.
210
+ Runtime.RemoteObject result
211
+ # Exception details.
212
+ optional Runtime.ExceptionDetails exceptionDetails
213
+
214
+ # Returns possible locations for breakpoint. scriptId in start and end range locations should be
215
+ # the same.
216
+ command getPossibleBreakpoints
217
+ parameters
218
+ # Start of range to search possible breakpoint locations in.
219
+ Location start
220
+ # End of range to search possible breakpoint locations in (excluding). When not specified, end
221
+ # of scripts is used as end of range.
222
+ optional Location end
223
+ # Only consider locations which are in the same (non-nested) function as start.
224
+ optional boolean restrictToFunction
225
+ returns
226
+ # List of the possible breakpoint locations.
227
+ array of BreakLocation locations
228
+
229
+ # Returns source for the script with given id.
230
+ command getScriptSource
231
+ parameters
232
+ # Id of the script to get source for.
233
+ Runtime.ScriptId scriptId
234
+ returns
235
+ # Script source (empty in case of Wasm bytecode).
236
+ string scriptSource
237
+ # Wasm bytecode.
238
+ optional binary bytecode
239
+
240
+ # This command is deprecated. Use getScriptSource instead.
241
+ deprecated command getWasmBytecode
242
+ parameters
243
+ # Id of the Wasm script to get source for.
244
+ Runtime.ScriptId scriptId
245
+ returns
246
+ # Script source.
247
+ binary bytecode
248
+
249
+ # Returns stack trace with given `stackTraceId`.
250
+ experimental command getStackTrace
251
+ parameters
252
+ Runtime.StackTraceId stackTraceId
253
+ returns
254
+ Runtime.StackTrace stackTrace
255
+
256
+ # Stops on the next JavaScript statement.
257
+ command pause
258
+
259
+ experimental deprecated command pauseOnAsyncCall
260
+ parameters
261
+ # Debugger will pause when async call with given stack trace is started.
262
+ Runtime.StackTraceId parentStackTraceId
263
+
264
+ # Removes JavaScript breakpoint.
265
+ command removeBreakpoint
266
+ parameters
267
+ BreakpointId breakpointId
268
+
269
+ # Restarts particular call frame from the beginning.
270
+ deprecated command restartFrame
271
+ parameters
272
+ # Call frame identifier to evaluate on.
273
+ CallFrameId callFrameId
274
+ returns
275
+ # New stack trace.
276
+ array of CallFrame callFrames
277
+ # Async stack trace, if any.
278
+ optional Runtime.StackTrace asyncStackTrace
279
+ # Async stack trace, if any.
280
+ experimental optional Runtime.StackTraceId asyncStackTraceId
281
+
282
+ # Resumes JavaScript execution.
283
+ command resume
284
+ parameters
285
+ # Set to true to terminate execution upon resuming execution. In contrast
286
+ # to Runtime.terminateExecution, this will allows to execute further
287
+ # JavaScript (i.e. via evaluation) until execution of the paused code
288
+ # is actually resumed, at which point termination is triggered.
289
+ # If execution is currently not paused, this parameter has no effect.
290
+ optional boolean terminateOnResume
291
+
292
+ # Searches for given string in script content.
293
+ command searchInContent
294
+ parameters
295
+ # Id of the script to search in.
296
+ Runtime.ScriptId scriptId
297
+ # String to search for.
298
+ string query
299
+ # If true, search is case sensitive.
300
+ optional boolean caseSensitive
301
+ # If true, treats string parameter as regex.
302
+ optional boolean isRegex
303
+ returns
304
+ # List of search matches.
305
+ array of SearchMatch result
306
+
307
+ # Enables or disables async call stacks tracking.
308
+ command setAsyncCallStackDepth
309
+ parameters
310
+ # Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async
311
+ # call stacks (default).
312
+ integer maxDepth
313
+
314
+ # Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
315
+ # scripts with url matching one of the patterns. VM will try to leave blackboxed script by
316
+ # performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
317
+ experimental command setBlackboxPatterns
318
+ parameters
319
+ # Array of regexps that will be used to check script url for blackbox state.
320
+ array of string patterns
321
+
322
+ # Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
323
+ # scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
324
+ # Positions array contains positions where blackbox state is changed. First interval isn't
325
+ # blackboxed. Array should be sorted.
326
+ experimental command setBlackboxedRanges
327
+ parameters
328
+ # Id of the script.
329
+ Runtime.ScriptId scriptId
330
+ array of ScriptPosition positions
331
+
332
+ # Sets JavaScript breakpoint at a given location.
333
+ command setBreakpoint
334
+ parameters
335
+ # Location to set breakpoint in.
336
+ Location location
337
+ # Expression to use as a breakpoint condition. When specified, debugger will only stop on the
338
+ # breakpoint if this expression evaluates to true.
339
+ optional string condition
340
+ returns
341
+ # Id of the created breakpoint for further reference.
342
+ BreakpointId breakpointId
343
+ # Location this breakpoint resolved into.
344
+ Location actualLocation
345
+
346
+ # Sets instrumentation breakpoint.
347
+ command setInstrumentationBreakpoint
348
+ parameters
349
+ # Instrumentation name.
350
+ enum instrumentation
351
+ beforeScriptExecution
352
+ beforeScriptWithSourceMapExecution
353
+ returns
354
+ # Id of the created breakpoint for further reference.
355
+ BreakpointId breakpointId
356
+
357
+ # Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
358
+ # command is issued, all existing parsed scripts will have breakpoints resolved and returned in
359
+ # `locations` property. Further matching script parsing will result in subsequent
360
+ # `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
361
+ command setBreakpointByUrl
362
+ parameters
363
+ # Line number to set breakpoint at.
364
+ integer lineNumber
365
+ # URL of the resources to set breakpoint on.
366
+ optional string url
367
+ # Regex pattern for the URLs of the resources to set breakpoints on. Either `url` or
368
+ # `urlRegex` must be specified.
369
+ optional string urlRegex
370
+ # Script hash of the resources to set breakpoint on.
371
+ optional string scriptHash
372
+ # Offset in the line to set breakpoint at.
373
+ optional integer columnNumber
374
+ # Expression to use as a breakpoint condition. When specified, debugger will only stop on the
375
+ # breakpoint if this expression evaluates to true.
376
+ optional string condition
377
+ returns
378
+ # Id of the created breakpoint for further reference.
379
+ BreakpointId breakpointId
380
+ # List of the locations this breakpoint resolved into upon addition.
381
+ array of Location locations
382
+
383
+ # Sets JavaScript breakpoint before each call to the given function.
384
+ # If another function was created from the same source as a given one,
385
+ # calling it will also trigger the breakpoint.
386
+ experimental command setBreakpointOnFunctionCall
387
+ parameters
388
+ # Function object id.
389
+ Runtime.RemoteObjectId objectId
390
+ # Expression to use as a breakpoint condition. When specified, debugger will
391
+ # stop on the breakpoint if this expression evaluates to true.
392
+ optional string condition
393
+ returns
394
+ # Id of the created breakpoint for further reference.
395
+ BreakpointId breakpointId
396
+
397
+ # Activates / deactivates all breakpoints on the page.
398
+ command setBreakpointsActive
399
+ parameters
400
+ # New value for breakpoints active state.
401
+ boolean active
402
+
403
+ # Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
404
+ # no exceptions. Initial pause on exceptions state is `none`.
405
+ command setPauseOnExceptions
406
+ parameters
407
+ # Pause on exceptions mode.
408
+ enum state
409
+ none
410
+ uncaught
411
+ all
412
+
413
+ # Changes return value in top frame. Available only at return break position.
414
+ experimental command setReturnValue
415
+ parameters
416
+ # New return value.
417
+ Runtime.CallArgument newValue
418
+
419
+ # Edits JavaScript source live.
420
+ command setScriptSource
421
+ parameters
422
+ # Id of the script to edit.
423
+ Runtime.ScriptId scriptId
424
+ # New content of the script.
425
+ string scriptSource
426
+ # If true the change will not actually be applied. Dry run may be used to get result
427
+ # description without actually modifying the code.
428
+ optional boolean dryRun
429
+ returns
430
+ # New stack trace in case editing has happened while VM was stopped.
431
+ optional array of CallFrame callFrames
432
+ # Whether current call stack was modified after applying the changes.
433
+ optional boolean stackChanged
434
+ # Async stack trace, if any.
435
+ optional Runtime.StackTrace asyncStackTrace
436
+ # Async stack trace, if any.
437
+ experimental optional Runtime.StackTraceId asyncStackTraceId
438
+ # Exception details if any.
439
+ optional Runtime.ExceptionDetails exceptionDetails
440
+
441
+ # Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
442
+ command setSkipAllPauses
443
+ parameters
444
+ # New value for skip pauses state.
445
+ boolean skip
446
+
447
+ # Changes value of variable in a callframe. Object-based scopes are not supported and must be
448
+ # mutated manually.
449
+ command setVariableValue
450
+ parameters
451
+ # 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch'
452
+ # scope types are allowed. Other scopes could be manipulated manually.
453
+ integer scopeNumber
454
+ # Variable name.
455
+ string variableName
456
+ # New variable value.
457
+ Runtime.CallArgument newValue
458
+ # Id of callframe that holds variable.
459
+ CallFrameId callFrameId
460
+
461
+ # Steps into the function call.
462
+ command stepInto
463
+ parameters
464
+ # Debugger will pause on the execution of the first async task which was scheduled
465
+ # before next pause.
466
+ experimental optional boolean breakOnAsyncCall
467
+ # The skipList specifies location ranges that should be skipped on step into.
468
+ experimental optional array of LocationRange skipList
469
+
470
+ # Steps out of the function call.
471
+ command stepOut
472
+
473
+ # Steps over the statement.
474
+ command stepOver
475
+ parameters
476
+ # The skipList specifies location ranges that should be skipped on step over.
477
+ experimental optional array of LocationRange skipList
478
+
479
+ # Fired when breakpoint is resolved to an actual script and location.
480
+ event breakpointResolved
481
+ parameters
482
+ # Breakpoint unique identifier.
483
+ BreakpointId breakpointId
484
+ # Actual breakpoint location.
485
+ Location location
486
+
487
+ # Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
488
+ event paused
489
+ parameters
490
+ # Call stack the virtual machine stopped on.
491
+ array of CallFrame callFrames
492
+ # Pause reason.
493
+ enum reason
494
+ ambiguous
495
+ assert
496
+ CSPViolation
497
+ debugCommand
498
+ DOM
499
+ EventListener
500
+ exception
501
+ instrumentation
502
+ OOM
503
+ other
504
+ promiseRejection
505
+ XHR
506
+ # Object containing break-specific auxiliary properties.
507
+ optional object data
508
+ # Hit breakpoints IDs
509
+ optional array of string hitBreakpoints
510
+ # Async stack trace, if any.
511
+ optional Runtime.StackTrace asyncStackTrace
512
+ # Async stack trace, if any.
513
+ experimental optional Runtime.StackTraceId asyncStackTraceId
514
+ # Never present, will be removed.
515
+ experimental deprecated optional Runtime.StackTraceId asyncCallStackTraceId
516
+
517
+ # Fired when the virtual machine resumed execution.
518
+ event resumed
519
+
520
+ # Enum of possible script languages.
521
+ type ScriptLanguage extends string
522
+ enum
523
+ JavaScript
524
+ WebAssembly
525
+
526
+ # Debug symbols available for a wasm script.
527
+ type DebugSymbols extends object
528
+ properties
529
+ # Type of the debug symbols.
530
+ enum type
531
+ None
532
+ SourceMap
533
+ EmbeddedDWARF
534
+ ExternalDWARF
535
+ # URL of the external symbol source.
536
+ optional string externalURL
537
+
538
+ # Fired when virtual machine fails to parse the script.
539
+ event scriptFailedToParse
540
+ parameters
541
+ # Identifier of the script parsed.
542
+ Runtime.ScriptId scriptId
543
+ # URL or name of the script parsed (if any).
544
+ string url
545
+ # Line offset of the script within the resource with given URL (for script tags).
546
+ integer startLine
547
+ # Column offset of the script within the resource with given URL.
548
+ integer startColumn
549
+ # Last line of the script.
550
+ integer endLine
551
+ # Length of the last line of the script.
552
+ integer endColumn
553
+ # Specifies script creation context.
554
+ Runtime.ExecutionContextId executionContextId
555
+ # Content hash of the script.
556
+ string hash
557
+ # Embedder-specific auxiliary data.
558
+ optional object executionContextAuxData
559
+ # URL of source map associated with script (if any).
560
+ optional string sourceMapURL
561
+ # True, if this script has sourceURL.
562
+ optional boolean hasSourceURL
563
+ # True, if this script is ES6 module.
564
+ optional boolean isModule
565
+ # This script length.
566
+ optional integer length
567
+ # JavaScript top stack frame of where the script parsed event was triggered if available.
568
+ experimental optional Runtime.StackTrace stackTrace
569
+ # If the scriptLanguage is WebAssembly, the code section offset in the module.
570
+ experimental optional integer codeOffset
571
+ # The language of the script.
572
+ experimental optional Debugger.ScriptLanguage scriptLanguage
573
+ # The name the embedder supplied for this script.
574
+ experimental optional string embedderName
575
+
576
+ # Fired when virtual machine parses script. This event is also fired for all known and uncollected
577
+ # scripts upon enabling debugger.
578
+ event scriptParsed
579
+ parameters
580
+ # Identifier of the script parsed.
581
+ Runtime.ScriptId scriptId
582
+ # URL or name of the script parsed (if any).
583
+ string url
584
+ # Line offset of the script within the resource with given URL (for script tags).
585
+ integer startLine
586
+ # Column offset of the script within the resource with given URL.
587
+ integer startColumn
588
+ # Last line of the script.
589
+ integer endLine
590
+ # Length of the last line of the script.
591
+ integer endColumn
592
+ # Specifies script creation context.
593
+ Runtime.ExecutionContextId executionContextId
594
+ # Content hash of the script.
595
+ string hash
596
+ # Embedder-specific auxiliary data.
597
+ optional object executionContextAuxData
598
+ # True, if this script is generated as a result of the live edit operation.
599
+ experimental optional boolean isLiveEdit
600
+ # URL of source map associated with script (if any).
601
+ optional string sourceMapURL
602
+ # True, if this script has sourceURL.
603
+ optional boolean hasSourceURL
604
+ # True, if this script is ES6 module.
605
+ optional boolean isModule
606
+ # This script length.
607
+ optional integer length
608
+ # JavaScript top stack frame of where the script parsed event was triggered if available.
609
+ experimental optional Runtime.StackTrace stackTrace
610
+ # If the scriptLanguage is WebAssembly, the code section offset in the module.
611
+ experimental optional integer codeOffset
612
+ # The language of the script.
613
+ experimental optional Debugger.ScriptLanguage scriptLanguage
614
+ # If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
615
+ experimental optional Debugger.DebugSymbols debugSymbols
616
+ # The name the embedder supplied for this script.
617
+ experimental optional string embedderName
618
+
619
+ experimental domain HeapProfiler
620
+ depends on Runtime
621
+
622
+ # Heap snapshot object id.
623
+ type HeapSnapshotObjectId extends string
624
+
625
+ # Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
626
+ type SamplingHeapProfileNode extends object
627
+ properties
628
+ # Function location.
629
+ Runtime.CallFrame callFrame
630
+ # Allocations size in bytes for the node excluding children.
631
+ number selfSize
632
+ # Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
633
+ integer id
634
+ # Child nodes.
635
+ array of SamplingHeapProfileNode children
636
+
637
+ # A single sample from a sampling profile.
638
+ type SamplingHeapProfileSample extends object
639
+ properties
640
+ # Allocation size in bytes attributed to the sample.
641
+ number size
642
+ # Id of the corresponding profile tree node.
643
+ integer nodeId
644
+ # Time-ordered sample ordinal number. It is unique across all profiles retrieved
645
+ # between startSampling and stopSampling.
646
+ number ordinal
647
+
648
+ # Sampling profile.
649
+ type SamplingHeapProfile extends object
650
+ properties
651
+ SamplingHeapProfileNode head
652
+ array of SamplingHeapProfileSample samples
653
+
654
+ # Enables console to refer to the node with given id via $x (see Command Line API for more details
655
+ # $x functions).
656
+ command addInspectedHeapObject
657
+ parameters
658
+ # Heap snapshot object id to be accessible by means of $x command line API.
659
+ HeapSnapshotObjectId heapObjectId
660
+
661
+ command collectGarbage
662
+
663
+ command disable
664
+
665
+ command enable
666
+
667
+ command getHeapObjectId
668
+ parameters
669
+ # Identifier of the object to get heap object id for.
670
+ Runtime.RemoteObjectId objectId
671
+ returns
672
+ # Id of the heap snapshot object corresponding to the passed remote object id.
673
+ HeapSnapshotObjectId heapSnapshotObjectId
674
+
675
+ command getObjectByHeapObjectId
676
+ parameters
677
+ HeapSnapshotObjectId objectId
678
+ # Symbolic group name that can be used to release multiple objects.
679
+ optional string objectGroup
680
+ returns
681
+ # Evaluation result.
682
+ Runtime.RemoteObject result
683
+
684
+ command getSamplingProfile
685
+ returns
686
+ # Return the sampling profile being collected.
687
+ SamplingHeapProfile profile
688
+
689
+ command startSampling
690
+ parameters
691
+ # Average sample interval in bytes. Poisson distribution is used for the intervals. The
692
+ # default value is 32768 bytes.
693
+ optional number samplingInterval
694
+
695
+ command startTrackingHeapObjects
696
+ parameters
697
+ optional boolean trackAllocations
698
+
699
+ command stopSampling
700
+ returns
701
+ # Recorded sampling heap profile.
702
+ SamplingHeapProfile profile
703
+
704
+ command stopTrackingHeapObjects
705
+ parameters
706
+ # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken
707
+ # when the tracking is stopped.
708
+ optional boolean reportProgress
709
+ optional boolean treatGlobalObjectsAsRoots
710
+ # If true, numerical values are included in the snapshot
711
+ optional boolean captureNumericValue
712
+
713
+ command takeHeapSnapshot
714
+ parameters
715
+ # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
716
+ optional boolean reportProgress
717
+ # If true, a raw snapshot without artificial roots will be generated
718
+ optional boolean treatGlobalObjectsAsRoots
719
+ # If true, numerical values are included in the snapshot
720
+ optional boolean captureNumericValue
721
+
722
+ event addHeapSnapshotChunk
723
+ parameters
724
+ string chunk
725
+
726
+ # If heap objects tracking has been started then backend may send update for one or more fragments
727
+ event heapStatsUpdate
728
+ parameters
729
+ # An array of triplets. Each triplet describes a fragment. The first integer is the fragment
730
+ # index, the second integer is a total count of objects for the fragment, the third integer is
731
+ # a total size of the objects for the fragment.
732
+ array of integer statsUpdate
733
+
734
+ # If heap objects tracking has been started then backend regularly sends a current value for last
735
+ # seen object id and corresponding timestamp. If the were changes in the heap since last event
736
+ # then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
737
+ event lastSeenObjectId
738
+ parameters
739
+ integer lastSeenObjectId
740
+ number timestamp
741
+
742
+ event reportHeapSnapshotProgress
743
+ parameters
744
+ integer done
745
+ integer total
746
+ optional boolean finished
747
+
748
+ event resetProfiles
749
+
750
+ domain Profiler
751
+ depends on Runtime
752
+ depends on Debugger
753
+
754
+ # Profile node. Holds callsite information, execution statistics and child nodes.
755
+ type ProfileNode extends object
756
+ properties
757
+ # Unique id of the node.
758
+ integer id
759
+ # Function location.
760
+ Runtime.CallFrame callFrame
761
+ # Number of samples where this node was on top of the call stack.
762
+ optional integer hitCount
763
+ # Child node ids.
764
+ optional array of integer children
765
+ # The reason of being not optimized. The function may be deoptimized or marked as don't
766
+ # optimize.
767
+ optional string deoptReason
768
+ # An array of source position ticks.
769
+ optional array of PositionTickInfo positionTicks
770
+
771
+ # Profile.
772
+ type Profile extends object
773
+ properties
774
+ # The list of profile nodes. First item is the root node.
775
+ array of ProfileNode nodes
776
+ # Profiling start timestamp in microseconds.
777
+ number startTime
778
+ # Profiling end timestamp in microseconds.
779
+ number endTime
780
+ # Ids of samples top nodes.
781
+ optional array of integer samples
782
+ # Time intervals between adjacent samples in microseconds. The first delta is relative to the
783
+ # profile startTime.
784
+ optional array of integer timeDeltas
785
+
786
+ # Specifies a number of samples attributed to a certain source position.
787
+ type PositionTickInfo extends object
788
+ properties
789
+ # Source line number (1-based).
790
+ integer line
791
+ # Number of samples attributed to the source line.
792
+ integer ticks
793
+
794
+ # Coverage data for a source range.
795
+ type CoverageRange extends object
796
+ properties
797
+ # JavaScript script source offset for the range start.
798
+ integer startOffset
799
+ # JavaScript script source offset for the range end.
800
+ integer endOffset
801
+ # Collected execution count of the source range.
802
+ integer count
803
+
804
+ # Coverage data for a JavaScript function.
805
+ type FunctionCoverage extends object
806
+ properties
807
+ # JavaScript function name.
808
+ string functionName
809
+ # Source ranges inside the function with coverage data.
810
+ array of CoverageRange ranges
811
+ # Whether coverage data for this function has block granularity.
812
+ boolean isBlockCoverage
813
+
814
+ # Coverage data for a JavaScript script.
815
+ type ScriptCoverage extends object
816
+ properties
817
+ # JavaScript script id.
818
+ Runtime.ScriptId scriptId
819
+ # JavaScript script name or url.
820
+ string url
821
+ # Functions contained in the script that has coverage data.
822
+ array of FunctionCoverage functions
823
+
824
+ # Describes a type collected during runtime.
825
+ experimental type TypeObject extends object
826
+ properties
827
+ # Name of a type collected with type profiling.
828
+ string name
829
+
830
+ # Source offset and types for a parameter or return value.
831
+ experimental type TypeProfileEntry extends object
832
+ properties
833
+ # Source offset of the parameter or end of function for return values.
834
+ integer offset
835
+ # The types for this parameter or return value.
836
+ array of TypeObject types
837
+
838
+ # Type profile data collected during runtime for a JavaScript script.
839
+ experimental type ScriptTypeProfile extends object
840
+ properties
841
+ # JavaScript script id.
842
+ Runtime.ScriptId scriptId
843
+ # JavaScript script name or url.
844
+ string url
845
+ # Type profile entries for parameters and return values of the functions in the script.
846
+ array of TypeProfileEntry entries
847
+
848
+ command disable
849
+
850
+ command enable
851
+
852
+ # Collect coverage data for the current isolate. The coverage data may be incomplete due to
853
+ # garbage collection.
854
+ command getBestEffortCoverage
855
+ returns
856
+ # Coverage data for the current isolate.
857
+ array of ScriptCoverage result
858
+
859
+ # Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
860
+ command setSamplingInterval
861
+ parameters
862
+ # New sampling interval in microseconds.
863
+ integer interval
864
+
865
+ command start
866
+
867
+ # Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
868
+ # coverage may be incomplete. Enabling prevents running optimized code and resets execution
869
+ # counters.
870
+ command startPreciseCoverage
871
+ parameters
872
+ # Collect accurate call counts beyond simple 'covered' or 'not covered'.
873
+ optional boolean callCount
874
+ # Collect block-based coverage.
875
+ optional boolean detailed
876
+ # Allow the backend to send updates on its own initiative
877
+ optional boolean allowTriggeredUpdates
878
+ returns
879
+ # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
880
+ number timestamp
881
+
882
+ # Enable type profile.
883
+ experimental command startTypeProfile
884
+
885
+ command stop
886
+ returns
887
+ # Recorded profile.
888
+ Profile profile
889
+
890
+ # Disable precise code coverage. Disabling releases unnecessary execution count records and allows
891
+ # executing optimized code.
892
+ command stopPreciseCoverage
893
+
894
+ # Disable type profile. Disabling releases type profile data collected so far.
895
+ experimental command stopTypeProfile
896
+
897
+ # Collect coverage data for the current isolate, and resets execution counters. Precise code
898
+ # coverage needs to have started.
899
+ command takePreciseCoverage
900
+ returns
901
+ # Coverage data for the current isolate.
902
+ array of ScriptCoverage result
903
+ # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
904
+ number timestamp
905
+
906
+ # Collect type profile.
907
+ experimental command takeTypeProfile
908
+ returns
909
+ # Type profile for all scripts since startTypeProfile() was turned on.
910
+ array of ScriptTypeProfile result
911
+
912
+ event consoleProfileFinished
913
+ parameters
914
+ string id
915
+ # Location of console.profileEnd().
916
+ Debugger.Location location
917
+ Profile profile
918
+ # Profile title passed as an argument to console.profile().
919
+ optional string title
920
+
921
+ # Sent when new profile recording is started using console.profile() call.
922
+ event consoleProfileStarted
923
+ parameters
924
+ string id
925
+ # Location of console.profile().
926
+ Debugger.Location location
927
+ # Profile title passed as an argument to console.profile().
928
+ optional string title
929
+
930
+ # Reports coverage delta since the last poll (either from an event like this, or from
931
+ # `takePreciseCoverage` for the current isolate. May only be sent if precise code
932
+ # coverage has been started. This event can be trigged by the embedder to, for example,
933
+ # trigger collection of coverage data immediately at a certain point in time.
934
+ experimental event preciseCoverageDeltaUpdate
935
+ parameters
936
+ # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
937
+ number timestamp
938
+ # Identifier for distinguishing coverage events.
939
+ string occasion
940
+ # Coverage data for the current isolate.
941
+ array of ScriptCoverage result
942
+
943
+ # Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects.
944
+ # Evaluation results are returned as mirror object that expose object type, string representation
945
+ # and unique identifier that can be used for further object reference. Original objects are
946
+ # maintained in memory unless they are either explicitly released or are released along with the
947
+ # other objects in their object group.
948
+ domain Runtime
949
+
950
+ # Unique script identifier.
951
+ type ScriptId extends string
952
+
953
+ # Unique object identifier.
954
+ type RemoteObjectId extends string
955
+
956
+ # Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
957
+ # `-Infinity`, and bigint literals.
958
+ type UnserializableValue extends string
959
+
960
+ # Mirror object referencing original JavaScript object.
961
+ type RemoteObject extends object
962
+ properties
963
+ # Object type.
964
+ enum type
965
+ object
966
+ function
967
+ undefined
968
+ string
969
+ number
970
+ boolean
971
+ symbol
972
+ bigint
973
+ # Object subtype hint. Specified for `object` type values only.
974
+ # NOTE: If you change anything here, make sure to also update
975
+ # `subtype` in `ObjectPreview` and `PropertyPreview` below.
976
+ optional enum subtype
977
+ array
978
+ null
979
+ node
980
+ regexp
981
+ date
982
+ map
983
+ set
984
+ weakmap
985
+ weakset
986
+ iterator
987
+ generator
988
+ error
989
+ proxy
990
+ promise
991
+ typedarray
992
+ arraybuffer
993
+ dataview
994
+ webassemblymemory
995
+ wasmvalue
996
+ # Object class (constructor) name. Specified for `object` type values only.
997
+ optional string className
998
+ # Remote object value in case of primitive values or JSON values (if it was requested).
999
+ optional any value
1000
+ # Primitive value which can not be JSON-stringified does not have `value`, but gets this
1001
+ # property.
1002
+ optional UnserializableValue unserializableValue
1003
+ # String representation of the object.
1004
+ optional string description
1005
+ # Unique object identifier (for non-primitive values).
1006
+ optional RemoteObjectId objectId
1007
+ # Preview containing abbreviated property values. Specified for `object` type values only.
1008
+ experimental optional ObjectPreview preview
1009
+ experimental optional CustomPreview customPreview
1010
+
1011
+ experimental type CustomPreview extends object
1012
+ properties
1013
+ # The JSON-stringified result of formatter.header(object, config) call.
1014
+ # It contains json ML array that represents RemoteObject.
1015
+ string header
1016
+ # If formatter returns true as a result of formatter.hasBody call then bodyGetterId will
1017
+ # contain RemoteObjectId for the function that returns result of formatter.body(object, config) call.
1018
+ # The result value is json ML array.
1019
+ optional RemoteObjectId bodyGetterId
1020
+
1021
+ # Object containing abbreviated remote object value.
1022
+ experimental type ObjectPreview extends object
1023
+ properties
1024
+ # Object type.
1025
+ enum type
1026
+ object
1027
+ function
1028
+ undefined
1029
+ string
1030
+ number
1031
+ boolean
1032
+ symbol
1033
+ bigint
1034
+ # Object subtype hint. Specified for `object` type values only.
1035
+ optional enum subtype
1036
+ array
1037
+ null
1038
+ node
1039
+ regexp
1040
+ date
1041
+ map
1042
+ set
1043
+ weakmap
1044
+ weakset
1045
+ iterator
1046
+ generator
1047
+ error
1048
+ proxy
1049
+ promise
1050
+ typedarray
1051
+ arraybuffer
1052
+ dataview
1053
+ webassemblymemory
1054
+ wasmvalue
1055
+ # String representation of the object.
1056
+ optional string description
1057
+ # True iff some of the properties or entries of the original object did not fit.
1058
+ boolean overflow
1059
+ # List of the properties.
1060
+ array of PropertyPreview properties
1061
+ # List of the entries. Specified for `map` and `set` subtype values only.
1062
+ optional array of EntryPreview entries
1063
+
1064
+ experimental type PropertyPreview extends object
1065
+ properties
1066
+ # Property name.
1067
+ string name
1068
+ # Object type. Accessor means that the property itself is an accessor property.
1069
+ enum type
1070
+ object
1071
+ function
1072
+ undefined
1073
+ string
1074
+ number
1075
+ boolean
1076
+ symbol
1077
+ accessor
1078
+ bigint
1079
+ # User-friendly property value string.
1080
+ optional string value
1081
+ # Nested value preview.
1082
+ optional ObjectPreview valuePreview
1083
+ # Object subtype hint. Specified for `object` type values only.
1084
+ optional enum subtype
1085
+ array
1086
+ null
1087
+ node
1088
+ regexp
1089
+ date
1090
+ map
1091
+ set
1092
+ weakmap
1093
+ weakset
1094
+ iterator
1095
+ generator
1096
+ error
1097
+ proxy
1098
+ promise
1099
+ typedarray
1100
+ arraybuffer
1101
+ dataview
1102
+ webassemblymemory
1103
+ wasmvalue
1104
+
1105
+ experimental type EntryPreview extends object
1106
+ properties
1107
+ # Preview of the key. Specified for map-like collection entries.
1108
+ optional ObjectPreview key
1109
+ # Preview of the value.
1110
+ ObjectPreview value
1111
+
1112
+ # Object property descriptor.
1113
+ type PropertyDescriptor extends object
1114
+ properties
1115
+ # Property name or symbol description.
1116
+ string name
1117
+ # The value associated with the property.
1118
+ optional RemoteObject value
1119
+ # True if the value associated with the property may be changed (data descriptors only).
1120
+ optional boolean writable
1121
+ # A function which serves as a getter for the property, or `undefined` if there is no getter
1122
+ # (accessor descriptors only).
1123
+ optional RemoteObject get
1124
+ # A function which serves as a setter for the property, or `undefined` if there is no setter
1125
+ # (accessor descriptors only).
1126
+ optional RemoteObject set
1127
+ # True if the type of this property descriptor may be changed and if the property may be
1128
+ # deleted from the corresponding object.
1129
+ boolean configurable
1130
+ # True if this property shows up during enumeration of the properties on the corresponding
1131
+ # object.
1132
+ boolean enumerable
1133
+ # True if the result was thrown during the evaluation.
1134
+ optional boolean wasThrown
1135
+ # True if the property is owned for the object.
1136
+ optional boolean isOwn
1137
+ # Property symbol object, if the property is of the `symbol` type.
1138
+ optional RemoteObject symbol
1139
+
1140
+ # Object internal property descriptor. This property isn't normally visible in JavaScript code.
1141
+ type InternalPropertyDescriptor extends object
1142
+ properties
1143
+ # Conventional property name.
1144
+ string name
1145
+ # The value associated with the property.
1146
+ optional RemoteObject value
1147
+
1148
+ # Object private field descriptor.
1149
+ experimental type PrivatePropertyDescriptor extends object
1150
+ properties
1151
+ # Private property name.
1152
+ string name
1153
+ # The value associated with the private property.
1154
+ optional RemoteObject value
1155
+ # A function which serves as a getter for the private property,
1156
+ # or `undefined` if there is no getter (accessor descriptors only).
1157
+ optional RemoteObject get
1158
+ # A function which serves as a setter for the private property,
1159
+ # or `undefined` if there is no setter (accessor descriptors only).
1160
+ optional RemoteObject set
1161
+
1162
+ # Represents function call argument. Either remote object id `objectId`, primitive `value`,
1163
+ # unserializable primitive value or neither of (for undefined) them should be specified.
1164
+ type CallArgument extends object
1165
+ properties
1166
+ # Primitive value or serializable javascript object.
1167
+ optional any value
1168
+ # Primitive value which can not be JSON-stringified.
1169
+ optional UnserializableValue unserializableValue
1170
+ # Remote object handle.
1171
+ optional RemoteObjectId objectId
1172
+
1173
+ # Id of an execution context.
1174
+ type ExecutionContextId extends integer
1175
+
1176
+ # Description of an isolated world.
1177
+ type ExecutionContextDescription extends object
1178
+ properties
1179
+ # Unique id of the execution context. It can be used to specify in which execution context
1180
+ # script evaluation should be performed.
1181
+ ExecutionContextId id
1182
+ # Execution context origin.
1183
+ string origin
1184
+ # Human readable name describing given context.
1185
+ string name
1186
+ # A system-unique execution context identifier. Unlike the id, this is unique across
1187
+ # multiple processes, so can be reliably used to identify specific context while backend
1188
+ # performs a cross-process navigation.
1189
+ experimental string uniqueId
1190
+ # Embedder-specific auxiliary data.
1191
+ optional object auxData
1192
+
1193
+ # Detailed information about exception (or error) that was thrown during script compilation or
1194
+ # execution.
1195
+ type ExceptionDetails extends object
1196
+ properties
1197
+ # Exception id.
1198
+ integer exceptionId
1199
+ # Exception text, which should be used together with exception object when available.
1200
+ string text
1201
+ # Line number of the exception location (0-based).
1202
+ integer lineNumber
1203
+ # Column number of the exception location (0-based).
1204
+ integer columnNumber
1205
+ # Script ID of the exception location.
1206
+ optional ScriptId scriptId
1207
+ # URL of the exception location, to be used when the script was not reported.
1208
+ optional string url
1209
+ # JavaScript stack trace if available.
1210
+ optional StackTrace stackTrace
1211
+ # Exception object if available.
1212
+ optional RemoteObject exception
1213
+ # Identifier of the context where exception happened.
1214
+ optional ExecutionContextId executionContextId
1215
+ # Dictionary with entries of meta data that the client associated
1216
+ # with this exception, such as information about associated network
1217
+ # requests, etc.
1218
+ experimental optional object exceptionMetaData
1219
+
1220
+ # Number of milliseconds since epoch.
1221
+ type Timestamp extends number
1222
+
1223
+ # Number of milliseconds.
1224
+ type TimeDelta extends number
1225
+
1226
+ # Stack entry for runtime errors and assertions.
1227
+ type CallFrame extends object
1228
+ properties
1229
+ # JavaScript function name.
1230
+ string functionName
1231
+ # JavaScript script id.
1232
+ ScriptId scriptId
1233
+ # JavaScript script name or url.
1234
+ string url
1235
+ # JavaScript script line number (0-based).
1236
+ integer lineNumber
1237
+ # JavaScript script column number (0-based).
1238
+ integer columnNumber
1239
+
1240
+ # Call frames for assertions or error messages.
1241
+ type StackTrace extends object
1242
+ properties
1243
+ # String label of this stack trace. For async traces this may be a name of the function that
1244
+ # initiated the async call.
1245
+ optional string description
1246
+ # JavaScript function name.
1247
+ array of CallFrame callFrames
1248
+ # Asynchronous JavaScript stack trace that preceded this stack, if available.
1249
+ optional StackTrace parent
1250
+ # Asynchronous JavaScript stack trace that preceded this stack, if available.
1251
+ experimental optional StackTraceId parentId
1252
+
1253
+ # Unique identifier of current debugger.
1254
+ experimental type UniqueDebuggerId extends string
1255
+
1256
+ # If `debuggerId` is set stack trace comes from another debugger and can be resolved there. This
1257
+ # allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.paused` for usages.
1258
+ experimental type StackTraceId extends object
1259
+ properties
1260
+ string id
1261
+ optional UniqueDebuggerId debuggerId
1262
+
1263
+ # Add handler to promise with given promise object id.
1264
+ command awaitPromise
1265
+ parameters
1266
+ # Identifier of the promise.
1267
+ RemoteObjectId promiseObjectId
1268
+ # Whether the result is expected to be a JSON object that should be sent by value.
1269
+ optional boolean returnByValue
1270
+ # Whether preview should be generated for the result.
1271
+ optional boolean generatePreview
1272
+ returns
1273
+ # Promise result. Will contain rejected value if promise was rejected.
1274
+ RemoteObject result
1275
+ # Exception details if stack strace is available.
1276
+ optional ExceptionDetails exceptionDetails
1277
+
1278
+ # Calls function with given declaration on the given object. Object group of the result is
1279
+ # inherited from the target object.
1280
+ command callFunctionOn
1281
+ parameters
1282
+ # Declaration of the function to call.
1283
+ string functionDeclaration
1284
+ # Identifier of the object to call function on. Either objectId or executionContextId should
1285
+ # be specified.
1286
+ optional RemoteObjectId objectId
1287
+ # Call arguments. All call arguments must belong to the same JavaScript world as the target
1288
+ # object.
1289
+ optional array of CallArgument arguments
1290
+ # In silent mode exceptions thrown during evaluation are not reported and do not pause
1291
+ # execution. Overrides `setPauseOnException` state.
1292
+ optional boolean silent
1293
+ # Whether the result is expected to be a JSON object which should be sent by value.
1294
+ optional boolean returnByValue
1295
+ # Whether preview should be generated for the result.
1296
+ experimental optional boolean generatePreview
1297
+ # Whether execution should be treated as initiated by user in the UI.
1298
+ optional boolean userGesture
1299
+ # Whether execution should `await` for resulting value and return once awaited promise is
1300
+ # resolved.
1301
+ optional boolean awaitPromise
1302
+ # Specifies execution context which global object will be used to call function on. Either
1303
+ # executionContextId or objectId should be specified.
1304
+ optional ExecutionContextId executionContextId
1305
+ # Symbolic group name that can be used to release multiple objects. If objectGroup is not
1306
+ # specified and objectId is, objectGroup will be inherited from object.
1307
+ optional string objectGroup
1308
+ # Whether to throw an exception if side effect cannot be ruled out during evaluation.
1309
+ experimental optional boolean throwOnSideEffect
1310
+ returns
1311
+ # Call result.
1312
+ RemoteObject result
1313
+ # Exception details.
1314
+ optional ExceptionDetails exceptionDetails
1315
+
1316
+ # Compiles expression.
1317
+ command compileScript
1318
+ parameters
1319
+ # Expression to compile.
1320
+ string expression
1321
+ # Source url to be set for the script.
1322
+ string sourceURL
1323
+ # Specifies whether the compiled script should be persisted.
1324
+ boolean persistScript
1325
+ # Specifies in which execution context to perform script run. If the parameter is omitted the
1326
+ # evaluation will be performed in the context of the inspected page.
1327
+ optional ExecutionContextId executionContextId
1328
+ returns
1329
+ # Id of the script.
1330
+ optional ScriptId scriptId
1331
+ # Exception details.
1332
+ optional ExceptionDetails exceptionDetails
1333
+
1334
+ # Disables reporting of execution contexts creation.
1335
+ command disable
1336
+
1337
+ # Discards collected exceptions and console API calls.
1338
+ command discardConsoleEntries
1339
+
1340
+ # Enables reporting of execution contexts creation by means of `executionContextCreated` event.
1341
+ # When the reporting gets enabled the event will be sent immediately for each existing execution
1342
+ # context.
1343
+ command enable
1344
+
1345
+ # Evaluates expression on global object.
1346
+ command evaluate
1347
+ parameters
1348
+ # Expression to evaluate.
1349
+ string expression
1350
+ # Symbolic group name that can be used to release multiple objects.
1351
+ optional string objectGroup
1352
+ # Determines whether Command Line API should be available during the evaluation.
1353
+ optional boolean includeCommandLineAPI
1354
+ # In silent mode exceptions thrown during evaluation are not reported and do not pause
1355
+ # execution. Overrides `setPauseOnException` state.
1356
+ optional boolean silent
1357
+ # Specifies in which execution context to perform evaluation. If the parameter is omitted the
1358
+ # evaluation will be performed in the context of the inspected page.
1359
+ # This is mutually exclusive with `uniqueContextId`, which offers an
1360
+ # alternative way to identify the execution context that is more reliable
1361
+ # in a multi-process environment.
1362
+ optional ExecutionContextId contextId
1363
+ # Whether the result is expected to be a JSON object that should be sent by value.
1364
+ optional boolean returnByValue
1365
+ # Whether preview should be generated for the result.
1366
+ experimental optional boolean generatePreview
1367
+ # Whether execution should be treated as initiated by user in the UI.
1368
+ optional boolean userGesture
1369
+ # Whether execution should `await` for resulting value and return once awaited promise is
1370
+ # resolved.
1371
+ optional boolean awaitPromise
1372
+ # Whether to throw an exception if side effect cannot be ruled out during evaluation.
1373
+ # This implies `disableBreaks` below.
1374
+ experimental optional boolean throwOnSideEffect
1375
+ # Terminate execution after timing out (number of milliseconds).
1376
+ experimental optional TimeDelta timeout
1377
+ # Disable breakpoints during execution.
1378
+ experimental optional boolean disableBreaks
1379
+ # Setting this flag to true enables `let` re-declaration and top-level `await`.
1380
+ # Note that `let` variables can only be re-declared if they originate from
1381
+ # `replMode` themselves.
1382
+ experimental optional boolean replMode
1383
+ # The Content Security Policy (CSP) for the target might block 'unsafe-eval'
1384
+ # which includes eval(), Function(), setTimeout() and setInterval()
1385
+ # when called with non-callable arguments. This flag bypasses CSP for this
1386
+ # evaluation and allows unsafe-eval. Defaults to true.
1387
+ experimental optional boolean allowUnsafeEvalBlockedByCSP
1388
+ # An alternative way to specify the execution context to evaluate in.
1389
+ # Compared to contextId that may be reused across processes, this is guaranteed to be
1390
+ # system-unique, so it can be used to prevent accidental evaluation of the expression
1391
+ # in context different than intended (e.g. as a result of navigation across process
1392
+ # boundaries).
1393
+ # This is mutually exclusive with `contextId`.
1394
+ experimental optional string uniqueContextId
1395
+ returns
1396
+ # Evaluation result.
1397
+ RemoteObject result
1398
+ # Exception details.
1399
+ optional ExceptionDetails exceptionDetails
1400
+
1401
+ # Returns the isolate id.
1402
+ experimental command getIsolateId
1403
+ returns
1404
+ # The isolate id.
1405
+ string id
1406
+
1407
+ # Returns the JavaScript heap usage.
1408
+ # It is the total usage of the corresponding isolate not scoped to a particular Runtime.
1409
+ experimental command getHeapUsage
1410
+ returns
1411
+ # Used heap size in bytes.
1412
+ number usedSize
1413
+ # Allocated heap size in bytes.
1414
+ number totalSize
1415
+
1416
+ # Returns properties of a given object. Object group of the result is inherited from the target
1417
+ # object.
1418
+ command getProperties
1419
+ parameters
1420
+ # Identifier of the object to return properties for.
1421
+ RemoteObjectId objectId
1422
+ # If true, returns properties belonging only to the element itself, not to its prototype
1423
+ # chain.
1424
+ optional boolean ownProperties
1425
+ # If true, returns accessor properties (with getter/setter) only; internal properties are not
1426
+ # returned either.
1427
+ experimental optional boolean accessorPropertiesOnly
1428
+ # Whether preview should be generated for the results.
1429
+ experimental optional boolean generatePreview
1430
+ # If true, returns non-indexed properties only.
1431
+ experimental optional boolean nonIndexedPropertiesOnly
1432
+ returns
1433
+ # Object properties.
1434
+ array of PropertyDescriptor result
1435
+ # Internal object properties (only of the element itself).
1436
+ optional array of InternalPropertyDescriptor internalProperties
1437
+ # Object private properties.
1438
+ experimental optional array of PrivatePropertyDescriptor privateProperties
1439
+ # Exception details.
1440
+ optional ExceptionDetails exceptionDetails
1441
+
1442
+ # Returns all let, const and class variables from global scope.
1443
+ command globalLexicalScopeNames
1444
+ parameters
1445
+ # Specifies in which execution context to lookup global scope variables.
1446
+ optional ExecutionContextId executionContextId
1447
+ returns
1448
+ array of string names
1449
+
1450
+ command queryObjects
1451
+ parameters
1452
+ # Identifier of the prototype to return objects for.
1453
+ RemoteObjectId prototypeObjectId
1454
+ # Symbolic group name that can be used to release the results.
1455
+ optional string objectGroup
1456
+ returns
1457
+ # Array with objects.
1458
+ RemoteObject objects
1459
+
1460
+ # Releases remote object with given id.
1461
+ command releaseObject
1462
+ parameters
1463
+ # Identifier of the object to release.
1464
+ RemoteObjectId objectId
1465
+
1466
+ # Releases all remote objects that belong to a given group.
1467
+ command releaseObjectGroup
1468
+ parameters
1469
+ # Symbolic object group name.
1470
+ string objectGroup
1471
+
1472
+ # Tells inspected instance to run if it was waiting for debugger to attach.
1473
+ command runIfWaitingForDebugger
1474
+
1475
+ # Runs script with given id in a given context.
1476
+ command runScript
1477
+ parameters
1478
+ # Id of the script to run.
1479
+ ScriptId scriptId
1480
+ # Specifies in which execution context to perform script run. If the parameter is omitted the
1481
+ # evaluation will be performed in the context of the inspected page.
1482
+ optional ExecutionContextId executionContextId
1483
+ # Symbolic group name that can be used to release multiple objects.
1484
+ optional string objectGroup
1485
+ # In silent mode exceptions thrown during evaluation are not reported and do not pause
1486
+ # execution. Overrides `setPauseOnException` state.
1487
+ optional boolean silent
1488
+ # Determines whether Command Line API should be available during the evaluation.
1489
+ optional boolean includeCommandLineAPI
1490
+ # Whether the result is expected to be a JSON object which should be sent by value.
1491
+ optional boolean returnByValue
1492
+ # Whether preview should be generated for the result.
1493
+ optional boolean generatePreview
1494
+ # Whether execution should `await` for resulting value and return once awaited promise is
1495
+ # resolved.
1496
+ optional boolean awaitPromise
1497
+ returns
1498
+ # Run result.
1499
+ RemoteObject result
1500
+ # Exception details.
1501
+ optional ExceptionDetails exceptionDetails
1502
+
1503
+ # Enables or disables async call stacks tracking.
1504
+ command setAsyncCallStackDepth
1505
+ redirect Debugger
1506
+ parameters
1507
+ # Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async
1508
+ # call stacks (default).
1509
+ integer maxDepth
1510
+
1511
+ experimental command setCustomObjectFormatterEnabled
1512
+ parameters
1513
+ boolean enabled
1514
+
1515
+ experimental command setMaxCallStackSizeToCapture
1516
+ parameters
1517
+ integer size
1518
+
1519
+ # Terminate current or next JavaScript execution.
1520
+ # Will cancel the termination when the outer-most script execution ends.
1521
+ experimental command terminateExecution
1522
+
1523
+ # If executionContextId is empty, adds binding with the given name on the
1524
+ # global objects of all inspected contexts, including those created later,
1525
+ # bindings survive reloads.
1526
+ # Binding function takes exactly one argument, this argument should be string,
1527
+ # in case of any other input, function throws an exception.
1528
+ # Each binding function call produces Runtime.bindingCalled notification.
1529
+ experimental command addBinding
1530
+ parameters
1531
+ string name
1532
+ # If specified, the binding would only be exposed to the specified
1533
+ # execution context. If omitted and `executionContextName` is not set,
1534
+ # the binding is exposed to all execution contexts of the target.
1535
+ # This parameter is mutually exclusive with `executionContextName`.
1536
+ # Deprecated in favor of `executionContextName` due to an unclear use case
1537
+ # and bugs in implementation (crbug.com/1169639). `executionContextId` will be
1538
+ # removed in the future.
1539
+ deprecated optional ExecutionContextId executionContextId
1540
+ # If specified, the binding is exposed to the executionContext with
1541
+ # matching name, even for contexts created after the binding is added.
1542
+ # See also `ExecutionContext.name` and `worldName` parameter to
1543
+ # `Page.addScriptToEvaluateOnNewDocument`.
1544
+ # This parameter is mutually exclusive with `executionContextId`.
1545
+ experimental optional string executionContextName
1546
+
1547
+ # This method does not remove binding function from global object but
1548
+ # unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1549
+ experimental command removeBinding
1550
+ parameters
1551
+ string name
1552
+
1553
+ # Notification is issued every time when binding is called.
1554
+ experimental event bindingCalled
1555
+ parameters
1556
+ string name
1557
+ string payload
1558
+ # Identifier of the context where the call was made.
1559
+ ExecutionContextId executionContextId
1560
+
1561
+ # Issued when console API was called.
1562
+ event consoleAPICalled
1563
+ parameters
1564
+ # Type of the call.
1565
+ enum type
1566
+ log
1567
+ debug
1568
+ info
1569
+ error
1570
+ warning
1571
+ dir
1572
+ dirxml
1573
+ table
1574
+ trace
1575
+ clear
1576
+ startGroup
1577
+ startGroupCollapsed
1578
+ endGroup
1579
+ assert
1580
+ profile
1581
+ profileEnd
1582
+ count
1583
+ timeEnd
1584
+ # Call arguments.
1585
+ array of RemoteObject args
1586
+ # Identifier of the context where the call was made.
1587
+ ExecutionContextId executionContextId
1588
+ # Call timestamp.
1589
+ Timestamp timestamp
1590
+ # Stack trace captured when the call was made. The async stack chain is automatically reported for
1591
+ # the following call types: `assert`, `error`, `trace`, `warning`. For other types the async call
1592
+ # chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field.
1593
+ optional StackTrace stackTrace
1594
+ # Console context descriptor for calls on non-default console context (not console.*):
1595
+ # 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call
1596
+ # on named context.
1597
+ experimental optional string context
1598
+
1599
+ # Issued when unhandled exception was revoked.
1600
+ event exceptionRevoked
1601
+ parameters
1602
+ # Reason describing why exception was revoked.
1603
+ string reason
1604
+ # The id of revoked exception, as reported in `exceptionThrown`.
1605
+ integer exceptionId
1606
+
1607
+ # Issued when exception was thrown and unhandled.
1608
+ event exceptionThrown
1609
+ parameters
1610
+ # Timestamp of the exception.
1611
+ Timestamp timestamp
1612
+ ExceptionDetails exceptionDetails
1613
+
1614
+ # Issued when new execution context is created.
1615
+ event executionContextCreated
1616
+ parameters
1617
+ # A newly created execution context.
1618
+ ExecutionContextDescription context
1619
+
1620
+ # Issued when execution context is destroyed.
1621
+ event executionContextDestroyed
1622
+ parameters
1623
+ # Id of the destroyed context
1624
+ ExecutionContextId executionContextId
1625
+
1626
+ # Issued when all executionContexts were cleared in browser
1627
+ event executionContextsCleared
1628
+
1629
+ # Issued when object should be inspected (for example, as a result of inspect() command line API
1630
+ # call).
1631
+ event inspectRequested
1632
+ parameters
1633
+ RemoteObject object
1634
+ object hints
1635
+ # Identifier of the context where the call was made.
1636
+ experimental optional ExecutionContextId executionContextId
1637
+
1638
+ # This domain is deprecated.
1639
+ deprecated domain Schema
1640
+
1641
+ # Description of the protocol domain.
1642
+ type Domain extends object
1643
+ properties
1644
+ # Domain name.
1645
+ string name
1646
+ # Domain version.
1647
+ string version
1648
+
1649
+ # Returns supported domains.
1650
+ command getDomains
1651
+ returns
1652
+ # List of supported domains.
1653
+ array of Domain domains