isomorfeus-puppetmaster 0.5.7 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +167 -201
- data/lib/isomorfeus/puppeteer/dom_world.rb +13 -0
- data/lib/isomorfeus/puppeteer/element_handle.rb +238 -0
- data/lib/isomorfeus/puppeteer/execution_context.rb +90 -0
- data/lib/isomorfeus/puppeteer/frame.rb +33 -0
- data/lib/isomorfeus/puppeteer/js_handle.rb +13 -0
- data/lib/isomorfeus/puppeteer/page.rb +252 -0
- data/lib/isomorfeus/puppetmaster/dsl.rb +90 -17
- data/lib/isomorfeus/puppetmaster/server/checker.rb +38 -38
- data/lib/isomorfeus/puppetmaster/server.rb +169 -157
- data/lib/isomorfeus/puppetmaster/session.rb +149 -0
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/lib/isomorfeus/puppetmaster.rb +4 -45
- data/lib/isomorfeus-puppetmaster.rb +10 -31
- metadata +50 -1006
- data/lib/isomorfeus/puppetmaster/console_message.rb +0 -19
- data/lib/isomorfeus/puppetmaster/cookie.rb +0 -46
- data/lib/isomorfeus/puppetmaster/document.rb +0 -271
- data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +0 -413
- data/lib/isomorfeus/puppetmaster/driver/puppeteer_document.rb +0 -953
- data/lib/isomorfeus/puppetmaster/driver/puppeteer_node.rb +0 -851
- data/lib/isomorfeus/puppetmaster/driver_registration.rb +0 -7
- data/lib/isomorfeus/puppetmaster/errors.rb +0 -90
- data/lib/isomorfeus/puppetmaster/iframe.rb +0 -17
- data/lib/isomorfeus/puppetmaster/node/checkbox.rb +0 -17
- data/lib/isomorfeus/puppetmaster/node/content_editable.rb +0 -18
- data/lib/isomorfeus/puppetmaster/node/filechooser.rb +0 -9
- data/lib/isomorfeus/puppetmaster/node/input.rb +0 -21
- data/lib/isomorfeus/puppetmaster/node/radiobutton.rb +0 -13
- data/lib/isomorfeus/puppetmaster/node/select.rb +0 -36
- data/lib/isomorfeus/puppetmaster/node/textarea.rb +0 -7
- data/lib/isomorfeus/puppetmaster/node.rb +0 -280
- data/lib/isomorfeus/puppetmaster/request.rb +0 -17
- data/lib/isomorfeus/puppetmaster/response.rb +0 -26
- data/lib/isomorfeus/puppetmaster/rspec/features.rb +0 -23
- data/lib/isomorfeus/puppetmaster/rspec/matcher_proxies.rb +0 -80
- data/lib/isomorfeus/puppetmaster/rspec/matchers/base.rb +0 -98
- data/lib/isomorfeus/puppetmaster/rspec/matchers/become_closed.rb +0 -33
- data/lib/isomorfeus/puppetmaster/rspec/matchers/compound.rb +0 -88
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_current_path.rb +0 -29
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_selector.rb +0 -69
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_text.rb +0 -33
- data/lib/isomorfeus/puppetmaster/rspec/matchers/have_title.rb +0 -29
- data/lib/isomorfeus/puppetmaster/rspec/matchers/match_selector.rb +0 -27
- data/lib/isomorfeus/puppetmaster/rspec/matchers/match_style.rb +0 -38
- data/lib/isomorfeus/puppetmaster/rspec/matchers.rb +0 -164
- data/lib/isomorfeus/puppetmaster/self_forwardable.rb +0 -39
- data/lib/isomorfeus/puppetmaster/server_registration.rb +0 -13
- data/node_modules/.bin/extract-zip +0 -12
- data/node_modules/.bin/extract-zip.cmd +0 -17
- data/node_modules/.bin/extract-zip.ps1 +0 -28
- data/node_modules/.bin/rimraf +0 -12
- data/node_modules/.bin/rimraf.cmd +0 -17
- data/node_modules/.bin/rimraf.ps1 +0 -28
- data/node_modules/.package-lock.json +0 -530
- data/node_modules/@types/node/LICENSE +0 -21
- data/node_modules/@types/node/README.md +0 -16
- data/node_modules/@types/node/assert/strict.d.ts +0 -8
- data/node_modules/@types/node/assert.d.ts +0 -912
- data/node_modules/@types/node/async_hooks.d.ts +0 -497
- data/node_modules/@types/node/buffer.d.ts +0 -2142
- data/node_modules/@types/node/child_process.d.ts +0 -1355
- data/node_modules/@types/node/cluster.d.ts +0 -414
- data/node_modules/@types/node/console.d.ts +0 -407
- data/node_modules/@types/node/constants.d.ts +0 -18
- data/node_modules/@types/node/crypto.d.ts +0 -3224
- data/node_modules/@types/node/dgram.d.ts +0 -545
- data/node_modules/@types/node/diagnostics_channel.d.ts +0 -128
- data/node_modules/@types/node/dns/promises.d.ts +0 -357
- data/node_modules/@types/node/dns.d.ts +0 -643
- data/node_modules/@types/node/domain.d.ts +0 -169
- data/node_modules/@types/node/events.d.ts +0 -623
- data/node_modules/@types/node/fs/promises.d.ts +0 -997
- data/node_modules/@types/node/fs.d.ts +0 -3723
- data/node_modules/@types/node/globals.d.ts +0 -285
- data/node_modules/@types/node/globals.global.d.ts +0 -1
- data/node_modules/@types/node/http.d.ts +0 -1358
- data/node_modules/@types/node/http2.d.ts +0 -2100
- data/node_modules/@types/node/https.d.ts +0 -391
- data/node_modules/@types/node/index.d.ts +0 -131
- data/node_modules/@types/node/inspector.d.ts +0 -2738
- data/node_modules/@types/node/module.d.ts +0 -114
- data/node_modules/@types/node/net.d.ts +0 -783
- data/node_modules/@types/node/os.d.ts +0 -455
- data/node_modules/@types/node/package.json +0 -230
- data/node_modules/@types/node/path.d.ts +0 -172
- data/node_modules/@types/node/perf_hooks.d.ts +0 -555
- data/node_modules/@types/node/process.d.ts +0 -1477
- data/node_modules/@types/node/punycode.d.ts +0 -117
- data/node_modules/@types/node/querystring.d.ts +0 -131
- data/node_modules/@types/node/readline.d.ts +0 -542
- data/node_modules/@types/node/repl.d.ts +0 -424
- data/node_modules/@types/node/stream/consumers.d.ts +0 -24
- data/node_modules/@types/node/stream/promises.d.ts +0 -42
- data/node_modules/@types/node/stream/web.d.ts +0 -6
- data/node_modules/@types/node/stream.d.ts +0 -1181
- data/node_modules/@types/node/string_decoder.d.ts +0 -67
- data/node_modules/@types/node/timers/promises.d.ts +0 -68
- data/node_modules/@types/node/timers.d.ts +0 -94
- data/node_modules/@types/node/tls.d.ts +0 -1019
- data/node_modules/@types/node/trace_events.d.ts +0 -161
- data/node_modules/@types/node/tty.d.ts +0 -206
- data/node_modules/@types/node/url.d.ts +0 -798
- data/node_modules/@types/node/util.d.ts +0 -1556
- data/node_modules/@types/node/v8.d.ts +0 -378
- data/node_modules/@types/node/vm.d.ts +0 -504
- data/node_modules/@types/node/wasi.d.ts +0 -153
- data/node_modules/@types/node/worker_threads.d.ts +0 -649
- data/node_modules/@types/node/zlib.d.ts +0 -517
- data/node_modules/@types/yauzl/LICENSE +0 -21
- data/node_modules/@types/yauzl/README.md +0 -16
- data/node_modules/@types/yauzl/index.d.ts +0 -98
- data/node_modules/@types/yauzl/package.json +0 -27
- data/node_modules/agent-base/README.md +0 -145
- data/node_modules/agent-base/dist/src/index.d.ts +0 -78
- data/node_modules/agent-base/dist/src/index.js +0 -203
- data/node_modules/agent-base/dist/src/index.js.map +0 -1
- data/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
- data/node_modules/agent-base/dist/src/promisify.js +0 -18
- data/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- data/node_modules/agent-base/package.json +0 -64
- data/node_modules/agent-base/src/index.ts +0 -345
- data/node_modules/agent-base/src/promisify.ts +0 -33
- data/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- data/node_modules/balanced-match/LICENSE.md +0 -21
- data/node_modules/balanced-match/README.md +0 -97
- data/node_modules/balanced-match/index.js +0 -62
- data/node_modules/balanced-match/package.json +0 -48
- data/node_modules/base64-js/LICENSE +0 -21
- data/node_modules/base64-js/README.md +0 -34
- data/node_modules/base64-js/base64js.min.js +0 -1
- data/node_modules/base64-js/index.d.ts +0 -3
- data/node_modules/base64-js/index.js +0 -150
- data/node_modules/base64-js/package.json +0 -47
- data/node_modules/bl/.travis.yml +0 -17
- data/node_modules/bl/BufferList.js +0 -396
- data/node_modules/bl/LICENSE.md +0 -13
- data/node_modules/bl/README.md +0 -247
- data/node_modules/bl/bl.js +0 -84
- data/node_modules/bl/package.json +0 -37
- data/node_modules/bl/test/convert.js +0 -21
- data/node_modules/bl/test/indexOf.js +0 -492
- data/node_modules/bl/test/isBufferList.js +0 -32
- data/node_modules/bl/test/test.js +0 -869
- data/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/buffer/AUTHORS.md +0 -70
- data/node_modules/buffer/LICENSE +0 -21
- data/node_modules/buffer/README.md +0 -410
- data/node_modules/buffer/index.d.ts +0 -186
- data/node_modules/buffer/index.js +0 -1817
- data/node_modules/buffer/package.json +0 -96
- data/node_modules/buffer-crc32/LICENSE +0 -19
- data/node_modules/buffer-crc32/README.md +0 -47
- data/node_modules/buffer-crc32/index.js +0 -111
- data/node_modules/buffer-crc32/package.json +0 -39
- data/node_modules/chownr/LICENSE +0 -15
- data/node_modules/chownr/README.md +0 -3
- data/node_modules/chownr/chownr.js +0 -167
- data/node_modules/chownr/package.json +0 -29
- data/node_modules/concat-map/.travis.yml +0 -4
- data/node_modules/concat-map/LICENSE +0 -18
- data/node_modules/concat-map/README.markdown +0 -62
- data/node_modules/concat-map/example/map.js +0 -6
- data/node_modules/concat-map/index.js +0 -13
- data/node_modules/concat-map/package.json +0 -43
- data/node_modules/concat-map/test/map.js +0 -39
- data/node_modules/debug/LICENSE +0 -19
- data/node_modules/debug/README.md +0 -455
- data/node_modules/debug/package.json +0 -59
- data/node_modules/debug/src/browser.js +0 -269
- data/node_modules/debug/src/common.js +0 -274
- data/node_modules/debug/src/index.js +0 -10
- data/node_modules/debug/src/node.js +0 -263
- data/node_modules/devtools-protocol/LICENSE +0 -27
- data/node_modules/devtools-protocol/README.md +0 -12
- data/node_modules/devtools-protocol/json/browser_protocol.json +0 -20986
- data/node_modules/devtools-protocol/json/js_protocol.json +0 -3532
- data/node_modules/devtools-protocol/package.json +0 -17
- data/node_modules/devtools-protocol/pdl/browser_protocol.pdl +0 -9849
- data/node_modules/devtools-protocol/pdl/js_protocol.pdl +0 -1653
- data/node_modules/devtools-protocol/types/protocol-mapping.d.ts +0 -4333
- data/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +0 -3695
- data/node_modules/devtools-protocol/types/protocol.d.ts +0 -15714
- data/node_modules/end-of-stream/LICENSE +0 -21
- data/node_modules/end-of-stream/README.md +0 -54
- data/node_modules/end-of-stream/index.js +0 -94
- data/node_modules/end-of-stream/package.json +0 -37
- data/node_modules/extract-zip/LICENSE +0 -23
- data/node_modules/extract-zip/cli.js +0 -19
- data/node_modules/extract-zip/index.d.ts +0 -21
- data/node_modules/extract-zip/index.js +0 -173
- data/node_modules/extract-zip/package.json +0 -80
- data/node_modules/extract-zip/readme.md +0 -57
- data/node_modules/fd-slicer/.npmignore +0 -2
- data/node_modules/fd-slicer/.travis.yml +0 -7
- data/node_modules/fd-slicer/CHANGELOG.md +0 -49
- data/node_modules/fd-slicer/LICENSE +0 -21
- data/node_modules/fd-slicer/README.md +0 -199
- data/node_modules/fd-slicer/index.js +0 -296
- data/node_modules/fd-slicer/package.json +0 -36
- data/node_modules/fd-slicer/test/test.js +0 -350
- data/node_modules/find-up/index.d.ts +0 -137
- data/node_modules/find-up/index.js +0 -89
- data/node_modules/find-up/license +0 -9
- data/node_modules/find-up/package.json +0 -53
- data/node_modules/find-up/readme.md +0 -156
- data/node_modules/fs-constants/LICENSE +0 -21
- data/node_modules/fs-constants/README.md +0 -26
- data/node_modules/fs-constants/browser.js +0 -1
- data/node_modules/fs-constants/index.js +0 -1
- data/node_modules/fs-constants/package.json +0 -19
- data/node_modules/fs.realpath/LICENSE +0 -43
- data/node_modules/fs.realpath/README.md +0 -33
- data/node_modules/fs.realpath/index.js +0 -66
- data/node_modules/fs.realpath/old.js +0 -303
- data/node_modules/fs.realpath/package.json +0 -26
- data/node_modules/get-stream/buffer-stream.js +0 -52
- data/node_modules/get-stream/index.d.ts +0 -108
- data/node_modules/get-stream/index.js +0 -60
- data/node_modules/get-stream/license +0 -9
- data/node_modules/get-stream/package.json +0 -50
- data/node_modules/get-stream/readme.md +0 -124
- data/node_modules/glob/LICENSE +0 -21
- data/node_modules/glob/README.md +0 -375
- data/node_modules/glob/changelog.md +0 -67
- data/node_modules/glob/common.js +0 -234
- data/node_modules/glob/glob.js +0 -788
- data/node_modules/glob/package.json +0 -51
- data/node_modules/glob/sync.js +0 -484
- data/node_modules/https-proxy-agent/README.md +0 -137
- data/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
- data/node_modules/https-proxy-agent/dist/agent.js +0 -180
- data/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
- data/node_modules/https-proxy-agent/dist/index.js +0 -14
- data/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- data/node_modules/https-proxy-agent/package.json +0 -56
- data/node_modules/ieee754/LICENSE +0 -11
- data/node_modules/ieee754/README.md +0 -51
- data/node_modules/ieee754/index.d.ts +0 -10
- data/node_modules/ieee754/index.js +0 -85
- data/node_modules/ieee754/package.json +0 -52
- data/node_modules/inflight/LICENSE +0 -15
- data/node_modules/inflight/README.md +0 -37
- data/node_modules/inflight/inflight.js +0 -54
- data/node_modules/inflight/package.json +0 -29
- data/node_modules/inherits/LICENSE +0 -16
- data/node_modules/inherits/README.md +0 -42
- data/node_modules/inherits/inherits.js +0 -9
- data/node_modules/inherits/inherits_browser.js +0 -27
- data/node_modules/inherits/package.json +0 -29
- data/node_modules/locate-path/index.d.ts +0 -83
- data/node_modules/locate-path/index.js +0 -65
- data/node_modules/locate-path/license +0 -9
- data/node_modules/locate-path/package.json +0 -45
- data/node_modules/locate-path/readme.md +0 -122
- data/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/minimatch/README.md +0 -209
- data/node_modules/minimatch/minimatch.js +0 -923
- data/node_modules/minimatch/package.json +0 -30
- data/node_modules/mkdirp-classic/LICENSE +0 -21
- data/node_modules/mkdirp-classic/README.md +0 -18
- data/node_modules/mkdirp-classic/index.js +0 -98
- data/node_modules/mkdirp-classic/package.json +0 -18
- data/node_modules/ms/index.js +0 -162
- data/node_modules/ms/license.md +0 -21
- data/node_modules/ms/package.json +0 -37
- data/node_modules/ms/readme.md +0 -60
- data/node_modules/node-fetch/LICENSE.md +0 -22
- data/node_modules/node-fetch/README.md +0 -590
- data/node_modules/node-fetch/browser.js +0 -25
- data/node_modules/node-fetch/lib/index.es.js +0 -1662
- data/node_modules/node-fetch/lib/index.js +0 -1671
- data/node_modules/node-fetch/lib/index.mjs +0 -1660
- data/node_modules/node-fetch/package.json +0 -68
- data/node_modules/once/LICENSE +0 -15
- data/node_modules/once/README.md +0 -79
- data/node_modules/once/once.js +0 -42
- data/node_modules/once/package.json +0 -33
- data/node_modules/p-limit/index.d.ts +0 -38
- data/node_modules/p-limit/index.js +0 -57
- data/node_modules/p-limit/license +0 -9
- data/node_modules/p-limit/package.json +0 -52
- data/node_modules/p-limit/readme.md +0 -101
- data/node_modules/p-locate/index.d.ts +0 -64
- data/node_modules/p-locate/index.js +0 -52
- data/node_modules/p-locate/license +0 -9
- data/node_modules/p-locate/package.json +0 -53
- data/node_modules/p-locate/readme.md +0 -90
- data/node_modules/p-try/index.d.ts +0 -39
- data/node_modules/p-try/index.js +0 -9
- data/node_modules/p-try/license +0 -9
- data/node_modules/p-try/package.json +0 -42
- data/node_modules/p-try/readme.md +0 -58
- data/node_modules/path-exists/index.d.ts +0 -28
- data/node_modules/path-exists/index.js +0 -23
- data/node_modules/path-exists/license +0 -9
- data/node_modules/path-exists/package.json +0 -39
- data/node_modules/path-exists/readme.md +0 -52
- data/node_modules/path-is-absolute/index.js +0 -20
- data/node_modules/path-is-absolute/license +0 -21
- data/node_modules/path-is-absolute/package.json +0 -43
- data/node_modules/path-is-absolute/readme.md +0 -59
- data/node_modules/pend/LICENSE +0 -23
- data/node_modules/pend/README.md +0 -41
- data/node_modules/pend/index.js +0 -55
- data/node_modules/pend/package.json +0 -18
- data/node_modules/pend/test.js +0 -137
- data/node_modules/pkg-dir/index.d.ts +0 -44
- data/node_modules/pkg-dir/index.js +0 -17
- data/node_modules/pkg-dir/license +0 -9
- data/node_modules/pkg-dir/package.json +0 -56
- data/node_modules/pkg-dir/readme.md +0 -66
- data/node_modules/progress/CHANGELOG.md +0 -115
- data/node_modules/progress/LICENSE +0 -22
- data/node_modules/progress/Makefile +0 -8
- data/node_modules/progress/Readme.md +0 -146
- data/node_modules/progress/index.js +0 -1
- data/node_modules/progress/lib/node-progress.js +0 -236
- data/node_modules/progress/package.json +0 -26
- data/node_modules/proxy-from-env/.eslintrc +0 -29
- data/node_modules/proxy-from-env/.travis.yml +0 -10
- data/node_modules/proxy-from-env/LICENSE +0 -20
- data/node_modules/proxy-from-env/README.md +0 -131
- data/node_modules/proxy-from-env/index.js +0 -108
- data/node_modules/proxy-from-env/package.json +0 -34
- data/node_modules/proxy-from-env/test.js +0 -483
- data/node_modules/pump/.travis.yml +0 -5
- data/node_modules/pump/LICENSE +0 -21
- data/node_modules/pump/README.md +0 -65
- data/node_modules/pump/index.js +0 -82
- data/node_modules/pump/package.json +0 -24
- data/node_modules/pump/test-browser.js +0 -66
- data/node_modules/pump/test-node.js +0 -53
- data/node_modules/puppeteer-core/CHANGELOG.md +0 -319
- data/node_modules/puppeteer-core/LICENSE +0 -202
- data/node_modules/puppeteer-core/README.md +0 -481
- data/node_modules/puppeteer-core/cjs-entry-core.js +0 -29
- data/node_modules/puppeteer-core/cjs-entry.js +0 -29
- data/node_modules/puppeteer-core/install.js +0 -89
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts +0 -111
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js +0 -81
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +0 -361
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +0 -85
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +0 -456
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +0 -541
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +0 -54
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +0 -98
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +0 -26
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +0 -35
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +0 -136
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +0 -299
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +0 -73
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +0 -65
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +0 -205
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +0 -336
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +0 -663
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +0 -53
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +0 -82
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +0 -41
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +0 -1071
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +0 -75
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +0 -98
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +0 -38
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +0 -51
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +0 -57
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +0 -93
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +0 -117
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts +0 -82
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js +0 -87
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +0 -194
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +0 -322
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +0 -59
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +0 -72
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +0 -745
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +0 -1048
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +0 -351
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +0 -550
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +0 -135
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +0 -185
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +0 -359
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +0 -544
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +0 -491
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +0 -828
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +0 -66
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +0 -150
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js +0 -34
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +0 -127
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +0 -468
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +0 -162
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +0 -35
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +0 -2056
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +0 -2534
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +0 -160
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +0 -162
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +0 -52
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +0 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +0 -65
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +0 -166
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +0 -77
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +0 -101
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +0 -146
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js +0 -30
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +0 -48
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +0 -47
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +0 -110
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +0 -40
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +0 -407
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +0 -99
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +0 -113
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +0 -23
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +0 -34
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +0 -44
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts +0 -85
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +0 -328
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +0 -20
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js +0 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js +0 -45
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js +0 -27
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +0 -134
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +0 -501
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +0 -41
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +0 -257
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +0 -135
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +0 -656
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +0 -48
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +0 -30
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +0 -65
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts +0 -154
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +0 -189
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +0 -174
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +0 -25
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +0 -24
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +0 -22
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +0 -23
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +0 -24
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js +0 -57
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts +0 -111
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js +0 -81
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +0 -357
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -82
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +0 -456
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +0 -536
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +0 -54
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -75
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +0 -26
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -31
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +0 -136
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +0 -294
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +0 -73
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +0 -205
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +0 -330
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +0 -176
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +0 -658
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +0 -53
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -78
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +0 -41
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +0 -1068
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +0 -75
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +0 -94
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +0 -25
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +0 -34
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +0 -51
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -51
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +0 -93
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -110
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts +0 -82
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js +0 -84
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +0 -194
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +0 -318
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +0 -59
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -68
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +0 -745
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +0 -1043
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +0 -351
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +0 -546
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +0 -135
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +0 -181
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +0 -359
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +0 -538
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +0 -491
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +0 -803
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +0 -66
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +0 -146
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js +0 -31
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +0 -127
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +0 -464
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +0 -162
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -32
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +0 -2056
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +0 -2530
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +0 -160
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -158
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +0 -52
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +0 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +0 -65
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -158
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -73
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +0 -101
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +0 -142
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -26
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -44
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +0 -47
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +0 -106
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +0 -40
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -404
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +0 -99
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +0 -109
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +0 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +0 -29
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +0 -21
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts +0 -85
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +0 -306
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js +0 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js +0 -38
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js +0 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +0 -134
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +0 -475
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +0 -41
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +0 -231
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +0 -135
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts +0 -17
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +0 -634
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +0 -27
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +0 -41
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +0 -30
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +0 -61
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts +0 -154
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js +0 -182
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +0 -166
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js +0 -23
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js +0 -22
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +0 -22
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -20
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts +0 -18
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js +0 -22
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts +0 -28
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts.map +0 -1
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js +0 -54
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js.map +0 -1
- data/node_modules/puppeteer-core/lib/types.d.ts +0 -7141
- data/node_modules/puppeteer-core/package.json +0 -116
- data/node_modules/puppeteer-core/typescript-if-required.js +0 -61
- data/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- data/node_modules/readable-stream/GOVERNANCE.md +0 -136
- data/node_modules/readable-stream/LICENSE +0 -47
- data/node_modules/readable-stream/README.md +0 -106
- data/node_modules/readable-stream/errors-browser.js +0 -127
- data/node_modules/readable-stream/errors.js +0 -116
- data/node_modules/readable-stream/experimentalWarning.js +0 -17
- data/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- data/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- data/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- data/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- data/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- data/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- data/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- data/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- data/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- data/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- data/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- data/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- data/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- data/node_modules/readable-stream/package.json +0 -68
- data/node_modules/readable-stream/readable-browser.js +0 -9
- data/node_modules/readable-stream/readable.js +0 -16
- data/node_modules/rimraf/CHANGELOG.md +0 -65
- data/node_modules/rimraf/LICENSE +0 -15
- data/node_modules/rimraf/README.md +0 -101
- data/node_modules/rimraf/bin.js +0 -68
- data/node_modules/rimraf/package.json +0 -32
- data/node_modules/rimraf/rimraf.js +0 -360
- data/node_modules/safe-buffer/LICENSE +0 -21
- data/node_modules/safe-buffer/README.md +0 -584
- data/node_modules/safe-buffer/index.d.ts +0 -187
- data/node_modules/safe-buffer/index.js +0 -65
- data/node_modules/safe-buffer/package.json +0 -51
- data/node_modules/string_decoder/LICENSE +0 -48
- data/node_modules/string_decoder/README.md +0 -47
- data/node_modules/string_decoder/lib/string_decoder.js +0 -296
- data/node_modules/string_decoder/package.json +0 -34
- data/node_modules/tar-fs/.travis.yml +0 -6
- data/node_modules/tar-fs/LICENSE +0 -21
- data/node_modules/tar-fs/README.md +0 -165
- data/node_modules/tar-fs/index.js +0 -351
- data/node_modules/tar-fs/package.json +0 -41
- data/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- data/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- data/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- data/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- data/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- data/node_modules/tar-fs/test/fixtures/e/file +0 -0
- data/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- data/node_modules/tar-fs/test/index.js +0 -346
- data/node_modules/tar-stream/LICENSE +0 -21
- data/node_modules/tar-stream/README.md +0 -168
- data/node_modules/tar-stream/extract.js +0 -257
- data/node_modules/tar-stream/headers.js +0 -295
- data/node_modules/tar-stream/index.js +0 -2
- data/node_modules/tar-stream/pack.js +0 -255
- data/node_modules/tar-stream/package.json +0 -58
- data/node_modules/tar-stream/sandbox.js +0 -11
- data/node_modules/through/.travis.yml +0 -5
- data/node_modules/through/LICENSE.APACHE2 +0 -15
- data/node_modules/through/LICENSE.MIT +0 -24
- data/node_modules/through/index.js +0 -108
- data/node_modules/through/package.json +0 -36
- data/node_modules/through/readme.markdown +0 -64
- data/node_modules/through/test/async.js +0 -28
- data/node_modules/through/test/auto-destroy.js +0 -30
- data/node_modules/through/test/buffering.js +0 -71
- data/node_modules/through/test/end.js +0 -45
- data/node_modules/through/test/index.js +0 -133
- data/node_modules/tr46/.npmignore +0 -4
- data/node_modules/tr46/index.js +0 -193
- data/node_modules/tr46/lib/.gitkeep +0 -0
- data/node_modules/tr46/lib/mappingTable.json +0 -1
- data/node_modules/tr46/package.json +0 -31
- data/node_modules/unbzip2-stream/LICENSE +0 -24
- data/node_modules/unbzip2-stream/README.md +0 -59
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +0 -1
- data/node_modules/unbzip2-stream/index.js +0 -93
- data/node_modules/unbzip2-stream/lib/bit_iterator.js +0 -39
- data/node_modules/unbzip2-stream/lib/bzip2.js +0 -365
- data/node_modules/unbzip2-stream/package.json +0 -51
- data/node_modules/util-deprecate/History.md +0 -16
- data/node_modules/util-deprecate/LICENSE +0 -24
- data/node_modules/util-deprecate/README.md +0 -53
- data/node_modules/util-deprecate/browser.js +0 -67
- data/node_modules/util-deprecate/node.js +0 -6
- data/node_modules/util-deprecate/package.json +0 -27
- data/node_modules/webidl-conversions/LICENSE.md +0 -12
- data/node_modules/webidl-conversions/README.md +0 -53
- data/node_modules/webidl-conversions/lib/index.js +0 -189
- data/node_modules/webidl-conversions/package.json +0 -23
- data/node_modules/whatwg-url/LICENSE.txt +0 -21
- data/node_modules/whatwg-url/README.md +0 -67
- data/node_modules/whatwg-url/lib/URL-impl.js +0 -200
- data/node_modules/whatwg-url/lib/URL.js +0 -196
- data/node_modules/whatwg-url/lib/public-api.js +0 -11
- data/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
- data/node_modules/whatwg-url/lib/utils.js +0 -20
- data/node_modules/whatwg-url/package.json +0 -32
- data/node_modules/wrappy/LICENSE +0 -15
- data/node_modules/wrappy/README.md +0 -36
- data/node_modules/wrappy/package.json +0 -29
- data/node_modules/wrappy/wrappy.js +0 -33
- data/node_modules/ws/LICENSE +0 -19
- data/node_modules/ws/README.md +0 -493
- data/node_modules/ws/browser.js +0 -8
- data/node_modules/ws/index.js +0 -13
- data/node_modules/ws/lib/buffer-util.js +0 -126
- data/node_modules/ws/lib/constants.js +0 -12
- data/node_modules/ws/lib/event-target.js +0 -266
- data/node_modules/ws/lib/extension.js +0 -203
- data/node_modules/ws/lib/limiter.js +0 -55
- data/node_modules/ws/lib/permessage-deflate.js +0 -511
- data/node_modules/ws/lib/receiver.js +0 -612
- data/node_modules/ws/lib/sender.js +0 -422
- data/node_modules/ws/lib/stream.js +0 -180
- data/node_modules/ws/lib/subprotocol.js +0 -62
- data/node_modules/ws/lib/validation.js +0 -124
- data/node_modules/ws/lib/websocket-server.js +0 -485
- data/node_modules/ws/lib/websocket.js +0 -1149
- data/node_modules/ws/package.json +0 -61
- data/node_modules/ws/wrapper.mjs +0 -8
- data/node_modules/yauzl/LICENSE +0 -21
- data/node_modules/yauzl/README.md +0 -658
- data/node_modules/yauzl/index.js +0 -796
- data/node_modules/yauzl/package.json +0 -40
- data/package.json +0 -6
@@ -1,3695 +0,0 @@
|
|
1
|
-
/**********************************************************************
|
2
|
-
* Auto-generated by protocol-dts-generator.ts, do not edit manually. *
|
3
|
-
**********************************************************************/
|
4
|
-
|
5
|
-
import Protocol from './protocol'
|
6
|
-
|
7
|
-
/**
|
8
|
-
* API generated from Protocol commands and events.
|
9
|
-
*/
|
10
|
-
export namespace ProtocolProxyApi {
|
11
|
-
|
12
|
-
export interface ProtocolApi {
|
13
|
-
Console: ConsoleApi;
|
14
|
-
|
15
|
-
Debugger: DebuggerApi;
|
16
|
-
|
17
|
-
HeapProfiler: HeapProfilerApi;
|
18
|
-
|
19
|
-
Profiler: ProfilerApi;
|
20
|
-
|
21
|
-
Runtime: RuntimeApi;
|
22
|
-
|
23
|
-
Schema: SchemaApi;
|
24
|
-
|
25
|
-
Accessibility: AccessibilityApi;
|
26
|
-
|
27
|
-
Animation: AnimationApi;
|
28
|
-
|
29
|
-
Audits: AuditsApi;
|
30
|
-
|
31
|
-
BackgroundService: BackgroundServiceApi;
|
32
|
-
|
33
|
-
Browser: BrowserApi;
|
34
|
-
|
35
|
-
CSS: CSSApi;
|
36
|
-
|
37
|
-
CacheStorage: CacheStorageApi;
|
38
|
-
|
39
|
-
Cast: CastApi;
|
40
|
-
|
41
|
-
DOM: DOMApi;
|
42
|
-
|
43
|
-
DOMDebugger: DOMDebuggerApi;
|
44
|
-
|
45
|
-
EventBreakpoints: EventBreakpointsApi;
|
46
|
-
|
47
|
-
DOMSnapshot: DOMSnapshotApi;
|
48
|
-
|
49
|
-
DOMStorage: DOMStorageApi;
|
50
|
-
|
51
|
-
Database: DatabaseApi;
|
52
|
-
|
53
|
-
DeviceOrientation: DeviceOrientationApi;
|
54
|
-
|
55
|
-
Emulation: EmulationApi;
|
56
|
-
|
57
|
-
HeadlessExperimental: HeadlessExperimentalApi;
|
58
|
-
|
59
|
-
IO: IOApi;
|
60
|
-
|
61
|
-
IndexedDB: IndexedDBApi;
|
62
|
-
|
63
|
-
Input: InputApi;
|
64
|
-
|
65
|
-
Inspector: InspectorApi;
|
66
|
-
|
67
|
-
LayerTree: LayerTreeApi;
|
68
|
-
|
69
|
-
Log: LogApi;
|
70
|
-
|
71
|
-
Memory: MemoryApi;
|
72
|
-
|
73
|
-
Network: NetworkApi;
|
74
|
-
|
75
|
-
Overlay: OverlayApi;
|
76
|
-
|
77
|
-
Page: PageApi;
|
78
|
-
|
79
|
-
Performance: PerformanceApi;
|
80
|
-
|
81
|
-
PerformanceTimeline: PerformanceTimelineApi;
|
82
|
-
|
83
|
-
Security: SecurityApi;
|
84
|
-
|
85
|
-
ServiceWorker: ServiceWorkerApi;
|
86
|
-
|
87
|
-
Storage: StorageApi;
|
88
|
-
|
89
|
-
SystemInfo: SystemInfoApi;
|
90
|
-
|
91
|
-
Target: TargetApi;
|
92
|
-
|
93
|
-
Tethering: TetheringApi;
|
94
|
-
|
95
|
-
Tracing: TracingApi;
|
96
|
-
|
97
|
-
Fetch: FetchApi;
|
98
|
-
|
99
|
-
WebAudio: WebAudioApi;
|
100
|
-
|
101
|
-
WebAuthn: WebAuthnApi;
|
102
|
-
|
103
|
-
Media: MediaApi;
|
104
|
-
|
105
|
-
}
|
106
|
-
|
107
|
-
|
108
|
-
export interface ConsoleApi {
|
109
|
-
/**
|
110
|
-
* Does nothing.
|
111
|
-
*/
|
112
|
-
clearMessages(): Promise<void>;
|
113
|
-
|
114
|
-
/**
|
115
|
-
* Disables console domain, prevents further console messages from being reported to the client.
|
116
|
-
*/
|
117
|
-
disable(): Promise<void>;
|
118
|
-
|
119
|
-
/**
|
120
|
-
* Enables console domain, sends the messages collected so far to the client by means of the
|
121
|
-
* `messageAdded` notification.
|
122
|
-
*/
|
123
|
-
enable(): Promise<void>;
|
124
|
-
|
125
|
-
/**
|
126
|
-
* Issued when new console message is added.
|
127
|
-
*/
|
128
|
-
on(event: 'messageAdded', listener: (params: Protocol.Console.MessageAddedEvent) => void): void;
|
129
|
-
|
130
|
-
}
|
131
|
-
|
132
|
-
export interface DebuggerApi {
|
133
|
-
/**
|
134
|
-
* Continues execution until specific location is reached.
|
135
|
-
*/
|
136
|
-
continueToLocation(params: Protocol.Debugger.ContinueToLocationRequest): Promise<void>;
|
137
|
-
|
138
|
-
/**
|
139
|
-
* Disables debugger for given page.
|
140
|
-
*/
|
141
|
-
disable(): Promise<void>;
|
142
|
-
|
143
|
-
/**
|
144
|
-
* Enables debugger for the given page. Clients should not assume that the debugging has been
|
145
|
-
* enabled until the result for this command is received.
|
146
|
-
*/
|
147
|
-
enable(params: Protocol.Debugger.EnableRequest): Promise<Protocol.Debugger.EnableResponse>;
|
148
|
-
|
149
|
-
/**
|
150
|
-
* Evaluates expression on a given call frame.
|
151
|
-
*/
|
152
|
-
evaluateOnCallFrame(params: Protocol.Debugger.EvaluateOnCallFrameRequest): Promise<Protocol.Debugger.EvaluateOnCallFrameResponse>;
|
153
|
-
|
154
|
-
/**
|
155
|
-
* Returns possible locations for breakpoint. scriptId in start and end range locations should be
|
156
|
-
* the same.
|
157
|
-
*/
|
158
|
-
getPossibleBreakpoints(params: Protocol.Debugger.GetPossibleBreakpointsRequest): Promise<Protocol.Debugger.GetPossibleBreakpointsResponse>;
|
159
|
-
|
160
|
-
/**
|
161
|
-
* Returns source for the script with given id.
|
162
|
-
*/
|
163
|
-
getScriptSource(params: Protocol.Debugger.GetScriptSourceRequest): Promise<Protocol.Debugger.GetScriptSourceResponse>;
|
164
|
-
|
165
|
-
/**
|
166
|
-
* This command is deprecated. Use getScriptSource instead.
|
167
|
-
*/
|
168
|
-
getWasmBytecode(params: Protocol.Debugger.GetWasmBytecodeRequest): Promise<Protocol.Debugger.GetWasmBytecodeResponse>;
|
169
|
-
|
170
|
-
/**
|
171
|
-
* Returns stack trace with given `stackTraceId`.
|
172
|
-
*/
|
173
|
-
getStackTrace(params: Protocol.Debugger.GetStackTraceRequest): Promise<Protocol.Debugger.GetStackTraceResponse>;
|
174
|
-
|
175
|
-
/**
|
176
|
-
* Stops on the next JavaScript statement.
|
177
|
-
*/
|
178
|
-
pause(): Promise<void>;
|
179
|
-
|
180
|
-
pauseOnAsyncCall(params: Protocol.Debugger.PauseOnAsyncCallRequest): Promise<void>;
|
181
|
-
|
182
|
-
/**
|
183
|
-
* Removes JavaScript breakpoint.
|
184
|
-
*/
|
185
|
-
removeBreakpoint(params: Protocol.Debugger.RemoveBreakpointRequest): Promise<void>;
|
186
|
-
|
187
|
-
/**
|
188
|
-
* Restarts particular call frame from the beginning.
|
189
|
-
*/
|
190
|
-
restartFrame(params: Protocol.Debugger.RestartFrameRequest): Promise<Protocol.Debugger.RestartFrameResponse>;
|
191
|
-
|
192
|
-
/**
|
193
|
-
* Resumes JavaScript execution.
|
194
|
-
*/
|
195
|
-
resume(params: Protocol.Debugger.ResumeRequest): Promise<void>;
|
196
|
-
|
197
|
-
/**
|
198
|
-
* Searches for given string in script content.
|
199
|
-
*/
|
200
|
-
searchInContent(params: Protocol.Debugger.SearchInContentRequest): Promise<Protocol.Debugger.SearchInContentResponse>;
|
201
|
-
|
202
|
-
/**
|
203
|
-
* Enables or disables async call stacks tracking.
|
204
|
-
*/
|
205
|
-
setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest): Promise<void>;
|
206
|
-
|
207
|
-
/**
|
208
|
-
* Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
209
|
-
* scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
210
|
-
* performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
211
|
-
*/
|
212
|
-
setBlackboxPatterns(params: Protocol.Debugger.SetBlackboxPatternsRequest): Promise<void>;
|
213
|
-
|
214
|
-
/**
|
215
|
-
* Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
|
216
|
-
* scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
217
|
-
* Positions array contains positions where blackbox state is changed. First interval isn't
|
218
|
-
* blackboxed. Array should be sorted.
|
219
|
-
*/
|
220
|
-
setBlackboxedRanges(params: Protocol.Debugger.SetBlackboxedRangesRequest): Promise<void>;
|
221
|
-
|
222
|
-
/**
|
223
|
-
* Sets JavaScript breakpoint at a given location.
|
224
|
-
*/
|
225
|
-
setBreakpoint(params: Protocol.Debugger.SetBreakpointRequest): Promise<Protocol.Debugger.SetBreakpointResponse>;
|
226
|
-
|
227
|
-
/**
|
228
|
-
* Sets instrumentation breakpoint.
|
229
|
-
*/
|
230
|
-
setInstrumentationBreakpoint(params: Protocol.Debugger.SetInstrumentationBreakpointRequest): Promise<Protocol.Debugger.SetInstrumentationBreakpointResponse>;
|
231
|
-
|
232
|
-
/**
|
233
|
-
* Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
|
234
|
-
* command is issued, all existing parsed scripts will have breakpoints resolved and returned in
|
235
|
-
* `locations` property. Further matching script parsing will result in subsequent
|
236
|
-
* `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
|
237
|
-
*/
|
238
|
-
setBreakpointByUrl(params: Protocol.Debugger.SetBreakpointByUrlRequest): Promise<Protocol.Debugger.SetBreakpointByUrlResponse>;
|
239
|
-
|
240
|
-
/**
|
241
|
-
* Sets JavaScript breakpoint before each call to the given function.
|
242
|
-
* If another function was created from the same source as a given one,
|
243
|
-
* calling it will also trigger the breakpoint.
|
244
|
-
*/
|
245
|
-
setBreakpointOnFunctionCall(params: Protocol.Debugger.SetBreakpointOnFunctionCallRequest): Promise<Protocol.Debugger.SetBreakpointOnFunctionCallResponse>;
|
246
|
-
|
247
|
-
/**
|
248
|
-
* Activates / deactivates all breakpoints on the page.
|
249
|
-
*/
|
250
|
-
setBreakpointsActive(params: Protocol.Debugger.SetBreakpointsActiveRequest): Promise<void>;
|
251
|
-
|
252
|
-
/**
|
253
|
-
* Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
|
254
|
-
* no exceptions. Initial pause on exceptions state is `none`.
|
255
|
-
*/
|
256
|
-
setPauseOnExceptions(params: Protocol.Debugger.SetPauseOnExceptionsRequest): Promise<void>;
|
257
|
-
|
258
|
-
/**
|
259
|
-
* Changes return value in top frame. Available only at return break position.
|
260
|
-
*/
|
261
|
-
setReturnValue(params: Protocol.Debugger.SetReturnValueRequest): Promise<void>;
|
262
|
-
|
263
|
-
/**
|
264
|
-
* Edits JavaScript source live.
|
265
|
-
*/
|
266
|
-
setScriptSource(params: Protocol.Debugger.SetScriptSourceRequest): Promise<Protocol.Debugger.SetScriptSourceResponse>;
|
267
|
-
|
268
|
-
/**
|
269
|
-
* Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
|
270
|
-
*/
|
271
|
-
setSkipAllPauses(params: Protocol.Debugger.SetSkipAllPausesRequest): Promise<void>;
|
272
|
-
|
273
|
-
/**
|
274
|
-
* Changes value of variable in a callframe. Object-based scopes are not supported and must be
|
275
|
-
* mutated manually.
|
276
|
-
*/
|
277
|
-
setVariableValue(params: Protocol.Debugger.SetVariableValueRequest): Promise<void>;
|
278
|
-
|
279
|
-
/**
|
280
|
-
* Steps into the function call.
|
281
|
-
*/
|
282
|
-
stepInto(params: Protocol.Debugger.StepIntoRequest): Promise<void>;
|
283
|
-
|
284
|
-
/**
|
285
|
-
* Steps out of the function call.
|
286
|
-
*/
|
287
|
-
stepOut(): Promise<void>;
|
288
|
-
|
289
|
-
/**
|
290
|
-
* Steps over the statement.
|
291
|
-
*/
|
292
|
-
stepOver(params: Protocol.Debugger.StepOverRequest): Promise<void>;
|
293
|
-
|
294
|
-
/**
|
295
|
-
* Fired when breakpoint is resolved to an actual script and location.
|
296
|
-
*/
|
297
|
-
on(event: 'breakpointResolved', listener: (params: Protocol.Debugger.BreakpointResolvedEvent) => void): void;
|
298
|
-
|
299
|
-
/**
|
300
|
-
* Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
|
301
|
-
*/
|
302
|
-
on(event: 'paused', listener: (params: Protocol.Debugger.PausedEvent) => void): void;
|
303
|
-
|
304
|
-
/**
|
305
|
-
* Fired when the virtual machine resumed execution.
|
306
|
-
*/
|
307
|
-
on(event: 'resumed', listener: () => void): void;
|
308
|
-
|
309
|
-
/**
|
310
|
-
* Fired when virtual machine fails to parse the script.
|
311
|
-
*/
|
312
|
-
on(event: 'scriptFailedToParse', listener: (params: Protocol.Debugger.ScriptFailedToParseEvent) => void): void;
|
313
|
-
|
314
|
-
/**
|
315
|
-
* Fired when virtual machine parses script. This event is also fired for all known and uncollected
|
316
|
-
* scripts upon enabling debugger.
|
317
|
-
*/
|
318
|
-
on(event: 'scriptParsed', listener: (params: Protocol.Debugger.ScriptParsedEvent) => void): void;
|
319
|
-
|
320
|
-
}
|
321
|
-
|
322
|
-
export interface HeapProfilerApi {
|
323
|
-
/**
|
324
|
-
* Enables console to refer to the node with given id via $x (see Command Line API for more details
|
325
|
-
* $x functions).
|
326
|
-
*/
|
327
|
-
addInspectedHeapObject(params: Protocol.HeapProfiler.AddInspectedHeapObjectRequest): Promise<void>;
|
328
|
-
|
329
|
-
collectGarbage(): Promise<void>;
|
330
|
-
|
331
|
-
disable(): Promise<void>;
|
332
|
-
|
333
|
-
enable(): Promise<void>;
|
334
|
-
|
335
|
-
getHeapObjectId(params: Protocol.HeapProfiler.GetHeapObjectIdRequest): Promise<Protocol.HeapProfiler.GetHeapObjectIdResponse>;
|
336
|
-
|
337
|
-
getObjectByHeapObjectId(params: Protocol.HeapProfiler.GetObjectByHeapObjectIdRequest): Promise<Protocol.HeapProfiler.GetObjectByHeapObjectIdResponse>;
|
338
|
-
|
339
|
-
getSamplingProfile(): Promise<Protocol.HeapProfiler.GetSamplingProfileResponse>;
|
340
|
-
|
341
|
-
startSampling(params: Protocol.HeapProfiler.StartSamplingRequest): Promise<void>;
|
342
|
-
|
343
|
-
startTrackingHeapObjects(params: Protocol.HeapProfiler.StartTrackingHeapObjectsRequest): Promise<void>;
|
344
|
-
|
345
|
-
stopSampling(): Promise<Protocol.HeapProfiler.StopSamplingResponse>;
|
346
|
-
|
347
|
-
stopTrackingHeapObjects(params: Protocol.HeapProfiler.StopTrackingHeapObjectsRequest): Promise<void>;
|
348
|
-
|
349
|
-
takeHeapSnapshot(params: Protocol.HeapProfiler.TakeHeapSnapshotRequest): Promise<void>;
|
350
|
-
|
351
|
-
on(event: 'addHeapSnapshotChunk', listener: (params: Protocol.HeapProfiler.AddHeapSnapshotChunkEvent) => void): void;
|
352
|
-
|
353
|
-
/**
|
354
|
-
* If heap objects tracking has been started then backend may send update for one or more fragments
|
355
|
-
*/
|
356
|
-
on(event: 'heapStatsUpdate', listener: (params: Protocol.HeapProfiler.HeapStatsUpdateEvent) => void): void;
|
357
|
-
|
358
|
-
/**
|
359
|
-
* If heap objects tracking has been started then backend regularly sends a current value for last
|
360
|
-
* seen object id and corresponding timestamp. If the were changes in the heap since last event
|
361
|
-
* then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
|
362
|
-
*/
|
363
|
-
on(event: 'lastSeenObjectId', listener: (params: Protocol.HeapProfiler.LastSeenObjectIdEvent) => void): void;
|
364
|
-
|
365
|
-
on(event: 'reportHeapSnapshotProgress', listener: (params: Protocol.HeapProfiler.ReportHeapSnapshotProgressEvent) => void): void;
|
366
|
-
|
367
|
-
on(event: 'resetProfiles', listener: () => void): void;
|
368
|
-
|
369
|
-
}
|
370
|
-
|
371
|
-
export interface ProfilerApi {
|
372
|
-
disable(): Promise<void>;
|
373
|
-
|
374
|
-
enable(): Promise<void>;
|
375
|
-
|
376
|
-
/**
|
377
|
-
* Collect coverage data for the current isolate. The coverage data may be incomplete due to
|
378
|
-
* garbage collection.
|
379
|
-
*/
|
380
|
-
getBestEffortCoverage(): Promise<Protocol.Profiler.GetBestEffortCoverageResponse>;
|
381
|
-
|
382
|
-
/**
|
383
|
-
* Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
|
384
|
-
*/
|
385
|
-
setSamplingInterval(params: Protocol.Profiler.SetSamplingIntervalRequest): Promise<void>;
|
386
|
-
|
387
|
-
start(): Promise<void>;
|
388
|
-
|
389
|
-
/**
|
390
|
-
* Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
|
391
|
-
* coverage may be incomplete. Enabling prevents running optimized code and resets execution
|
392
|
-
* counters.
|
393
|
-
*/
|
394
|
-
startPreciseCoverage(params: Protocol.Profiler.StartPreciseCoverageRequest): Promise<Protocol.Profiler.StartPreciseCoverageResponse>;
|
395
|
-
|
396
|
-
/**
|
397
|
-
* Enable type profile.
|
398
|
-
*/
|
399
|
-
startTypeProfile(): Promise<void>;
|
400
|
-
|
401
|
-
stop(): Promise<Protocol.Profiler.StopResponse>;
|
402
|
-
|
403
|
-
/**
|
404
|
-
* Disable precise code coverage. Disabling releases unnecessary execution count records and allows
|
405
|
-
* executing optimized code.
|
406
|
-
*/
|
407
|
-
stopPreciseCoverage(): Promise<void>;
|
408
|
-
|
409
|
-
/**
|
410
|
-
* Disable type profile. Disabling releases type profile data collected so far.
|
411
|
-
*/
|
412
|
-
stopTypeProfile(): Promise<void>;
|
413
|
-
|
414
|
-
/**
|
415
|
-
* Collect coverage data for the current isolate, and resets execution counters. Precise code
|
416
|
-
* coverage needs to have started.
|
417
|
-
*/
|
418
|
-
takePreciseCoverage(): Promise<Protocol.Profiler.TakePreciseCoverageResponse>;
|
419
|
-
|
420
|
-
/**
|
421
|
-
* Collect type profile.
|
422
|
-
*/
|
423
|
-
takeTypeProfile(): Promise<Protocol.Profiler.TakeTypeProfileResponse>;
|
424
|
-
|
425
|
-
on(event: 'consoleProfileFinished', listener: (params: Protocol.Profiler.ConsoleProfileFinishedEvent) => void): void;
|
426
|
-
|
427
|
-
/**
|
428
|
-
* Sent when new profile recording is started using console.profile() call.
|
429
|
-
*/
|
430
|
-
on(event: 'consoleProfileStarted', listener: (params: Protocol.Profiler.ConsoleProfileStartedEvent) => void): void;
|
431
|
-
|
432
|
-
/**
|
433
|
-
* Reports coverage delta since the last poll (either from an event like this, or from
|
434
|
-
* `takePreciseCoverage` for the current isolate. May only be sent if precise code
|
435
|
-
* coverage has been started. This event can be trigged by the embedder to, for example,
|
436
|
-
* trigger collection of coverage data immediately at a certain point in time.
|
437
|
-
*/
|
438
|
-
on(event: 'preciseCoverageDeltaUpdate', listener: (params: Protocol.Profiler.PreciseCoverageDeltaUpdateEvent) => void): void;
|
439
|
-
|
440
|
-
}
|
441
|
-
|
442
|
-
export interface RuntimeApi {
|
443
|
-
/**
|
444
|
-
* Add handler to promise with given promise object id.
|
445
|
-
*/
|
446
|
-
awaitPromise(params: Protocol.Runtime.AwaitPromiseRequest): Promise<Protocol.Runtime.AwaitPromiseResponse>;
|
447
|
-
|
448
|
-
/**
|
449
|
-
* Calls function with given declaration on the given object. Object group of the result is
|
450
|
-
* inherited from the target object.
|
451
|
-
*/
|
452
|
-
callFunctionOn(params: Protocol.Runtime.CallFunctionOnRequest): Promise<Protocol.Runtime.CallFunctionOnResponse>;
|
453
|
-
|
454
|
-
/**
|
455
|
-
* Compiles expression.
|
456
|
-
*/
|
457
|
-
compileScript(params: Protocol.Runtime.CompileScriptRequest): Promise<Protocol.Runtime.CompileScriptResponse>;
|
458
|
-
|
459
|
-
/**
|
460
|
-
* Disables reporting of execution contexts creation.
|
461
|
-
*/
|
462
|
-
disable(): Promise<void>;
|
463
|
-
|
464
|
-
/**
|
465
|
-
* Discards collected exceptions and console API calls.
|
466
|
-
*/
|
467
|
-
discardConsoleEntries(): Promise<void>;
|
468
|
-
|
469
|
-
/**
|
470
|
-
* Enables reporting of execution contexts creation by means of `executionContextCreated` event.
|
471
|
-
* When the reporting gets enabled the event will be sent immediately for each existing execution
|
472
|
-
* context.
|
473
|
-
*/
|
474
|
-
enable(): Promise<void>;
|
475
|
-
|
476
|
-
/**
|
477
|
-
* Evaluates expression on global object.
|
478
|
-
*/
|
479
|
-
evaluate(params: Protocol.Runtime.EvaluateRequest): Promise<Protocol.Runtime.EvaluateResponse>;
|
480
|
-
|
481
|
-
/**
|
482
|
-
* Returns the isolate id.
|
483
|
-
*/
|
484
|
-
getIsolateId(): Promise<Protocol.Runtime.GetIsolateIdResponse>;
|
485
|
-
|
486
|
-
/**
|
487
|
-
* Returns the JavaScript heap usage.
|
488
|
-
* It is the total usage of the corresponding isolate not scoped to a particular Runtime.
|
489
|
-
*/
|
490
|
-
getHeapUsage(): Promise<Protocol.Runtime.GetHeapUsageResponse>;
|
491
|
-
|
492
|
-
/**
|
493
|
-
* Returns properties of a given object. Object group of the result is inherited from the target
|
494
|
-
* object.
|
495
|
-
*/
|
496
|
-
getProperties(params: Protocol.Runtime.GetPropertiesRequest): Promise<Protocol.Runtime.GetPropertiesResponse>;
|
497
|
-
|
498
|
-
/**
|
499
|
-
* Returns all let, const and class variables from global scope.
|
500
|
-
*/
|
501
|
-
globalLexicalScopeNames(params: Protocol.Runtime.GlobalLexicalScopeNamesRequest): Promise<Protocol.Runtime.GlobalLexicalScopeNamesResponse>;
|
502
|
-
|
503
|
-
queryObjects(params: Protocol.Runtime.QueryObjectsRequest): Promise<Protocol.Runtime.QueryObjectsResponse>;
|
504
|
-
|
505
|
-
/**
|
506
|
-
* Releases remote object with given id.
|
507
|
-
*/
|
508
|
-
releaseObject(params: Protocol.Runtime.ReleaseObjectRequest): Promise<void>;
|
509
|
-
|
510
|
-
/**
|
511
|
-
* Releases all remote objects that belong to a given group.
|
512
|
-
*/
|
513
|
-
releaseObjectGroup(params: Protocol.Runtime.ReleaseObjectGroupRequest): Promise<void>;
|
514
|
-
|
515
|
-
/**
|
516
|
-
* Tells inspected instance to run if it was waiting for debugger to attach.
|
517
|
-
*/
|
518
|
-
runIfWaitingForDebugger(): Promise<void>;
|
519
|
-
|
520
|
-
/**
|
521
|
-
* Runs script with given id in a given context.
|
522
|
-
*/
|
523
|
-
runScript(params: Protocol.Runtime.RunScriptRequest): Promise<Protocol.Runtime.RunScriptResponse>;
|
524
|
-
|
525
|
-
/**
|
526
|
-
* Enables or disables async call stacks tracking.
|
527
|
-
*/
|
528
|
-
setAsyncCallStackDepth(params: Protocol.Runtime.SetAsyncCallStackDepthRequest): Promise<void>;
|
529
|
-
|
530
|
-
setCustomObjectFormatterEnabled(params: Protocol.Runtime.SetCustomObjectFormatterEnabledRequest): Promise<void>;
|
531
|
-
|
532
|
-
setMaxCallStackSizeToCapture(params: Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest): Promise<void>;
|
533
|
-
|
534
|
-
/**
|
535
|
-
* Terminate current or next JavaScript execution.
|
536
|
-
* Will cancel the termination when the outer-most script execution ends.
|
537
|
-
*/
|
538
|
-
terminateExecution(): Promise<void>;
|
539
|
-
|
540
|
-
/**
|
541
|
-
* If executionContextId is empty, adds binding with the given name on the
|
542
|
-
* global objects of all inspected contexts, including those created later,
|
543
|
-
* bindings survive reloads.
|
544
|
-
* Binding function takes exactly one argument, this argument should be string,
|
545
|
-
* in case of any other input, function throws an exception.
|
546
|
-
* Each binding function call produces Runtime.bindingCalled notification.
|
547
|
-
*/
|
548
|
-
addBinding(params: Protocol.Runtime.AddBindingRequest): Promise<void>;
|
549
|
-
|
550
|
-
/**
|
551
|
-
* This method does not remove binding function from global object but
|
552
|
-
* unsubscribes current runtime agent from Runtime.bindingCalled notifications.
|
553
|
-
*/
|
554
|
-
removeBinding(params: Protocol.Runtime.RemoveBindingRequest): Promise<void>;
|
555
|
-
|
556
|
-
/**
|
557
|
-
* Notification is issued every time when binding is called.
|
558
|
-
*/
|
559
|
-
on(event: 'bindingCalled', listener: (params: Protocol.Runtime.BindingCalledEvent) => void): void;
|
560
|
-
|
561
|
-
/**
|
562
|
-
* Issued when console API was called.
|
563
|
-
*/
|
564
|
-
on(event: 'consoleAPICalled', listener: (params: Protocol.Runtime.ConsoleAPICalledEvent) => void): void;
|
565
|
-
|
566
|
-
/**
|
567
|
-
* Issued when unhandled exception was revoked.
|
568
|
-
*/
|
569
|
-
on(event: 'exceptionRevoked', listener: (params: Protocol.Runtime.ExceptionRevokedEvent) => void): void;
|
570
|
-
|
571
|
-
/**
|
572
|
-
* Issued when exception was thrown and unhandled.
|
573
|
-
*/
|
574
|
-
on(event: 'exceptionThrown', listener: (params: Protocol.Runtime.ExceptionThrownEvent) => void): void;
|
575
|
-
|
576
|
-
/**
|
577
|
-
* Issued when new execution context is created.
|
578
|
-
*/
|
579
|
-
on(event: 'executionContextCreated', listener: (params: Protocol.Runtime.ExecutionContextCreatedEvent) => void): void;
|
580
|
-
|
581
|
-
/**
|
582
|
-
* Issued when execution context is destroyed.
|
583
|
-
*/
|
584
|
-
on(event: 'executionContextDestroyed', listener: (params: Protocol.Runtime.ExecutionContextDestroyedEvent) => void): void;
|
585
|
-
|
586
|
-
/**
|
587
|
-
* Issued when all executionContexts were cleared in browser
|
588
|
-
*/
|
589
|
-
on(event: 'executionContextsCleared', listener: () => void): void;
|
590
|
-
|
591
|
-
/**
|
592
|
-
* Issued when object should be inspected (for example, as a result of inspect() command line API
|
593
|
-
* call).
|
594
|
-
*/
|
595
|
-
on(event: 'inspectRequested', listener: (params: Protocol.Runtime.InspectRequestedEvent) => void): void;
|
596
|
-
|
597
|
-
}
|
598
|
-
|
599
|
-
export interface SchemaApi {
|
600
|
-
/**
|
601
|
-
* Returns supported domains.
|
602
|
-
*/
|
603
|
-
getDomains(): Promise<Protocol.Schema.GetDomainsResponse>;
|
604
|
-
|
605
|
-
}
|
606
|
-
|
607
|
-
export interface AccessibilityApi {
|
608
|
-
/**
|
609
|
-
* Disables the accessibility domain.
|
610
|
-
*/
|
611
|
-
disable(): Promise<void>;
|
612
|
-
|
613
|
-
/**
|
614
|
-
* Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.
|
615
|
-
* This turns on accessibility for the page, which can impact performance until accessibility is disabled.
|
616
|
-
*/
|
617
|
-
enable(): Promise<void>;
|
618
|
-
|
619
|
-
/**
|
620
|
-
* Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
|
621
|
-
*/
|
622
|
-
getPartialAXTree(params: Protocol.Accessibility.GetPartialAXTreeRequest): Promise<Protocol.Accessibility.GetPartialAXTreeResponse>;
|
623
|
-
|
624
|
-
/**
|
625
|
-
* Fetches the entire accessibility tree for the root Document
|
626
|
-
*/
|
627
|
-
getFullAXTree(params: Protocol.Accessibility.GetFullAXTreeRequest): Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
|
628
|
-
|
629
|
-
/**
|
630
|
-
* Fetches a particular accessibility node by AXNodeId.
|
631
|
-
* Requires `enable()` to have been called previously.
|
632
|
-
*/
|
633
|
-
getChildAXNodes(params: Protocol.Accessibility.GetChildAXNodesRequest): Promise<Protocol.Accessibility.GetChildAXNodesResponse>;
|
634
|
-
|
635
|
-
/**
|
636
|
-
* Query a DOM node's accessibility subtree for accessible name and role.
|
637
|
-
* This command computes the name and role for all nodes in the subtree, including those that are
|
638
|
-
* ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
639
|
-
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
640
|
-
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
641
|
-
*/
|
642
|
-
queryAXTree(params: Protocol.Accessibility.QueryAXTreeRequest): Promise<Protocol.Accessibility.QueryAXTreeResponse>;
|
643
|
-
|
644
|
-
}
|
645
|
-
|
646
|
-
export interface AnimationApi {
|
647
|
-
/**
|
648
|
-
* Disables animation domain notifications.
|
649
|
-
*/
|
650
|
-
disable(): Promise<void>;
|
651
|
-
|
652
|
-
/**
|
653
|
-
* Enables animation domain notifications.
|
654
|
-
*/
|
655
|
-
enable(): Promise<void>;
|
656
|
-
|
657
|
-
/**
|
658
|
-
* Returns the current time of the an animation.
|
659
|
-
*/
|
660
|
-
getCurrentTime(params: Protocol.Animation.GetCurrentTimeRequest): Promise<Protocol.Animation.GetCurrentTimeResponse>;
|
661
|
-
|
662
|
-
/**
|
663
|
-
* Gets the playback rate of the document timeline.
|
664
|
-
*/
|
665
|
-
getPlaybackRate(): Promise<Protocol.Animation.GetPlaybackRateResponse>;
|
666
|
-
|
667
|
-
/**
|
668
|
-
* Releases a set of animations to no longer be manipulated.
|
669
|
-
*/
|
670
|
-
releaseAnimations(params: Protocol.Animation.ReleaseAnimationsRequest): Promise<void>;
|
671
|
-
|
672
|
-
/**
|
673
|
-
* Gets the remote object of the Animation.
|
674
|
-
*/
|
675
|
-
resolveAnimation(params: Protocol.Animation.ResolveAnimationRequest): Promise<Protocol.Animation.ResolveAnimationResponse>;
|
676
|
-
|
677
|
-
/**
|
678
|
-
* Seek a set of animations to a particular time within each animation.
|
679
|
-
*/
|
680
|
-
seekAnimations(params: Protocol.Animation.SeekAnimationsRequest): Promise<void>;
|
681
|
-
|
682
|
-
/**
|
683
|
-
* Sets the paused state of a set of animations.
|
684
|
-
*/
|
685
|
-
setPaused(params: Protocol.Animation.SetPausedRequest): Promise<void>;
|
686
|
-
|
687
|
-
/**
|
688
|
-
* Sets the playback rate of the document timeline.
|
689
|
-
*/
|
690
|
-
setPlaybackRate(params: Protocol.Animation.SetPlaybackRateRequest): Promise<void>;
|
691
|
-
|
692
|
-
/**
|
693
|
-
* Sets the timing of an animation node.
|
694
|
-
*/
|
695
|
-
setTiming(params: Protocol.Animation.SetTimingRequest): Promise<void>;
|
696
|
-
|
697
|
-
/**
|
698
|
-
* Event for when an animation has been cancelled.
|
699
|
-
*/
|
700
|
-
on(event: 'animationCanceled', listener: (params: Protocol.Animation.AnimationCanceledEvent) => void): void;
|
701
|
-
|
702
|
-
/**
|
703
|
-
* Event for each animation that has been created.
|
704
|
-
*/
|
705
|
-
on(event: 'animationCreated', listener: (params: Protocol.Animation.AnimationCreatedEvent) => void): void;
|
706
|
-
|
707
|
-
/**
|
708
|
-
* Event for animation that has been started.
|
709
|
-
*/
|
710
|
-
on(event: 'animationStarted', listener: (params: Protocol.Animation.AnimationStartedEvent) => void): void;
|
711
|
-
|
712
|
-
}
|
713
|
-
|
714
|
-
export interface AuditsApi {
|
715
|
-
/**
|
716
|
-
* Returns the response body and size if it were re-encoded with the specified settings. Only
|
717
|
-
* applies to images.
|
718
|
-
*/
|
719
|
-
getEncodedResponse(params: Protocol.Audits.GetEncodedResponseRequest): Promise<Protocol.Audits.GetEncodedResponseResponse>;
|
720
|
-
|
721
|
-
/**
|
722
|
-
* Disables issues domain, prevents further issues from being reported to the client.
|
723
|
-
*/
|
724
|
-
disable(): Promise<void>;
|
725
|
-
|
726
|
-
/**
|
727
|
-
* Enables issues domain, sends the issues collected so far to the client by means of the
|
728
|
-
* `issueAdded` event.
|
729
|
-
*/
|
730
|
-
enable(): Promise<void>;
|
731
|
-
|
732
|
-
/**
|
733
|
-
* Runs the contrast check for the target page. Found issues are reported
|
734
|
-
* using Audits.issueAdded event.
|
735
|
-
*/
|
736
|
-
checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<void>;
|
737
|
-
|
738
|
-
on(event: 'issueAdded', listener: (params: Protocol.Audits.IssueAddedEvent) => void): void;
|
739
|
-
|
740
|
-
}
|
741
|
-
|
742
|
-
export interface BackgroundServiceApi {
|
743
|
-
/**
|
744
|
-
* Enables event updates for the service.
|
745
|
-
*/
|
746
|
-
startObserving(params: Protocol.BackgroundService.StartObservingRequest): Promise<void>;
|
747
|
-
|
748
|
-
/**
|
749
|
-
* Disables event updates for the service.
|
750
|
-
*/
|
751
|
-
stopObserving(params: Protocol.BackgroundService.StopObservingRequest): Promise<void>;
|
752
|
-
|
753
|
-
/**
|
754
|
-
* Set the recording state for the service.
|
755
|
-
*/
|
756
|
-
setRecording(params: Protocol.BackgroundService.SetRecordingRequest): Promise<void>;
|
757
|
-
|
758
|
-
/**
|
759
|
-
* Clears all stored data for the service.
|
760
|
-
*/
|
761
|
-
clearEvents(params: Protocol.BackgroundService.ClearEventsRequest): Promise<void>;
|
762
|
-
|
763
|
-
/**
|
764
|
-
* Called when the recording state for the service has been updated.
|
765
|
-
*/
|
766
|
-
on(event: 'recordingStateChanged', listener: (params: Protocol.BackgroundService.RecordingStateChangedEvent) => void): void;
|
767
|
-
|
768
|
-
/**
|
769
|
-
* Called with all existing backgroundServiceEvents when enabled, and all new
|
770
|
-
* events afterwards if enabled and recording.
|
771
|
-
*/
|
772
|
-
on(event: 'backgroundServiceEventReceived', listener: (params: Protocol.BackgroundService.BackgroundServiceEventReceivedEvent) => void): void;
|
773
|
-
|
774
|
-
}
|
775
|
-
|
776
|
-
export interface BrowserApi {
|
777
|
-
/**
|
778
|
-
* Set permission settings for given origin.
|
779
|
-
*/
|
780
|
-
setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;
|
781
|
-
|
782
|
-
/**
|
783
|
-
* Grant specific permissions to the given origin and reject all others.
|
784
|
-
*/
|
785
|
-
grantPermissions(params: Protocol.Browser.GrantPermissionsRequest): Promise<void>;
|
786
|
-
|
787
|
-
/**
|
788
|
-
* Reset all permission management for all origins.
|
789
|
-
*/
|
790
|
-
resetPermissions(params: Protocol.Browser.ResetPermissionsRequest): Promise<void>;
|
791
|
-
|
792
|
-
/**
|
793
|
-
* Set the behavior when downloading a file.
|
794
|
-
*/
|
795
|
-
setDownloadBehavior(params: Protocol.Browser.SetDownloadBehaviorRequest): Promise<void>;
|
796
|
-
|
797
|
-
/**
|
798
|
-
* Cancel a download if in progress
|
799
|
-
*/
|
800
|
-
cancelDownload(params: Protocol.Browser.CancelDownloadRequest): Promise<void>;
|
801
|
-
|
802
|
-
/**
|
803
|
-
* Close browser gracefully.
|
804
|
-
*/
|
805
|
-
close(): Promise<void>;
|
806
|
-
|
807
|
-
/**
|
808
|
-
* Crashes browser on the main thread.
|
809
|
-
*/
|
810
|
-
crash(): Promise<void>;
|
811
|
-
|
812
|
-
/**
|
813
|
-
* Crashes GPU process.
|
814
|
-
*/
|
815
|
-
crashGpuProcess(): Promise<void>;
|
816
|
-
|
817
|
-
/**
|
818
|
-
* Returns version information.
|
819
|
-
*/
|
820
|
-
getVersion(): Promise<Protocol.Browser.GetVersionResponse>;
|
821
|
-
|
822
|
-
/**
|
823
|
-
* Returns the command line switches for the browser process if, and only if
|
824
|
-
* --enable-automation is on the commandline.
|
825
|
-
*/
|
826
|
-
getBrowserCommandLine(): Promise<Protocol.Browser.GetBrowserCommandLineResponse>;
|
827
|
-
|
828
|
-
/**
|
829
|
-
* Get Chrome histograms.
|
830
|
-
*/
|
831
|
-
getHistograms(params: Protocol.Browser.GetHistogramsRequest): Promise<Protocol.Browser.GetHistogramsResponse>;
|
832
|
-
|
833
|
-
/**
|
834
|
-
* Get a Chrome histogram by name.
|
835
|
-
*/
|
836
|
-
getHistogram(params: Protocol.Browser.GetHistogramRequest): Promise<Protocol.Browser.GetHistogramResponse>;
|
837
|
-
|
838
|
-
/**
|
839
|
-
* Get position and size of the browser window.
|
840
|
-
*/
|
841
|
-
getWindowBounds(params: Protocol.Browser.GetWindowBoundsRequest): Promise<Protocol.Browser.GetWindowBoundsResponse>;
|
842
|
-
|
843
|
-
/**
|
844
|
-
* Get the browser window that contains the devtools target.
|
845
|
-
*/
|
846
|
-
getWindowForTarget(params: Protocol.Browser.GetWindowForTargetRequest): Promise<Protocol.Browser.GetWindowForTargetResponse>;
|
847
|
-
|
848
|
-
/**
|
849
|
-
* Set position and/or size of the browser window.
|
850
|
-
*/
|
851
|
-
setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<void>;
|
852
|
-
|
853
|
-
/**
|
854
|
-
* Set dock tile details, platform-specific.
|
855
|
-
*/
|
856
|
-
setDockTile(params: Protocol.Browser.SetDockTileRequest): Promise<void>;
|
857
|
-
|
858
|
-
/**
|
859
|
-
* Invoke custom browser commands used by telemetry.
|
860
|
-
*/
|
861
|
-
executeBrowserCommand(params: Protocol.Browser.ExecuteBrowserCommandRequest): Promise<void>;
|
862
|
-
|
863
|
-
/**
|
864
|
-
* Fired when page is about to start a download.
|
865
|
-
*/
|
866
|
-
on(event: 'downloadWillBegin', listener: (params: Protocol.Browser.DownloadWillBeginEvent) => void): void;
|
867
|
-
|
868
|
-
/**
|
869
|
-
* Fired when download makes progress. Last call has |done| == true.
|
870
|
-
*/
|
871
|
-
on(event: 'downloadProgress', listener: (params: Protocol.Browser.DownloadProgressEvent) => void): void;
|
872
|
-
|
873
|
-
}
|
874
|
-
|
875
|
-
export interface CSSApi {
|
876
|
-
/**
|
877
|
-
* Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
|
878
|
-
* position specified by `location`.
|
879
|
-
*/
|
880
|
-
addRule(params: Protocol.CSS.AddRuleRequest): Promise<Protocol.CSS.AddRuleResponse>;
|
881
|
-
|
882
|
-
/**
|
883
|
-
* Returns all class names from specified stylesheet.
|
884
|
-
*/
|
885
|
-
collectClassNames(params: Protocol.CSS.CollectClassNamesRequest): Promise<Protocol.CSS.CollectClassNamesResponse>;
|
886
|
-
|
887
|
-
/**
|
888
|
-
* Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
|
889
|
-
*/
|
890
|
-
createStyleSheet(params: Protocol.CSS.CreateStyleSheetRequest): Promise<Protocol.CSS.CreateStyleSheetResponse>;
|
891
|
-
|
892
|
-
/**
|
893
|
-
* Disables the CSS agent for the given page.
|
894
|
-
*/
|
895
|
-
disable(): Promise<void>;
|
896
|
-
|
897
|
-
/**
|
898
|
-
* Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been
|
899
|
-
* enabled until the result of this command is received.
|
900
|
-
*/
|
901
|
-
enable(): Promise<void>;
|
902
|
-
|
903
|
-
/**
|
904
|
-
* Ensures that the given node will have specified pseudo-classes whenever its style is computed by
|
905
|
-
* the browser.
|
906
|
-
*/
|
907
|
-
forcePseudoState(params: Protocol.CSS.ForcePseudoStateRequest): Promise<void>;
|
908
|
-
|
909
|
-
getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<Protocol.CSS.GetBackgroundColorsResponse>;
|
910
|
-
|
911
|
-
/**
|
912
|
-
* Returns the computed style for a DOM node identified by `nodeId`.
|
913
|
-
*/
|
914
|
-
getComputedStyleForNode(params: Protocol.CSS.GetComputedStyleForNodeRequest): Promise<Protocol.CSS.GetComputedStyleForNodeResponse>;
|
915
|
-
|
916
|
-
/**
|
917
|
-
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
|
918
|
-
* attributes) for a DOM node identified by `nodeId`.
|
919
|
-
*/
|
920
|
-
getInlineStylesForNode(params: Protocol.CSS.GetInlineStylesForNodeRequest): Promise<Protocol.CSS.GetInlineStylesForNodeResponse>;
|
921
|
-
|
922
|
-
/**
|
923
|
-
* Returns requested styles for a DOM node identified by `nodeId`.
|
924
|
-
*/
|
925
|
-
getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest): Promise<Protocol.CSS.GetMatchedStylesForNodeResponse>;
|
926
|
-
|
927
|
-
/**
|
928
|
-
* Returns all media queries parsed by the rendering engine.
|
929
|
-
*/
|
930
|
-
getMediaQueries(): Promise<Protocol.CSS.GetMediaQueriesResponse>;
|
931
|
-
|
932
|
-
/**
|
933
|
-
* Requests information about platform fonts which we used to render child TextNodes in the given
|
934
|
-
* node.
|
935
|
-
*/
|
936
|
-
getPlatformFontsForNode(params: Protocol.CSS.GetPlatformFontsForNodeRequest): Promise<Protocol.CSS.GetPlatformFontsForNodeResponse>;
|
937
|
-
|
938
|
-
/**
|
939
|
-
* Returns the current textual content for a stylesheet.
|
940
|
-
*/
|
941
|
-
getStyleSheetText(params: Protocol.CSS.GetStyleSheetTextRequest): Promise<Protocol.CSS.GetStyleSheetTextResponse>;
|
942
|
-
|
943
|
-
/**
|
944
|
-
* Starts tracking the given computed styles for updates. The specified array of properties
|
945
|
-
* replaces the one previously specified. Pass empty array to disable tracking.
|
946
|
-
* Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
|
947
|
-
* The changes to computed style properties are only tracked for nodes pushed to the front-end
|
948
|
-
* by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
|
949
|
-
* to the front-end, no updates will be issued for the node.
|
950
|
-
*/
|
951
|
-
trackComputedStyleUpdates(params: Protocol.CSS.TrackComputedStyleUpdatesRequest): Promise<void>;
|
952
|
-
|
953
|
-
/**
|
954
|
-
* Polls the next batch of computed style updates.
|
955
|
-
*/
|
956
|
-
takeComputedStyleUpdates(): Promise<Protocol.CSS.TakeComputedStyleUpdatesResponse>;
|
957
|
-
|
958
|
-
/**
|
959
|
-
* Find a rule with the given active property for the given node and set the new value for this
|
960
|
-
* property
|
961
|
-
*/
|
962
|
-
setEffectivePropertyValueForNode(params: Protocol.CSS.SetEffectivePropertyValueForNodeRequest): Promise<void>;
|
963
|
-
|
964
|
-
/**
|
965
|
-
* Modifies the keyframe rule key text.
|
966
|
-
*/
|
967
|
-
setKeyframeKey(params: Protocol.CSS.SetKeyframeKeyRequest): Promise<Protocol.CSS.SetKeyframeKeyResponse>;
|
968
|
-
|
969
|
-
/**
|
970
|
-
* Modifies the rule selector.
|
971
|
-
*/
|
972
|
-
setMediaText(params: Protocol.CSS.SetMediaTextRequest): Promise<Protocol.CSS.SetMediaTextResponse>;
|
973
|
-
|
974
|
-
/**
|
975
|
-
* Modifies the expression of a container query.
|
976
|
-
*/
|
977
|
-
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
|
978
|
-
|
979
|
-
/**
|
980
|
-
* Modifies the rule selector.
|
981
|
-
*/
|
982
|
-
setRuleSelector(params: Protocol.CSS.SetRuleSelectorRequest): Promise<Protocol.CSS.SetRuleSelectorResponse>;
|
983
|
-
|
984
|
-
/**
|
985
|
-
* Sets the new stylesheet text.
|
986
|
-
*/
|
987
|
-
setStyleSheetText(params: Protocol.CSS.SetStyleSheetTextRequest): Promise<Protocol.CSS.SetStyleSheetTextResponse>;
|
988
|
-
|
989
|
-
/**
|
990
|
-
* Applies specified style edits one after another in the given order.
|
991
|
-
*/
|
992
|
-
setStyleTexts(params: Protocol.CSS.SetStyleTextsRequest): Promise<Protocol.CSS.SetStyleTextsResponse>;
|
993
|
-
|
994
|
-
/**
|
995
|
-
* Enables the selector recording.
|
996
|
-
*/
|
997
|
-
startRuleUsageTracking(): Promise<void>;
|
998
|
-
|
999
|
-
/**
|
1000
|
-
* Stop tracking rule usage and return the list of rules that were used since last call to
|
1001
|
-
* `takeCoverageDelta` (or since start of coverage instrumentation)
|
1002
|
-
*/
|
1003
|
-
stopRuleUsageTracking(): Promise<Protocol.CSS.StopRuleUsageTrackingResponse>;
|
1004
|
-
|
1005
|
-
/**
|
1006
|
-
* Obtain list of rules that became used since last call to this method (or since start of coverage
|
1007
|
-
* instrumentation)
|
1008
|
-
*/
|
1009
|
-
takeCoverageDelta(): Promise<Protocol.CSS.TakeCoverageDeltaResponse>;
|
1010
|
-
|
1011
|
-
/**
|
1012
|
-
* Enables/disables rendering of local CSS fonts (enabled by default).
|
1013
|
-
*/
|
1014
|
-
setLocalFontsEnabled(params: Protocol.CSS.SetLocalFontsEnabledRequest): Promise<void>;
|
1015
|
-
|
1016
|
-
/**
|
1017
|
-
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
1018
|
-
* web font
|
1019
|
-
*/
|
1020
|
-
on(event: 'fontsUpdated', listener: (params: Protocol.CSS.FontsUpdatedEvent) => void): void;
|
1021
|
-
|
1022
|
-
/**
|
1023
|
-
* Fires whenever a MediaQuery result changes (for example, after a browser window has been
|
1024
|
-
* resized.) The current implementation considers only viewport-dependent media features.
|
1025
|
-
*/
|
1026
|
-
on(event: 'mediaQueryResultChanged', listener: () => void): void;
|
1027
|
-
|
1028
|
-
/**
|
1029
|
-
* Fired whenever an active document stylesheet is added.
|
1030
|
-
*/
|
1031
|
-
on(event: 'styleSheetAdded', listener: (params: Protocol.CSS.StyleSheetAddedEvent) => void): void;
|
1032
|
-
|
1033
|
-
/**
|
1034
|
-
* Fired whenever a stylesheet is changed as a result of the client operation.
|
1035
|
-
*/
|
1036
|
-
on(event: 'styleSheetChanged', listener: (params: Protocol.CSS.StyleSheetChangedEvent) => void): void;
|
1037
|
-
|
1038
|
-
/**
|
1039
|
-
* Fired whenever an active document stylesheet is removed.
|
1040
|
-
*/
|
1041
|
-
on(event: 'styleSheetRemoved', listener: (params: Protocol.CSS.StyleSheetRemovedEvent) => void): void;
|
1042
|
-
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
export interface CacheStorageApi {
|
1046
|
-
/**
|
1047
|
-
* Deletes a cache.
|
1048
|
-
*/
|
1049
|
-
deleteCache(params: Protocol.CacheStorage.DeleteCacheRequest): Promise<void>;
|
1050
|
-
|
1051
|
-
/**
|
1052
|
-
* Deletes a cache entry.
|
1053
|
-
*/
|
1054
|
-
deleteEntry(params: Protocol.CacheStorage.DeleteEntryRequest): Promise<void>;
|
1055
|
-
|
1056
|
-
/**
|
1057
|
-
* Requests cache names.
|
1058
|
-
*/
|
1059
|
-
requestCacheNames(params: Protocol.CacheStorage.RequestCacheNamesRequest): Promise<Protocol.CacheStorage.RequestCacheNamesResponse>;
|
1060
|
-
|
1061
|
-
/**
|
1062
|
-
* Fetches cache entry.
|
1063
|
-
*/
|
1064
|
-
requestCachedResponse(params: Protocol.CacheStorage.RequestCachedResponseRequest): Promise<Protocol.CacheStorage.RequestCachedResponseResponse>;
|
1065
|
-
|
1066
|
-
/**
|
1067
|
-
* Requests data from cache.
|
1068
|
-
*/
|
1069
|
-
requestEntries(params: Protocol.CacheStorage.RequestEntriesRequest): Promise<Protocol.CacheStorage.RequestEntriesResponse>;
|
1070
|
-
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
export interface CastApi {
|
1074
|
-
/**
|
1075
|
-
* Starts observing for sinks that can be used for tab mirroring, and if set,
|
1076
|
-
* sinks compatible with |presentationUrl| as well. When sinks are found, a
|
1077
|
-
* |sinksUpdated| event is fired.
|
1078
|
-
* Also starts observing for issue messages. When an issue is added or removed,
|
1079
|
-
* an |issueUpdated| event is fired.
|
1080
|
-
*/
|
1081
|
-
enable(params: Protocol.Cast.EnableRequest): Promise<void>;
|
1082
|
-
|
1083
|
-
/**
|
1084
|
-
* Stops observing for sinks and issues.
|
1085
|
-
*/
|
1086
|
-
disable(): Promise<void>;
|
1087
|
-
|
1088
|
-
/**
|
1089
|
-
* Sets a sink to be used when the web page requests the browser to choose a
|
1090
|
-
* sink via Presentation API, Remote Playback API, or Cast SDK.
|
1091
|
-
*/
|
1092
|
-
setSinkToUse(params: Protocol.Cast.SetSinkToUseRequest): Promise<void>;
|
1093
|
-
|
1094
|
-
/**
|
1095
|
-
* Starts mirroring the tab to the sink.
|
1096
|
-
*/
|
1097
|
-
startTabMirroring(params: Protocol.Cast.StartTabMirroringRequest): Promise<void>;
|
1098
|
-
|
1099
|
-
/**
|
1100
|
-
* Stops the active Cast session on the sink.
|
1101
|
-
*/
|
1102
|
-
stopCasting(params: Protocol.Cast.StopCastingRequest): Promise<void>;
|
1103
|
-
|
1104
|
-
/**
|
1105
|
-
* This is fired whenever the list of available sinks changes. A sink is a
|
1106
|
-
* device or a software surface that you can cast to.
|
1107
|
-
*/
|
1108
|
-
on(event: 'sinksUpdated', listener: (params: Protocol.Cast.SinksUpdatedEvent) => void): void;
|
1109
|
-
|
1110
|
-
/**
|
1111
|
-
* This is fired whenever the outstanding issue/error message changes.
|
1112
|
-
* |issueMessage| is empty if there is no issue.
|
1113
|
-
*/
|
1114
|
-
on(event: 'issueUpdated', listener: (params: Protocol.Cast.IssueUpdatedEvent) => void): void;
|
1115
|
-
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
export interface DOMApi {
|
1119
|
-
/**
|
1120
|
-
* Collects class names for the node with given id and all of it's child nodes.
|
1121
|
-
*/
|
1122
|
-
collectClassNamesFromSubtree(params: Protocol.DOM.CollectClassNamesFromSubtreeRequest): Promise<Protocol.DOM.CollectClassNamesFromSubtreeResponse>;
|
1123
|
-
|
1124
|
-
/**
|
1125
|
-
* Creates a deep copy of the specified node and places it into the target container before the
|
1126
|
-
* given anchor.
|
1127
|
-
*/
|
1128
|
-
copyTo(params: Protocol.DOM.CopyToRequest): Promise<Protocol.DOM.CopyToResponse>;
|
1129
|
-
|
1130
|
-
/**
|
1131
|
-
* Describes node given its id, does not require domain to be enabled. Does not start tracking any
|
1132
|
-
* objects, can be used for automation.
|
1133
|
-
*/
|
1134
|
-
describeNode(params: Protocol.DOM.DescribeNodeRequest): Promise<Protocol.DOM.DescribeNodeResponse>;
|
1135
|
-
|
1136
|
-
/**
|
1137
|
-
* Scrolls the specified rect of the given node into view if not already visible.
|
1138
|
-
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
1139
|
-
* to identify the node.
|
1140
|
-
*/
|
1141
|
-
scrollIntoViewIfNeeded(params: Protocol.DOM.ScrollIntoViewIfNeededRequest): Promise<void>;
|
1142
|
-
|
1143
|
-
/**
|
1144
|
-
* Disables DOM agent for the given page.
|
1145
|
-
*/
|
1146
|
-
disable(): Promise<void>;
|
1147
|
-
|
1148
|
-
/**
|
1149
|
-
* Discards search results from the session with the given id. `getSearchResults` should no longer
|
1150
|
-
* be called for that search.
|
1151
|
-
*/
|
1152
|
-
discardSearchResults(params: Protocol.DOM.DiscardSearchResultsRequest): Promise<void>;
|
1153
|
-
|
1154
|
-
/**
|
1155
|
-
* Enables DOM agent for the given page.
|
1156
|
-
*/
|
1157
|
-
enable(): Promise<void>;
|
1158
|
-
|
1159
|
-
/**
|
1160
|
-
* Focuses the given element.
|
1161
|
-
*/
|
1162
|
-
focus(params: Protocol.DOM.FocusRequest): Promise<void>;
|
1163
|
-
|
1164
|
-
/**
|
1165
|
-
* Returns attributes for the specified node.
|
1166
|
-
*/
|
1167
|
-
getAttributes(params: Protocol.DOM.GetAttributesRequest): Promise<Protocol.DOM.GetAttributesResponse>;
|
1168
|
-
|
1169
|
-
/**
|
1170
|
-
* Returns boxes for the given node.
|
1171
|
-
*/
|
1172
|
-
getBoxModel(params: Protocol.DOM.GetBoxModelRequest): Promise<Protocol.DOM.GetBoxModelResponse>;
|
1173
|
-
|
1174
|
-
/**
|
1175
|
-
* Returns quads that describe node position on the page. This method
|
1176
|
-
* might return multiple quads for inline nodes.
|
1177
|
-
*/
|
1178
|
-
getContentQuads(params: Protocol.DOM.GetContentQuadsRequest): Promise<Protocol.DOM.GetContentQuadsResponse>;
|
1179
|
-
|
1180
|
-
/**
|
1181
|
-
* Returns the root DOM node (and optionally the subtree) to the caller.
|
1182
|
-
*/
|
1183
|
-
getDocument(params: Protocol.DOM.GetDocumentRequest): Promise<Protocol.DOM.GetDocumentResponse>;
|
1184
|
-
|
1185
|
-
/**
|
1186
|
-
* Returns the root DOM node (and optionally the subtree) to the caller.
|
1187
|
-
* Deprecated, as it is not designed to work well with the rest of the DOM agent.
|
1188
|
-
* Use DOMSnapshot.captureSnapshot instead.
|
1189
|
-
*/
|
1190
|
-
getFlattenedDocument(params: Protocol.DOM.GetFlattenedDocumentRequest): Promise<Protocol.DOM.GetFlattenedDocumentResponse>;
|
1191
|
-
|
1192
|
-
/**
|
1193
|
-
* Finds nodes with a given computed style in a subtree.
|
1194
|
-
*/
|
1195
|
-
getNodesForSubtreeByStyle(params: Protocol.DOM.GetNodesForSubtreeByStyleRequest): Promise<Protocol.DOM.GetNodesForSubtreeByStyleResponse>;
|
1196
|
-
|
1197
|
-
/**
|
1198
|
-
* Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is
|
1199
|
-
* either returned or not.
|
1200
|
-
*/
|
1201
|
-
getNodeForLocation(params: Protocol.DOM.GetNodeForLocationRequest): Promise<Protocol.DOM.GetNodeForLocationResponse>;
|
1202
|
-
|
1203
|
-
/**
|
1204
|
-
* Returns node's HTML markup.
|
1205
|
-
*/
|
1206
|
-
getOuterHTML(params: Protocol.DOM.GetOuterHTMLRequest): Promise<Protocol.DOM.GetOuterHTMLResponse>;
|
1207
|
-
|
1208
|
-
/**
|
1209
|
-
* Returns the id of the nearest ancestor that is a relayout boundary.
|
1210
|
-
*/
|
1211
|
-
getRelayoutBoundary(params: Protocol.DOM.GetRelayoutBoundaryRequest): Promise<Protocol.DOM.GetRelayoutBoundaryResponse>;
|
1212
|
-
|
1213
|
-
/**
|
1214
|
-
* Returns search results from given `fromIndex` to given `toIndex` from the search with the given
|
1215
|
-
* identifier.
|
1216
|
-
*/
|
1217
|
-
getSearchResults(params: Protocol.DOM.GetSearchResultsRequest): Promise<Protocol.DOM.GetSearchResultsResponse>;
|
1218
|
-
|
1219
|
-
/**
|
1220
|
-
* Hides any highlight.
|
1221
|
-
*/
|
1222
|
-
hideHighlight(): Promise<void>;
|
1223
|
-
|
1224
|
-
/**
|
1225
|
-
* Highlights DOM node.
|
1226
|
-
*/
|
1227
|
-
highlightNode(): Promise<void>;
|
1228
|
-
|
1229
|
-
/**
|
1230
|
-
* Highlights given rectangle.
|
1231
|
-
*/
|
1232
|
-
highlightRect(): Promise<void>;
|
1233
|
-
|
1234
|
-
/**
|
1235
|
-
* Marks last undoable state.
|
1236
|
-
*/
|
1237
|
-
markUndoableState(): Promise<void>;
|
1238
|
-
|
1239
|
-
/**
|
1240
|
-
* Moves node into the new container, places it before the given anchor.
|
1241
|
-
*/
|
1242
|
-
moveTo(params: Protocol.DOM.MoveToRequest): Promise<Protocol.DOM.MoveToResponse>;
|
1243
|
-
|
1244
|
-
/**
|
1245
|
-
* Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or
|
1246
|
-
* `cancelSearch` to end this search session.
|
1247
|
-
*/
|
1248
|
-
performSearch(params: Protocol.DOM.PerformSearchRequest): Promise<Protocol.DOM.PerformSearchResponse>;
|
1249
|
-
|
1250
|
-
/**
|
1251
|
-
* Requests that the node is sent to the caller given its path. // FIXME, use XPath
|
1252
|
-
*/
|
1253
|
-
pushNodeByPathToFrontend(params: Protocol.DOM.PushNodeByPathToFrontendRequest): Promise<Protocol.DOM.PushNodeByPathToFrontendResponse>;
|
1254
|
-
|
1255
|
-
/**
|
1256
|
-
* Requests that a batch of nodes is sent to the caller given their backend node ids.
|
1257
|
-
*/
|
1258
|
-
pushNodesByBackendIdsToFrontend(params: Protocol.DOM.PushNodesByBackendIdsToFrontendRequest): Promise<Protocol.DOM.PushNodesByBackendIdsToFrontendResponse>;
|
1259
|
-
|
1260
|
-
/**
|
1261
|
-
* Executes `querySelector` on a given node.
|
1262
|
-
*/
|
1263
|
-
querySelector(params: Protocol.DOM.QuerySelectorRequest): Promise<Protocol.DOM.QuerySelectorResponse>;
|
1264
|
-
|
1265
|
-
/**
|
1266
|
-
* Executes `querySelectorAll` on a given node.
|
1267
|
-
*/
|
1268
|
-
querySelectorAll(params: Protocol.DOM.QuerySelectorAllRequest): Promise<Protocol.DOM.QuerySelectorAllResponse>;
|
1269
|
-
|
1270
|
-
/**
|
1271
|
-
* Re-does the last undone action.
|
1272
|
-
*/
|
1273
|
-
redo(): Promise<void>;
|
1274
|
-
|
1275
|
-
/**
|
1276
|
-
* Removes attribute with given name from an element with given id.
|
1277
|
-
*/
|
1278
|
-
removeAttribute(params: Protocol.DOM.RemoveAttributeRequest): Promise<void>;
|
1279
|
-
|
1280
|
-
/**
|
1281
|
-
* Removes node with given id.
|
1282
|
-
*/
|
1283
|
-
removeNode(params: Protocol.DOM.RemoveNodeRequest): Promise<void>;
|
1284
|
-
|
1285
|
-
/**
|
1286
|
-
* Requests that children of the node with given id are returned to the caller in form of
|
1287
|
-
* `setChildNodes` events where not only immediate children are retrieved, but all children down to
|
1288
|
-
* the specified depth.
|
1289
|
-
*/
|
1290
|
-
requestChildNodes(params: Protocol.DOM.RequestChildNodesRequest): Promise<void>;
|
1291
|
-
|
1292
|
-
/**
|
1293
|
-
* Requests that the node is sent to the caller given the JavaScript node object reference. All
|
1294
|
-
* nodes that form the path from the node to the root are also sent to the client as a series of
|
1295
|
-
* `setChildNodes` notifications.
|
1296
|
-
*/
|
1297
|
-
requestNode(params: Protocol.DOM.RequestNodeRequest): Promise<Protocol.DOM.RequestNodeResponse>;
|
1298
|
-
|
1299
|
-
/**
|
1300
|
-
* Resolves the JavaScript node object for a given NodeId or BackendNodeId.
|
1301
|
-
*/
|
1302
|
-
resolveNode(params: Protocol.DOM.ResolveNodeRequest): Promise<Protocol.DOM.ResolveNodeResponse>;
|
1303
|
-
|
1304
|
-
/**
|
1305
|
-
* Sets attribute for an element with given id.
|
1306
|
-
*/
|
1307
|
-
setAttributeValue(params: Protocol.DOM.SetAttributeValueRequest): Promise<void>;
|
1308
|
-
|
1309
|
-
/**
|
1310
|
-
* Sets attributes on element with given id. This method is useful when user edits some existing
|
1311
|
-
* attribute value and types in several attribute name/value pairs.
|
1312
|
-
*/
|
1313
|
-
setAttributesAsText(params: Protocol.DOM.SetAttributesAsTextRequest): Promise<void>;
|
1314
|
-
|
1315
|
-
/**
|
1316
|
-
* Sets files for the given file input element.
|
1317
|
-
*/
|
1318
|
-
setFileInputFiles(params: Protocol.DOM.SetFileInputFilesRequest): Promise<void>;
|
1319
|
-
|
1320
|
-
/**
|
1321
|
-
* Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.
|
1322
|
-
*/
|
1323
|
-
setNodeStackTracesEnabled(params: Protocol.DOM.SetNodeStackTracesEnabledRequest): Promise<void>;
|
1324
|
-
|
1325
|
-
/**
|
1326
|
-
* Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.
|
1327
|
-
*/
|
1328
|
-
getNodeStackTraces(params: Protocol.DOM.GetNodeStackTracesRequest): Promise<Protocol.DOM.GetNodeStackTracesResponse>;
|
1329
|
-
|
1330
|
-
/**
|
1331
|
-
* Returns file information for the given
|
1332
|
-
* File wrapper.
|
1333
|
-
*/
|
1334
|
-
getFileInfo(params: Protocol.DOM.GetFileInfoRequest): Promise<Protocol.DOM.GetFileInfoResponse>;
|
1335
|
-
|
1336
|
-
/**
|
1337
|
-
* Enables console to refer to the node with given id via $x (see Command Line API for more details
|
1338
|
-
* $x functions).
|
1339
|
-
*/
|
1340
|
-
setInspectedNode(params: Protocol.DOM.SetInspectedNodeRequest): Promise<void>;
|
1341
|
-
|
1342
|
-
/**
|
1343
|
-
* Sets node name for a node with given id.
|
1344
|
-
*/
|
1345
|
-
setNodeName(params: Protocol.DOM.SetNodeNameRequest): Promise<Protocol.DOM.SetNodeNameResponse>;
|
1346
|
-
|
1347
|
-
/**
|
1348
|
-
* Sets node value for a node with given id.
|
1349
|
-
*/
|
1350
|
-
setNodeValue(params: Protocol.DOM.SetNodeValueRequest): Promise<void>;
|
1351
|
-
|
1352
|
-
/**
|
1353
|
-
* Sets node HTML markup, returns new node id.
|
1354
|
-
*/
|
1355
|
-
setOuterHTML(params: Protocol.DOM.SetOuterHTMLRequest): Promise<void>;
|
1356
|
-
|
1357
|
-
/**
|
1358
|
-
* Undoes the last performed action.
|
1359
|
-
*/
|
1360
|
-
undo(): Promise<void>;
|
1361
|
-
|
1362
|
-
/**
|
1363
|
-
* Returns iframe node that owns iframe with the given domain.
|
1364
|
-
*/
|
1365
|
-
getFrameOwner(params: Protocol.DOM.GetFrameOwnerRequest): Promise<Protocol.DOM.GetFrameOwnerResponse>;
|
1366
|
-
|
1367
|
-
/**
|
1368
|
-
* Returns the container of the given node based on container query conditions.
|
1369
|
-
* If containerName is given, it will find the nearest container with a matching name;
|
1370
|
-
* otherwise it will find the nearest container regardless of its container name.
|
1371
|
-
*/
|
1372
|
-
getContainerForNode(params: Protocol.DOM.GetContainerForNodeRequest): Promise<Protocol.DOM.GetContainerForNodeResponse>;
|
1373
|
-
|
1374
|
-
/**
|
1375
|
-
* Returns the descendants of a container query container that have
|
1376
|
-
* container queries against this container.
|
1377
|
-
*/
|
1378
|
-
getQueryingDescendantsForContainer(params: Protocol.DOM.GetQueryingDescendantsForContainerRequest): Promise<Protocol.DOM.GetQueryingDescendantsForContainerResponse>;
|
1379
|
-
|
1380
|
-
/**
|
1381
|
-
* Fired when `Element`'s attribute is modified.
|
1382
|
-
*/
|
1383
|
-
on(event: 'attributeModified', listener: (params: Protocol.DOM.AttributeModifiedEvent) => void): void;
|
1384
|
-
|
1385
|
-
/**
|
1386
|
-
* Fired when `Element`'s attribute is removed.
|
1387
|
-
*/
|
1388
|
-
on(event: 'attributeRemoved', listener: (params: Protocol.DOM.AttributeRemovedEvent) => void): void;
|
1389
|
-
|
1390
|
-
/**
|
1391
|
-
* Mirrors `DOMCharacterDataModified` event.
|
1392
|
-
*/
|
1393
|
-
on(event: 'characterDataModified', listener: (params: Protocol.DOM.CharacterDataModifiedEvent) => void): void;
|
1394
|
-
|
1395
|
-
/**
|
1396
|
-
* Fired when `Container`'s child node count has changed.
|
1397
|
-
*/
|
1398
|
-
on(event: 'childNodeCountUpdated', listener: (params: Protocol.DOM.ChildNodeCountUpdatedEvent) => void): void;
|
1399
|
-
|
1400
|
-
/**
|
1401
|
-
* Mirrors `DOMNodeInserted` event.
|
1402
|
-
*/
|
1403
|
-
on(event: 'childNodeInserted', listener: (params: Protocol.DOM.ChildNodeInsertedEvent) => void): void;
|
1404
|
-
|
1405
|
-
/**
|
1406
|
-
* Mirrors `DOMNodeRemoved` event.
|
1407
|
-
*/
|
1408
|
-
on(event: 'childNodeRemoved', listener: (params: Protocol.DOM.ChildNodeRemovedEvent) => void): void;
|
1409
|
-
|
1410
|
-
/**
|
1411
|
-
* Called when distribution is changed.
|
1412
|
-
*/
|
1413
|
-
on(event: 'distributedNodesUpdated', listener: (params: Protocol.DOM.DistributedNodesUpdatedEvent) => void): void;
|
1414
|
-
|
1415
|
-
/**
|
1416
|
-
* Fired when `Document` has been totally updated. Node ids are no longer valid.
|
1417
|
-
*/
|
1418
|
-
on(event: 'documentUpdated', listener: () => void): void;
|
1419
|
-
|
1420
|
-
/**
|
1421
|
-
* Fired when `Element`'s inline style is modified via a CSS property modification.
|
1422
|
-
*/
|
1423
|
-
on(event: 'inlineStyleInvalidated', listener: (params: Protocol.DOM.InlineStyleInvalidatedEvent) => void): void;
|
1424
|
-
|
1425
|
-
/**
|
1426
|
-
* Called when a pseudo element is added to an element.
|
1427
|
-
*/
|
1428
|
-
on(event: 'pseudoElementAdded', listener: (params: Protocol.DOM.PseudoElementAddedEvent) => void): void;
|
1429
|
-
|
1430
|
-
/**
|
1431
|
-
* Called when a pseudo element is removed from an element.
|
1432
|
-
*/
|
1433
|
-
on(event: 'pseudoElementRemoved', listener: (params: Protocol.DOM.PseudoElementRemovedEvent) => void): void;
|
1434
|
-
|
1435
|
-
/**
|
1436
|
-
* Fired when backend wants to provide client with the missing DOM structure. This happens upon
|
1437
|
-
* most of the calls requesting node ids.
|
1438
|
-
*/
|
1439
|
-
on(event: 'setChildNodes', listener: (params: Protocol.DOM.SetChildNodesEvent) => void): void;
|
1440
|
-
|
1441
|
-
/**
|
1442
|
-
* Called when shadow root is popped from the element.
|
1443
|
-
*/
|
1444
|
-
on(event: 'shadowRootPopped', listener: (params: Protocol.DOM.ShadowRootPoppedEvent) => void): void;
|
1445
|
-
|
1446
|
-
/**
|
1447
|
-
* Called when shadow root is pushed into the element.
|
1448
|
-
*/
|
1449
|
-
on(event: 'shadowRootPushed', listener: (params: Protocol.DOM.ShadowRootPushedEvent) => void): void;
|
1450
|
-
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
export interface DOMDebuggerApi {
|
1454
|
-
/**
|
1455
|
-
* Returns event listeners of the given object.
|
1456
|
-
*/
|
1457
|
-
getEventListeners(params: Protocol.DOMDebugger.GetEventListenersRequest): Promise<Protocol.DOMDebugger.GetEventListenersResponse>;
|
1458
|
-
|
1459
|
-
/**
|
1460
|
-
* Removes DOM breakpoint that was set using `setDOMBreakpoint`.
|
1461
|
-
*/
|
1462
|
-
removeDOMBreakpoint(params: Protocol.DOMDebugger.RemoveDOMBreakpointRequest): Promise<void>;
|
1463
|
-
|
1464
|
-
/**
|
1465
|
-
* Removes breakpoint on particular DOM event.
|
1466
|
-
*/
|
1467
|
-
removeEventListenerBreakpoint(params: Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest): Promise<void>;
|
1468
|
-
|
1469
|
-
/**
|
1470
|
-
* Removes breakpoint on particular native event.
|
1471
|
-
*/
|
1472
|
-
removeInstrumentationBreakpoint(params: Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest): Promise<void>;
|
1473
|
-
|
1474
|
-
/**
|
1475
|
-
* Removes breakpoint from XMLHttpRequest.
|
1476
|
-
*/
|
1477
|
-
removeXHRBreakpoint(params: Protocol.DOMDebugger.RemoveXHRBreakpointRequest): Promise<void>;
|
1478
|
-
|
1479
|
-
/**
|
1480
|
-
* Sets breakpoint on particular CSP violations.
|
1481
|
-
*/
|
1482
|
-
setBreakOnCSPViolation(params: Protocol.DOMDebugger.SetBreakOnCSPViolationRequest): Promise<void>;
|
1483
|
-
|
1484
|
-
/**
|
1485
|
-
* Sets breakpoint on particular operation with DOM.
|
1486
|
-
*/
|
1487
|
-
setDOMBreakpoint(params: Protocol.DOMDebugger.SetDOMBreakpointRequest): Promise<void>;
|
1488
|
-
|
1489
|
-
/**
|
1490
|
-
* Sets breakpoint on particular DOM event.
|
1491
|
-
*/
|
1492
|
-
setEventListenerBreakpoint(params: Protocol.DOMDebugger.SetEventListenerBreakpointRequest): Promise<void>;
|
1493
|
-
|
1494
|
-
/**
|
1495
|
-
* Sets breakpoint on particular native event.
|
1496
|
-
*/
|
1497
|
-
setInstrumentationBreakpoint(params: Protocol.DOMDebugger.SetInstrumentationBreakpointRequest): Promise<void>;
|
1498
|
-
|
1499
|
-
/**
|
1500
|
-
* Sets breakpoint on XMLHttpRequest.
|
1501
|
-
*/
|
1502
|
-
setXHRBreakpoint(params: Protocol.DOMDebugger.SetXHRBreakpointRequest): Promise<void>;
|
1503
|
-
|
1504
|
-
}
|
1505
|
-
|
1506
|
-
export interface EventBreakpointsApi {
|
1507
|
-
/**
|
1508
|
-
* Sets breakpoint on particular native event.
|
1509
|
-
*/
|
1510
|
-
setInstrumentationBreakpoint(params: Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest): Promise<void>;
|
1511
|
-
|
1512
|
-
/**
|
1513
|
-
* Removes breakpoint on particular native event.
|
1514
|
-
*/
|
1515
|
-
removeInstrumentationBreakpoint(params: Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest): Promise<void>;
|
1516
|
-
|
1517
|
-
}
|
1518
|
-
|
1519
|
-
export interface DOMSnapshotApi {
|
1520
|
-
/**
|
1521
|
-
* Disables DOM snapshot agent for the given page.
|
1522
|
-
*/
|
1523
|
-
disable(): Promise<void>;
|
1524
|
-
|
1525
|
-
/**
|
1526
|
-
* Enables DOM snapshot agent for the given page.
|
1527
|
-
*/
|
1528
|
-
enable(): Promise<void>;
|
1529
|
-
|
1530
|
-
/**
|
1531
|
-
* Returns a document snapshot, including the full DOM tree of the root node (including iframes,
|
1532
|
-
* template contents, and imported documents) in a flattened array, as well as layout and
|
1533
|
-
* white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
|
1534
|
-
* flattened.
|
1535
|
-
*/
|
1536
|
-
getSnapshot(params: Protocol.DOMSnapshot.GetSnapshotRequest): Promise<Protocol.DOMSnapshot.GetSnapshotResponse>;
|
1537
|
-
|
1538
|
-
/**
|
1539
|
-
* Returns a document snapshot, including the full DOM tree of the root node (including iframes,
|
1540
|
-
* template contents, and imported documents) in a flattened array, as well as layout and
|
1541
|
-
* white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
|
1542
|
-
* flattened.
|
1543
|
-
*/
|
1544
|
-
captureSnapshot(params: Protocol.DOMSnapshot.CaptureSnapshotRequest): Promise<Protocol.DOMSnapshot.CaptureSnapshotResponse>;
|
1545
|
-
|
1546
|
-
}
|
1547
|
-
|
1548
|
-
export interface DOMStorageApi {
|
1549
|
-
clear(params: Protocol.DOMStorage.ClearRequest): Promise<void>;
|
1550
|
-
|
1551
|
-
/**
|
1552
|
-
* Disables storage tracking, prevents storage events from being sent to the client.
|
1553
|
-
*/
|
1554
|
-
disable(): Promise<void>;
|
1555
|
-
|
1556
|
-
/**
|
1557
|
-
* Enables storage tracking, storage events will now be delivered to the client.
|
1558
|
-
*/
|
1559
|
-
enable(): Promise<void>;
|
1560
|
-
|
1561
|
-
getDOMStorageItems(params: Protocol.DOMStorage.GetDOMStorageItemsRequest): Promise<Protocol.DOMStorage.GetDOMStorageItemsResponse>;
|
1562
|
-
|
1563
|
-
removeDOMStorageItem(params: Protocol.DOMStorage.RemoveDOMStorageItemRequest): Promise<void>;
|
1564
|
-
|
1565
|
-
setDOMStorageItem(params: Protocol.DOMStorage.SetDOMStorageItemRequest): Promise<void>;
|
1566
|
-
|
1567
|
-
on(event: 'domStorageItemAdded', listener: (params: Protocol.DOMStorage.DomStorageItemAddedEvent) => void): void;
|
1568
|
-
|
1569
|
-
on(event: 'domStorageItemRemoved', listener: (params: Protocol.DOMStorage.DomStorageItemRemovedEvent) => void): void;
|
1570
|
-
|
1571
|
-
on(event: 'domStorageItemUpdated', listener: (params: Protocol.DOMStorage.DomStorageItemUpdatedEvent) => void): void;
|
1572
|
-
|
1573
|
-
on(event: 'domStorageItemsCleared', listener: (params: Protocol.DOMStorage.DomStorageItemsClearedEvent) => void): void;
|
1574
|
-
|
1575
|
-
}
|
1576
|
-
|
1577
|
-
export interface DatabaseApi {
|
1578
|
-
/**
|
1579
|
-
* Disables database tracking, prevents database events from being sent to the client.
|
1580
|
-
*/
|
1581
|
-
disable(): Promise<void>;
|
1582
|
-
|
1583
|
-
/**
|
1584
|
-
* Enables database tracking, database events will now be delivered to the client.
|
1585
|
-
*/
|
1586
|
-
enable(): Promise<void>;
|
1587
|
-
|
1588
|
-
executeSQL(params: Protocol.Database.ExecuteSQLRequest): Promise<Protocol.Database.ExecuteSQLResponse>;
|
1589
|
-
|
1590
|
-
getDatabaseTableNames(params: Protocol.Database.GetDatabaseTableNamesRequest): Promise<Protocol.Database.GetDatabaseTableNamesResponse>;
|
1591
|
-
|
1592
|
-
on(event: 'addDatabase', listener: (params: Protocol.Database.AddDatabaseEvent) => void): void;
|
1593
|
-
|
1594
|
-
}
|
1595
|
-
|
1596
|
-
export interface DeviceOrientationApi {
|
1597
|
-
/**
|
1598
|
-
* Clears the overridden Device Orientation.
|
1599
|
-
*/
|
1600
|
-
clearDeviceOrientationOverride(): Promise<void>;
|
1601
|
-
|
1602
|
-
/**
|
1603
|
-
* Overrides the Device Orientation.
|
1604
|
-
*/
|
1605
|
-
setDeviceOrientationOverride(params: Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest): Promise<void>;
|
1606
|
-
|
1607
|
-
}
|
1608
|
-
|
1609
|
-
export interface EmulationApi {
|
1610
|
-
/**
|
1611
|
-
* Tells whether emulation is supported.
|
1612
|
-
*/
|
1613
|
-
canEmulate(): Promise<Protocol.Emulation.CanEmulateResponse>;
|
1614
|
-
|
1615
|
-
/**
|
1616
|
-
* Clears the overridden device metrics.
|
1617
|
-
*/
|
1618
|
-
clearDeviceMetricsOverride(): Promise<void>;
|
1619
|
-
|
1620
|
-
/**
|
1621
|
-
* Clears the overridden Geolocation Position and Error.
|
1622
|
-
*/
|
1623
|
-
clearGeolocationOverride(): Promise<void>;
|
1624
|
-
|
1625
|
-
/**
|
1626
|
-
* Requests that page scale factor is reset to initial values.
|
1627
|
-
*/
|
1628
|
-
resetPageScaleFactor(): Promise<void>;
|
1629
|
-
|
1630
|
-
/**
|
1631
|
-
* Enables or disables simulating a focused and active page.
|
1632
|
-
*/
|
1633
|
-
setFocusEmulationEnabled(params: Protocol.Emulation.SetFocusEmulationEnabledRequest): Promise<void>;
|
1634
|
-
|
1635
|
-
/**
|
1636
|
-
* Automatically render all web contents using a dark theme.
|
1637
|
-
*/
|
1638
|
-
setAutoDarkModeOverride(params: Protocol.Emulation.SetAutoDarkModeOverrideRequest): Promise<void>;
|
1639
|
-
|
1640
|
-
/**
|
1641
|
-
* Enables CPU throttling to emulate slow CPUs.
|
1642
|
-
*/
|
1643
|
-
setCPUThrottlingRate(params: Protocol.Emulation.SetCPUThrottlingRateRequest): Promise<void>;
|
1644
|
-
|
1645
|
-
/**
|
1646
|
-
* Sets or clears an override of the default background color of the frame. This override is used
|
1647
|
-
* if the content does not specify one.
|
1648
|
-
*/
|
1649
|
-
setDefaultBackgroundColorOverride(params: Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest): Promise<void>;
|
1650
|
-
|
1651
|
-
/**
|
1652
|
-
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
1653
|
-
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
1654
|
-
* query results).
|
1655
|
-
*/
|
1656
|
-
setDeviceMetricsOverride(params: Protocol.Emulation.SetDeviceMetricsOverrideRequest): Promise<void>;
|
1657
|
-
|
1658
|
-
setScrollbarsHidden(params: Protocol.Emulation.SetScrollbarsHiddenRequest): Promise<void>;
|
1659
|
-
|
1660
|
-
setDocumentCookieDisabled(params: Protocol.Emulation.SetDocumentCookieDisabledRequest): Promise<void>;
|
1661
|
-
|
1662
|
-
setEmitTouchEventsForMouse(params: Protocol.Emulation.SetEmitTouchEventsForMouseRequest): Promise<void>;
|
1663
|
-
|
1664
|
-
/**
|
1665
|
-
* Emulates the given media type or media feature for CSS media queries.
|
1666
|
-
*/
|
1667
|
-
setEmulatedMedia(params: Protocol.Emulation.SetEmulatedMediaRequest): Promise<void>;
|
1668
|
-
|
1669
|
-
/**
|
1670
|
-
* Emulates the given vision deficiency.
|
1671
|
-
*/
|
1672
|
-
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<void>;
|
1673
|
-
|
1674
|
-
/**
|
1675
|
-
* Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
|
1676
|
-
* unavailable.
|
1677
|
-
*/
|
1678
|
-
setGeolocationOverride(params: Protocol.Emulation.SetGeolocationOverrideRequest): Promise<void>;
|
1679
|
-
|
1680
|
-
/**
|
1681
|
-
* Overrides the Idle state.
|
1682
|
-
*/
|
1683
|
-
setIdleOverride(params: Protocol.Emulation.SetIdleOverrideRequest): Promise<void>;
|
1684
|
-
|
1685
|
-
/**
|
1686
|
-
* Clears Idle state overrides.
|
1687
|
-
*/
|
1688
|
-
clearIdleOverride(): Promise<void>;
|
1689
|
-
|
1690
|
-
/**
|
1691
|
-
* Overrides value returned by the javascript navigator object.
|
1692
|
-
*/
|
1693
|
-
setNavigatorOverrides(params: Protocol.Emulation.SetNavigatorOverridesRequest): Promise<void>;
|
1694
|
-
|
1695
|
-
/**
|
1696
|
-
* Sets a specified page scale factor.
|
1697
|
-
*/
|
1698
|
-
setPageScaleFactor(params: Protocol.Emulation.SetPageScaleFactorRequest): Promise<void>;
|
1699
|
-
|
1700
|
-
/**
|
1701
|
-
* Switches script execution in the page.
|
1702
|
-
*/
|
1703
|
-
setScriptExecutionDisabled(params: Protocol.Emulation.SetScriptExecutionDisabledRequest): Promise<void>;
|
1704
|
-
|
1705
|
-
/**
|
1706
|
-
* Enables touch on platforms which do not support them.
|
1707
|
-
*/
|
1708
|
-
setTouchEmulationEnabled(params: Protocol.Emulation.SetTouchEmulationEnabledRequest): Promise<void>;
|
1709
|
-
|
1710
|
-
/**
|
1711
|
-
* Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets
|
1712
|
-
* the current virtual time policy. Note this supersedes any previous time budget.
|
1713
|
-
*/
|
1714
|
-
setVirtualTimePolicy(params: Protocol.Emulation.SetVirtualTimePolicyRequest): Promise<Protocol.Emulation.SetVirtualTimePolicyResponse>;
|
1715
|
-
|
1716
|
-
/**
|
1717
|
-
* Overrides default host system locale with the specified one.
|
1718
|
-
*/
|
1719
|
-
setLocaleOverride(params: Protocol.Emulation.SetLocaleOverrideRequest): Promise<void>;
|
1720
|
-
|
1721
|
-
/**
|
1722
|
-
* Overrides default host system timezone with the specified one.
|
1723
|
-
*/
|
1724
|
-
setTimezoneOverride(params: Protocol.Emulation.SetTimezoneOverrideRequest): Promise<void>;
|
1725
|
-
|
1726
|
-
/**
|
1727
|
-
* Resizes the frame/viewport of the page. Note that this does not affect the frame's container
|
1728
|
-
* (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported
|
1729
|
-
* on Android.
|
1730
|
-
*/
|
1731
|
-
setVisibleSize(params: Protocol.Emulation.SetVisibleSizeRequest): Promise<void>;
|
1732
|
-
|
1733
|
-
setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<void>;
|
1734
|
-
|
1735
|
-
/**
|
1736
|
-
* Allows overriding user agent with the given string.
|
1737
|
-
*/
|
1738
|
-
setUserAgentOverride(params: Protocol.Emulation.SetUserAgentOverrideRequest): Promise<void>;
|
1739
|
-
|
1740
|
-
/**
|
1741
|
-
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
1742
|
-
*/
|
1743
|
-
on(event: 'virtualTimeBudgetExpired', listener: () => void): void;
|
1744
|
-
|
1745
|
-
}
|
1746
|
-
|
1747
|
-
export interface HeadlessExperimentalApi {
|
1748
|
-
/**
|
1749
|
-
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
1750
|
-
* screenshot from the resulting frame. Requires that the target was created with enabled
|
1751
|
-
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
1752
|
-
* https://goo.gl/3zHXhB for more background.
|
1753
|
-
*/
|
1754
|
-
beginFrame(params: Protocol.HeadlessExperimental.BeginFrameRequest): Promise<Protocol.HeadlessExperimental.BeginFrameResponse>;
|
1755
|
-
|
1756
|
-
/**
|
1757
|
-
* Disables headless events for the target.
|
1758
|
-
*/
|
1759
|
-
disable(): Promise<void>;
|
1760
|
-
|
1761
|
-
/**
|
1762
|
-
* Enables headless events for the target.
|
1763
|
-
*/
|
1764
|
-
enable(): Promise<void>;
|
1765
|
-
|
1766
|
-
/**
|
1767
|
-
* Issued when the target starts or stops needing BeginFrames.
|
1768
|
-
* Deprecated. Issue beginFrame unconditionally instead and use result from
|
1769
|
-
* beginFrame to detect whether the frames were suppressed.
|
1770
|
-
*/
|
1771
|
-
on(event: 'needsBeginFramesChanged', listener: (params: Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent) => void): void;
|
1772
|
-
|
1773
|
-
}
|
1774
|
-
|
1775
|
-
export interface IOApi {
|
1776
|
-
/**
|
1777
|
-
* Close the stream, discard any temporary backing storage.
|
1778
|
-
*/
|
1779
|
-
close(params: Protocol.IO.CloseRequest): Promise<void>;
|
1780
|
-
|
1781
|
-
/**
|
1782
|
-
* Read a chunk of the stream
|
1783
|
-
*/
|
1784
|
-
read(params: Protocol.IO.ReadRequest): Promise<Protocol.IO.ReadResponse>;
|
1785
|
-
|
1786
|
-
/**
|
1787
|
-
* Return UUID of Blob object specified by a remote object id.
|
1788
|
-
*/
|
1789
|
-
resolveBlob(params: Protocol.IO.ResolveBlobRequest): Promise<Protocol.IO.ResolveBlobResponse>;
|
1790
|
-
|
1791
|
-
}
|
1792
|
-
|
1793
|
-
export interface IndexedDBApi {
|
1794
|
-
/**
|
1795
|
-
* Clears all entries from an object store.
|
1796
|
-
*/
|
1797
|
-
clearObjectStore(params: Protocol.IndexedDB.ClearObjectStoreRequest): Promise<void>;
|
1798
|
-
|
1799
|
-
/**
|
1800
|
-
* Deletes a database.
|
1801
|
-
*/
|
1802
|
-
deleteDatabase(params: Protocol.IndexedDB.DeleteDatabaseRequest): Promise<void>;
|
1803
|
-
|
1804
|
-
/**
|
1805
|
-
* Delete a range of entries from an object store
|
1806
|
-
*/
|
1807
|
-
deleteObjectStoreEntries(params: Protocol.IndexedDB.DeleteObjectStoreEntriesRequest): Promise<void>;
|
1808
|
-
|
1809
|
-
/**
|
1810
|
-
* Disables events from backend.
|
1811
|
-
*/
|
1812
|
-
disable(): Promise<void>;
|
1813
|
-
|
1814
|
-
/**
|
1815
|
-
* Enables events from backend.
|
1816
|
-
*/
|
1817
|
-
enable(): Promise<void>;
|
1818
|
-
|
1819
|
-
/**
|
1820
|
-
* Requests data from object store or index.
|
1821
|
-
*/
|
1822
|
-
requestData(params: Protocol.IndexedDB.RequestDataRequest): Promise<Protocol.IndexedDB.RequestDataResponse>;
|
1823
|
-
|
1824
|
-
/**
|
1825
|
-
* Gets metadata of an object store
|
1826
|
-
*/
|
1827
|
-
getMetadata(params: Protocol.IndexedDB.GetMetadataRequest): Promise<Protocol.IndexedDB.GetMetadataResponse>;
|
1828
|
-
|
1829
|
-
/**
|
1830
|
-
* Requests database with given name in given frame.
|
1831
|
-
*/
|
1832
|
-
requestDatabase(params: Protocol.IndexedDB.RequestDatabaseRequest): Promise<Protocol.IndexedDB.RequestDatabaseResponse>;
|
1833
|
-
|
1834
|
-
/**
|
1835
|
-
* Requests database names for given security origin.
|
1836
|
-
*/
|
1837
|
-
requestDatabaseNames(params: Protocol.IndexedDB.RequestDatabaseNamesRequest): Promise<Protocol.IndexedDB.RequestDatabaseNamesResponse>;
|
1838
|
-
|
1839
|
-
}
|
1840
|
-
|
1841
|
-
export interface InputApi {
|
1842
|
-
/**
|
1843
|
-
* Dispatches a drag event into the page.
|
1844
|
-
*/
|
1845
|
-
dispatchDragEvent(params: Protocol.Input.DispatchDragEventRequest): Promise<void>;
|
1846
|
-
|
1847
|
-
/**
|
1848
|
-
* Dispatches a key event to the page.
|
1849
|
-
*/
|
1850
|
-
dispatchKeyEvent(params: Protocol.Input.DispatchKeyEventRequest): Promise<void>;
|
1851
|
-
|
1852
|
-
/**
|
1853
|
-
* This method emulates inserting text that doesn't come from a key press,
|
1854
|
-
* for example an emoji keyboard or an IME.
|
1855
|
-
*/
|
1856
|
-
insertText(params: Protocol.Input.InsertTextRequest): Promise<void>;
|
1857
|
-
|
1858
|
-
/**
|
1859
|
-
* This method sets the current candidate text for ime.
|
1860
|
-
* Use imeCommitComposition to commit the final text.
|
1861
|
-
* Use imeSetComposition with empty string as text to cancel composition.
|
1862
|
-
*/
|
1863
|
-
imeSetComposition(params: Protocol.Input.ImeSetCompositionRequest): Promise<void>;
|
1864
|
-
|
1865
|
-
/**
|
1866
|
-
* Dispatches a mouse event to the page.
|
1867
|
-
*/
|
1868
|
-
dispatchMouseEvent(params: Protocol.Input.DispatchMouseEventRequest): Promise<void>;
|
1869
|
-
|
1870
|
-
/**
|
1871
|
-
* Dispatches a touch event to the page.
|
1872
|
-
*/
|
1873
|
-
dispatchTouchEvent(params: Protocol.Input.DispatchTouchEventRequest): Promise<void>;
|
1874
|
-
|
1875
|
-
/**
|
1876
|
-
* Emulates touch event from the mouse event parameters.
|
1877
|
-
*/
|
1878
|
-
emulateTouchFromMouseEvent(params: Protocol.Input.EmulateTouchFromMouseEventRequest): Promise<void>;
|
1879
|
-
|
1880
|
-
/**
|
1881
|
-
* Ignores input events (useful while auditing page).
|
1882
|
-
*/
|
1883
|
-
setIgnoreInputEvents(params: Protocol.Input.SetIgnoreInputEventsRequest): Promise<void>;
|
1884
|
-
|
1885
|
-
/**
|
1886
|
-
* Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events.
|
1887
|
-
* Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`.
|
1888
|
-
*/
|
1889
|
-
setInterceptDrags(params: Protocol.Input.SetInterceptDragsRequest): Promise<void>;
|
1890
|
-
|
1891
|
-
/**
|
1892
|
-
* Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
|
1893
|
-
*/
|
1894
|
-
synthesizePinchGesture(params: Protocol.Input.SynthesizePinchGestureRequest): Promise<void>;
|
1895
|
-
|
1896
|
-
/**
|
1897
|
-
* Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
|
1898
|
-
*/
|
1899
|
-
synthesizeScrollGesture(params: Protocol.Input.SynthesizeScrollGestureRequest): Promise<void>;
|
1900
|
-
|
1901
|
-
/**
|
1902
|
-
* Synthesizes a tap gesture over a time period by issuing appropriate touch events.
|
1903
|
-
*/
|
1904
|
-
synthesizeTapGesture(params: Protocol.Input.SynthesizeTapGestureRequest): Promise<void>;
|
1905
|
-
|
1906
|
-
/**
|
1907
|
-
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
1908
|
-
* restore normal drag and drop behavior.
|
1909
|
-
*/
|
1910
|
-
on(event: 'dragIntercepted', listener: (params: Protocol.Input.DragInterceptedEvent) => void): void;
|
1911
|
-
|
1912
|
-
}
|
1913
|
-
|
1914
|
-
export interface InspectorApi {
|
1915
|
-
/**
|
1916
|
-
* Disables inspector domain notifications.
|
1917
|
-
*/
|
1918
|
-
disable(): Promise<void>;
|
1919
|
-
|
1920
|
-
/**
|
1921
|
-
* Enables inspector domain notifications.
|
1922
|
-
*/
|
1923
|
-
enable(): Promise<void>;
|
1924
|
-
|
1925
|
-
/**
|
1926
|
-
* Fired when remote debugging connection is about to be terminated. Contains detach reason.
|
1927
|
-
*/
|
1928
|
-
on(event: 'detached', listener: (params: Protocol.Inspector.DetachedEvent) => void): void;
|
1929
|
-
|
1930
|
-
/**
|
1931
|
-
* Fired when debugging target has crashed
|
1932
|
-
*/
|
1933
|
-
on(event: 'targetCrashed', listener: () => void): void;
|
1934
|
-
|
1935
|
-
/**
|
1936
|
-
* Fired when debugging target has reloaded after crash
|
1937
|
-
*/
|
1938
|
-
on(event: 'targetReloadedAfterCrash', listener: () => void): void;
|
1939
|
-
|
1940
|
-
}
|
1941
|
-
|
1942
|
-
export interface LayerTreeApi {
|
1943
|
-
/**
|
1944
|
-
* Provides the reasons why the given layer was composited.
|
1945
|
-
*/
|
1946
|
-
compositingReasons(params: Protocol.LayerTree.CompositingReasonsRequest): Promise<Protocol.LayerTree.CompositingReasonsResponse>;
|
1947
|
-
|
1948
|
-
/**
|
1949
|
-
* Disables compositing tree inspection.
|
1950
|
-
*/
|
1951
|
-
disable(): Promise<void>;
|
1952
|
-
|
1953
|
-
/**
|
1954
|
-
* Enables compositing tree inspection.
|
1955
|
-
*/
|
1956
|
-
enable(): Promise<void>;
|
1957
|
-
|
1958
|
-
/**
|
1959
|
-
* Returns the snapshot identifier.
|
1960
|
-
*/
|
1961
|
-
loadSnapshot(params: Protocol.LayerTree.LoadSnapshotRequest): Promise<Protocol.LayerTree.LoadSnapshotResponse>;
|
1962
|
-
|
1963
|
-
/**
|
1964
|
-
* Returns the layer snapshot identifier.
|
1965
|
-
*/
|
1966
|
-
makeSnapshot(params: Protocol.LayerTree.MakeSnapshotRequest): Promise<Protocol.LayerTree.MakeSnapshotResponse>;
|
1967
|
-
|
1968
|
-
profileSnapshot(params: Protocol.LayerTree.ProfileSnapshotRequest): Promise<Protocol.LayerTree.ProfileSnapshotResponse>;
|
1969
|
-
|
1970
|
-
/**
|
1971
|
-
* Releases layer snapshot captured by the back-end.
|
1972
|
-
*/
|
1973
|
-
releaseSnapshot(params: Protocol.LayerTree.ReleaseSnapshotRequest): Promise<void>;
|
1974
|
-
|
1975
|
-
/**
|
1976
|
-
* Replays the layer snapshot and returns the resulting bitmap.
|
1977
|
-
*/
|
1978
|
-
replaySnapshot(params: Protocol.LayerTree.ReplaySnapshotRequest): Promise<Protocol.LayerTree.ReplaySnapshotResponse>;
|
1979
|
-
|
1980
|
-
/**
|
1981
|
-
* Replays the layer snapshot and returns canvas log.
|
1982
|
-
*/
|
1983
|
-
snapshotCommandLog(params: Protocol.LayerTree.SnapshotCommandLogRequest): Promise<Protocol.LayerTree.SnapshotCommandLogResponse>;
|
1984
|
-
|
1985
|
-
on(event: 'layerPainted', listener: (params: Protocol.LayerTree.LayerPaintedEvent) => void): void;
|
1986
|
-
|
1987
|
-
on(event: 'layerTreeDidChange', listener: (params: Protocol.LayerTree.LayerTreeDidChangeEvent) => void): void;
|
1988
|
-
|
1989
|
-
}
|
1990
|
-
|
1991
|
-
export interface LogApi {
|
1992
|
-
/**
|
1993
|
-
* Clears the log.
|
1994
|
-
*/
|
1995
|
-
clear(): Promise<void>;
|
1996
|
-
|
1997
|
-
/**
|
1998
|
-
* Disables log domain, prevents further log entries from being reported to the client.
|
1999
|
-
*/
|
2000
|
-
disable(): Promise<void>;
|
2001
|
-
|
2002
|
-
/**
|
2003
|
-
* Enables log domain, sends the entries collected so far to the client by means of the
|
2004
|
-
* `entryAdded` notification.
|
2005
|
-
*/
|
2006
|
-
enable(): Promise<void>;
|
2007
|
-
|
2008
|
-
/**
|
2009
|
-
* start violation reporting.
|
2010
|
-
*/
|
2011
|
-
startViolationsReport(params: Protocol.Log.StartViolationsReportRequest): Promise<void>;
|
2012
|
-
|
2013
|
-
/**
|
2014
|
-
* Stop violation reporting.
|
2015
|
-
*/
|
2016
|
-
stopViolationsReport(): Promise<void>;
|
2017
|
-
|
2018
|
-
/**
|
2019
|
-
* Issued when new message was logged.
|
2020
|
-
*/
|
2021
|
-
on(event: 'entryAdded', listener: (params: Protocol.Log.EntryAddedEvent) => void): void;
|
2022
|
-
|
2023
|
-
}
|
2024
|
-
|
2025
|
-
export interface MemoryApi {
|
2026
|
-
getDOMCounters(): Promise<Protocol.Memory.GetDOMCountersResponse>;
|
2027
|
-
|
2028
|
-
prepareForLeakDetection(): Promise<void>;
|
2029
|
-
|
2030
|
-
/**
|
2031
|
-
* Simulate OomIntervention by purging V8 memory.
|
2032
|
-
*/
|
2033
|
-
forciblyPurgeJavaScriptMemory(): Promise<void>;
|
2034
|
-
|
2035
|
-
/**
|
2036
|
-
* Enable/disable suppressing memory pressure notifications in all processes.
|
2037
|
-
*/
|
2038
|
-
setPressureNotificationsSuppressed(params: Protocol.Memory.SetPressureNotificationsSuppressedRequest): Promise<void>;
|
2039
|
-
|
2040
|
-
/**
|
2041
|
-
* Simulate a memory pressure notification in all processes.
|
2042
|
-
*/
|
2043
|
-
simulatePressureNotification(params: Protocol.Memory.SimulatePressureNotificationRequest): Promise<void>;
|
2044
|
-
|
2045
|
-
/**
|
2046
|
-
* Start collecting native memory profile.
|
2047
|
-
*/
|
2048
|
-
startSampling(params: Protocol.Memory.StartSamplingRequest): Promise<void>;
|
2049
|
-
|
2050
|
-
/**
|
2051
|
-
* Stop collecting native memory profile.
|
2052
|
-
*/
|
2053
|
-
stopSampling(): Promise<void>;
|
2054
|
-
|
2055
|
-
/**
|
2056
|
-
* Retrieve native memory allocations profile
|
2057
|
-
* collected since renderer process startup.
|
2058
|
-
*/
|
2059
|
-
getAllTimeSamplingProfile(): Promise<Protocol.Memory.GetAllTimeSamplingProfileResponse>;
|
2060
|
-
|
2061
|
-
/**
|
2062
|
-
* Retrieve native memory allocations profile
|
2063
|
-
* collected since browser process startup.
|
2064
|
-
*/
|
2065
|
-
getBrowserSamplingProfile(): Promise<Protocol.Memory.GetBrowserSamplingProfileResponse>;
|
2066
|
-
|
2067
|
-
/**
|
2068
|
-
* Retrieve native memory allocations profile collected since last
|
2069
|
-
* `startSampling` call.
|
2070
|
-
*/
|
2071
|
-
getSamplingProfile(): Promise<Protocol.Memory.GetSamplingProfileResponse>;
|
2072
|
-
|
2073
|
-
}
|
2074
|
-
|
2075
|
-
export interface NetworkApi {
|
2076
|
-
/**
|
2077
|
-
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
2078
|
-
*/
|
2079
|
-
setAcceptedEncodings(params: Protocol.Network.SetAcceptedEncodingsRequest): Promise<void>;
|
2080
|
-
|
2081
|
-
/**
|
2082
|
-
* Clears accepted encodings set by setAcceptedEncodings
|
2083
|
-
*/
|
2084
|
-
clearAcceptedEncodingsOverride(): Promise<void>;
|
2085
|
-
|
2086
|
-
/**
|
2087
|
-
* Tells whether clearing browser cache is supported.
|
2088
|
-
*/
|
2089
|
-
canClearBrowserCache(): Promise<Protocol.Network.CanClearBrowserCacheResponse>;
|
2090
|
-
|
2091
|
-
/**
|
2092
|
-
* Tells whether clearing browser cookies is supported.
|
2093
|
-
*/
|
2094
|
-
canClearBrowserCookies(): Promise<Protocol.Network.CanClearBrowserCookiesResponse>;
|
2095
|
-
|
2096
|
-
/**
|
2097
|
-
* Tells whether emulation of network conditions is supported.
|
2098
|
-
*/
|
2099
|
-
canEmulateNetworkConditions(): Promise<Protocol.Network.CanEmulateNetworkConditionsResponse>;
|
2100
|
-
|
2101
|
-
/**
|
2102
|
-
* Clears browser cache.
|
2103
|
-
*/
|
2104
|
-
clearBrowserCache(): Promise<void>;
|
2105
|
-
|
2106
|
-
/**
|
2107
|
-
* Clears browser cookies.
|
2108
|
-
*/
|
2109
|
-
clearBrowserCookies(): Promise<void>;
|
2110
|
-
|
2111
|
-
/**
|
2112
|
-
* Response to Network.requestIntercepted which either modifies the request to continue with any
|
2113
|
-
* modifications, or blocks it, or completes it with the provided response bytes. If a network
|
2114
|
-
* fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
2115
|
-
* event will be sent with the same InterceptionId.
|
2116
|
-
* Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
2117
|
-
*/
|
2118
|
-
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<void>;
|
2119
|
-
|
2120
|
-
/**
|
2121
|
-
* Deletes browser cookies with matching name and url or domain/path pair.
|
2122
|
-
*/
|
2123
|
-
deleteCookies(params: Protocol.Network.DeleteCookiesRequest): Promise<void>;
|
2124
|
-
|
2125
|
-
/**
|
2126
|
-
* Disables network tracking, prevents network events from being sent to the client.
|
2127
|
-
*/
|
2128
|
-
disable(): Promise<void>;
|
2129
|
-
|
2130
|
-
/**
|
2131
|
-
* Activates emulation of network conditions.
|
2132
|
-
*/
|
2133
|
-
emulateNetworkConditions(params: Protocol.Network.EmulateNetworkConditionsRequest): Promise<void>;
|
2134
|
-
|
2135
|
-
/**
|
2136
|
-
* Enables network tracking, network events will now be delivered to the client.
|
2137
|
-
*/
|
2138
|
-
enable(params: Protocol.Network.EnableRequest): Promise<void>;
|
2139
|
-
|
2140
|
-
/**
|
2141
|
-
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
2142
|
-
* information in the `cookies` field.
|
2143
|
-
*/
|
2144
|
-
getAllCookies(): Promise<Protocol.Network.GetAllCookiesResponse>;
|
2145
|
-
|
2146
|
-
/**
|
2147
|
-
* Returns the DER-encoded certificate.
|
2148
|
-
*/
|
2149
|
-
getCertificate(params: Protocol.Network.GetCertificateRequest): Promise<Protocol.Network.GetCertificateResponse>;
|
2150
|
-
|
2151
|
-
/**
|
2152
|
-
* Returns all browser cookies for the current URL. Depending on the backend support, will return
|
2153
|
-
* detailed cookie information in the `cookies` field.
|
2154
|
-
*/
|
2155
|
-
getCookies(params: Protocol.Network.GetCookiesRequest): Promise<Protocol.Network.GetCookiesResponse>;
|
2156
|
-
|
2157
|
-
/**
|
2158
|
-
* Returns content served for the given request.
|
2159
|
-
*/
|
2160
|
-
getResponseBody(params: Protocol.Network.GetResponseBodyRequest): Promise<Protocol.Network.GetResponseBodyResponse>;
|
2161
|
-
|
2162
|
-
/**
|
2163
|
-
* Returns post data sent with the request. Returns an error when no data was sent with the request.
|
2164
|
-
*/
|
2165
|
-
getRequestPostData(params: Protocol.Network.GetRequestPostDataRequest): Promise<Protocol.Network.GetRequestPostDataResponse>;
|
2166
|
-
|
2167
|
-
/**
|
2168
|
-
* Returns content served for the given currently intercepted request.
|
2169
|
-
*/
|
2170
|
-
getResponseBodyForInterception(params: Protocol.Network.GetResponseBodyForInterceptionRequest): Promise<Protocol.Network.GetResponseBodyForInterceptionResponse>;
|
2171
|
-
|
2172
|
-
/**
|
2173
|
-
* Returns a handle to the stream representing the response body. Note that after this command,
|
2174
|
-
* the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
2175
|
-
* the response body. The stream only supports sequential read, IO.read will fail if the position
|
2176
|
-
* is specified.
|
2177
|
-
*/
|
2178
|
-
takeResponseBodyForInterceptionAsStream(params: Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest): Promise<Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse>;
|
2179
|
-
|
2180
|
-
/**
|
2181
|
-
* This method sends a new XMLHttpRequest which is identical to the original one. The following
|
2182
|
-
* parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
2183
|
-
* attribute, user, password.
|
2184
|
-
*/
|
2185
|
-
replayXHR(params: Protocol.Network.ReplayXHRRequest): Promise<void>;
|
2186
|
-
|
2187
|
-
/**
|
2188
|
-
* Searches for given string in response content.
|
2189
|
-
*/
|
2190
|
-
searchInResponseBody(params: Protocol.Network.SearchInResponseBodyRequest): Promise<Protocol.Network.SearchInResponseBodyResponse>;
|
2191
|
-
|
2192
|
-
/**
|
2193
|
-
* Blocks URLs from loading.
|
2194
|
-
*/
|
2195
|
-
setBlockedURLs(params: Protocol.Network.SetBlockedURLsRequest): Promise<void>;
|
2196
|
-
|
2197
|
-
/**
|
2198
|
-
* Toggles ignoring of service worker for each request.
|
2199
|
-
*/
|
2200
|
-
setBypassServiceWorker(params: Protocol.Network.SetBypassServiceWorkerRequest): Promise<void>;
|
2201
|
-
|
2202
|
-
/**
|
2203
|
-
* Toggles ignoring cache for each request. If `true`, cache will not be used.
|
2204
|
-
*/
|
2205
|
-
setCacheDisabled(params: Protocol.Network.SetCacheDisabledRequest): Promise<void>;
|
2206
|
-
|
2207
|
-
/**
|
2208
|
-
* Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
2209
|
-
*/
|
2210
|
-
setCookie(params: Protocol.Network.SetCookieRequest): Promise<Protocol.Network.SetCookieResponse>;
|
2211
|
-
|
2212
|
-
/**
|
2213
|
-
* Sets given cookies.
|
2214
|
-
*/
|
2215
|
-
setCookies(params: Protocol.Network.SetCookiesRequest): Promise<void>;
|
2216
|
-
|
2217
|
-
/**
|
2218
|
-
* Specifies whether to always send extra HTTP headers with the requests from this page.
|
2219
|
-
*/
|
2220
|
-
setExtraHTTPHeaders(params: Protocol.Network.SetExtraHTTPHeadersRequest): Promise<void>;
|
2221
|
-
|
2222
|
-
/**
|
2223
|
-
* Specifies whether to attach a page script stack id in requests
|
2224
|
-
*/
|
2225
|
-
setAttachDebugStack(params: Protocol.Network.SetAttachDebugStackRequest): Promise<void>;
|
2226
|
-
|
2227
|
-
/**
|
2228
|
-
* Sets the requests to intercept that match the provided patterns and optionally resource types.
|
2229
|
-
* Deprecated, please use Fetch.enable instead.
|
2230
|
-
*/
|
2231
|
-
setRequestInterception(params: Protocol.Network.SetRequestInterceptionRequest): Promise<void>;
|
2232
|
-
|
2233
|
-
/**
|
2234
|
-
* Allows overriding user agent with the given string.
|
2235
|
-
*/
|
2236
|
-
setUserAgentOverride(params: Protocol.Network.SetUserAgentOverrideRequest): Promise<void>;
|
2237
|
-
|
2238
|
-
/**
|
2239
|
-
* Returns information about the COEP/COOP isolation status.
|
2240
|
-
*/
|
2241
|
-
getSecurityIsolationStatus(params: Protocol.Network.GetSecurityIsolationStatusRequest): Promise<Protocol.Network.GetSecurityIsolationStatusResponse>;
|
2242
|
-
|
2243
|
-
/**
|
2244
|
-
* Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client.
|
2245
|
-
* Enabling triggers 'reportingApiReportAdded' for all existing reports.
|
2246
|
-
*/
|
2247
|
-
enableReportingApi(params: Protocol.Network.EnableReportingApiRequest): Promise<void>;
|
2248
|
-
|
2249
|
-
/**
|
2250
|
-
* Fetches the resource and returns the content.
|
2251
|
-
*/
|
2252
|
-
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<Protocol.Network.LoadNetworkResourceResponse>;
|
2253
|
-
|
2254
|
-
/**
|
2255
|
-
* Fired when data chunk was received over the network.
|
2256
|
-
*/
|
2257
|
-
on(event: 'dataReceived', listener: (params: Protocol.Network.DataReceivedEvent) => void): void;
|
2258
|
-
|
2259
|
-
/**
|
2260
|
-
* Fired when EventSource message is received.
|
2261
|
-
*/
|
2262
|
-
on(event: 'eventSourceMessageReceived', listener: (params: Protocol.Network.EventSourceMessageReceivedEvent) => void): void;
|
2263
|
-
|
2264
|
-
/**
|
2265
|
-
* Fired when HTTP request has failed to load.
|
2266
|
-
*/
|
2267
|
-
on(event: 'loadingFailed', listener: (params: Protocol.Network.LoadingFailedEvent) => void): void;
|
2268
|
-
|
2269
|
-
/**
|
2270
|
-
* Fired when HTTP request has finished loading.
|
2271
|
-
*/
|
2272
|
-
on(event: 'loadingFinished', listener: (params: Protocol.Network.LoadingFinishedEvent) => void): void;
|
2273
|
-
|
2274
|
-
/**
|
2275
|
-
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
2276
|
-
* mocked.
|
2277
|
-
* Deprecated, use Fetch.requestPaused instead.
|
2278
|
-
*/
|
2279
|
-
on(event: 'requestIntercepted', listener: (params: Protocol.Network.RequestInterceptedEvent) => void): void;
|
2280
|
-
|
2281
|
-
/**
|
2282
|
-
* Fired if request ended up loading from cache.
|
2283
|
-
*/
|
2284
|
-
on(event: 'requestServedFromCache', listener: (params: Protocol.Network.RequestServedFromCacheEvent) => void): void;
|
2285
|
-
|
2286
|
-
/**
|
2287
|
-
* Fired when page is about to send HTTP request.
|
2288
|
-
*/
|
2289
|
-
on(event: 'requestWillBeSent', listener: (params: Protocol.Network.RequestWillBeSentEvent) => void): void;
|
2290
|
-
|
2291
|
-
/**
|
2292
|
-
* Fired when resource loading priority is changed
|
2293
|
-
*/
|
2294
|
-
on(event: 'resourceChangedPriority', listener: (params: Protocol.Network.ResourceChangedPriorityEvent) => void): void;
|
2295
|
-
|
2296
|
-
/**
|
2297
|
-
* Fired when a signed exchange was received over the network
|
2298
|
-
*/
|
2299
|
-
on(event: 'signedExchangeReceived', listener: (params: Protocol.Network.SignedExchangeReceivedEvent) => void): void;
|
2300
|
-
|
2301
|
-
/**
|
2302
|
-
* Fired when HTTP response is available.
|
2303
|
-
*/
|
2304
|
-
on(event: 'responseReceived', listener: (params: Protocol.Network.ResponseReceivedEvent) => void): void;
|
2305
|
-
|
2306
|
-
/**
|
2307
|
-
* Fired when WebSocket is closed.
|
2308
|
-
*/
|
2309
|
-
on(event: 'webSocketClosed', listener: (params: Protocol.Network.WebSocketClosedEvent) => void): void;
|
2310
|
-
|
2311
|
-
/**
|
2312
|
-
* Fired upon WebSocket creation.
|
2313
|
-
*/
|
2314
|
-
on(event: 'webSocketCreated', listener: (params: Protocol.Network.WebSocketCreatedEvent) => void): void;
|
2315
|
-
|
2316
|
-
/**
|
2317
|
-
* Fired when WebSocket message error occurs.
|
2318
|
-
*/
|
2319
|
-
on(event: 'webSocketFrameError', listener: (params: Protocol.Network.WebSocketFrameErrorEvent) => void): void;
|
2320
|
-
|
2321
|
-
/**
|
2322
|
-
* Fired when WebSocket message is received.
|
2323
|
-
*/
|
2324
|
-
on(event: 'webSocketFrameReceived', listener: (params: Protocol.Network.WebSocketFrameReceivedEvent) => void): void;
|
2325
|
-
|
2326
|
-
/**
|
2327
|
-
* Fired when WebSocket message is sent.
|
2328
|
-
*/
|
2329
|
-
on(event: 'webSocketFrameSent', listener: (params: Protocol.Network.WebSocketFrameSentEvent) => void): void;
|
2330
|
-
|
2331
|
-
/**
|
2332
|
-
* Fired when WebSocket handshake response becomes available.
|
2333
|
-
*/
|
2334
|
-
on(event: 'webSocketHandshakeResponseReceived', listener: (params: Protocol.Network.WebSocketHandshakeResponseReceivedEvent) => void): void;
|
2335
|
-
|
2336
|
-
/**
|
2337
|
-
* Fired when WebSocket is about to initiate handshake.
|
2338
|
-
*/
|
2339
|
-
on(event: 'webSocketWillSendHandshakeRequest', listener: (params: Protocol.Network.WebSocketWillSendHandshakeRequestEvent) => void): void;
|
2340
|
-
|
2341
|
-
/**
|
2342
|
-
* Fired upon WebTransport creation.
|
2343
|
-
*/
|
2344
|
-
on(event: 'webTransportCreated', listener: (params: Protocol.Network.WebTransportCreatedEvent) => void): void;
|
2345
|
-
|
2346
|
-
/**
|
2347
|
-
* Fired when WebTransport handshake is finished.
|
2348
|
-
*/
|
2349
|
-
on(event: 'webTransportConnectionEstablished', listener: (params: Protocol.Network.WebTransportConnectionEstablishedEvent) => void): void;
|
2350
|
-
|
2351
|
-
/**
|
2352
|
-
* Fired when WebTransport is disposed.
|
2353
|
-
*/
|
2354
|
-
on(event: 'webTransportClosed', listener: (params: Protocol.Network.WebTransportClosedEvent) => void): void;
|
2355
|
-
|
2356
|
-
/**
|
2357
|
-
* Fired when additional information about a requestWillBeSent event is available from the
|
2358
|
-
* network stack. Not every requestWillBeSent event will have an additional
|
2359
|
-
* requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
|
2360
|
-
* or requestWillBeSentExtraInfo will be fired first for the same request.
|
2361
|
-
*/
|
2362
|
-
on(event: 'requestWillBeSentExtraInfo', listener: (params: Protocol.Network.RequestWillBeSentExtraInfoEvent) => void): void;
|
2363
|
-
|
2364
|
-
/**
|
2365
|
-
* Fired when additional information about a responseReceived event is available from the network
|
2366
|
-
* stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
|
2367
|
-
* it, and responseReceivedExtraInfo may be fired before or after responseReceived.
|
2368
|
-
*/
|
2369
|
-
on(event: 'responseReceivedExtraInfo', listener: (params: Protocol.Network.ResponseReceivedExtraInfoEvent) => void): void;
|
2370
|
-
|
2371
|
-
/**
|
2372
|
-
* Fired exactly once for each Trust Token operation. Depending on
|
2373
|
-
* the type of the operation and whether the operation succeeded or
|
2374
|
-
* failed, the event is fired before the corresponding request was sent
|
2375
|
-
* or after the response was received.
|
2376
|
-
*/
|
2377
|
-
on(event: 'trustTokenOperationDone', listener: (params: Protocol.Network.TrustTokenOperationDoneEvent) => void): void;
|
2378
|
-
|
2379
|
-
/**
|
2380
|
-
* Fired once when parsing the .wbn file has succeeded.
|
2381
|
-
* The event contains the information about the web bundle contents.
|
2382
|
-
*/
|
2383
|
-
on(event: 'subresourceWebBundleMetadataReceived', listener: (params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent) => void): void;
|
2384
|
-
|
2385
|
-
/**
|
2386
|
-
* Fired once when parsing the .wbn file has failed.
|
2387
|
-
*/
|
2388
|
-
on(event: 'subresourceWebBundleMetadataError', listener: (params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent) => void): void;
|
2389
|
-
|
2390
|
-
/**
|
2391
|
-
* Fired when handling requests for resources within a .wbn file.
|
2392
|
-
* Note: this will only be fired for resources that are requested by the webpage.
|
2393
|
-
*/
|
2394
|
-
on(event: 'subresourceWebBundleInnerResponseParsed', listener: (params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent) => void): void;
|
2395
|
-
|
2396
|
-
/**
|
2397
|
-
* Fired when request for resources within a .wbn file failed.
|
2398
|
-
*/
|
2399
|
-
on(event: 'subresourceWebBundleInnerResponseError', listener: (params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent) => void): void;
|
2400
|
-
|
2401
|
-
/**
|
2402
|
-
* Is sent whenever a new report is added.
|
2403
|
-
* And after 'enableReportingApi' for all existing reports.
|
2404
|
-
*/
|
2405
|
-
on(event: 'reportingApiReportAdded', listener: (params: Protocol.Network.ReportingApiReportAddedEvent) => void): void;
|
2406
|
-
|
2407
|
-
on(event: 'reportingApiReportUpdated', listener: (params: Protocol.Network.ReportingApiReportUpdatedEvent) => void): void;
|
2408
|
-
|
2409
|
-
}
|
2410
|
-
|
2411
|
-
export interface OverlayApi {
|
2412
|
-
/**
|
2413
|
-
* Disables domain notifications.
|
2414
|
-
*/
|
2415
|
-
disable(): Promise<void>;
|
2416
|
-
|
2417
|
-
/**
|
2418
|
-
* Enables domain notifications.
|
2419
|
-
*/
|
2420
|
-
enable(): Promise<void>;
|
2421
|
-
|
2422
|
-
/**
|
2423
|
-
* For testing.
|
2424
|
-
*/
|
2425
|
-
getHighlightObjectForTest(params: Protocol.Overlay.GetHighlightObjectForTestRequest): Promise<Protocol.Overlay.GetHighlightObjectForTestResponse>;
|
2426
|
-
|
2427
|
-
/**
|
2428
|
-
* For Persistent Grid testing.
|
2429
|
-
*/
|
2430
|
-
getGridHighlightObjectsForTest(params: Protocol.Overlay.GetGridHighlightObjectsForTestRequest): Promise<Protocol.Overlay.GetGridHighlightObjectsForTestResponse>;
|
2431
|
-
|
2432
|
-
/**
|
2433
|
-
* For Source Order Viewer testing.
|
2434
|
-
*/
|
2435
|
-
getSourceOrderHighlightObjectForTest(params: Protocol.Overlay.GetSourceOrderHighlightObjectForTestRequest): Promise<Protocol.Overlay.GetSourceOrderHighlightObjectForTestResponse>;
|
2436
|
-
|
2437
|
-
/**
|
2438
|
-
* Hides any highlight.
|
2439
|
-
*/
|
2440
|
-
hideHighlight(): Promise<void>;
|
2441
|
-
|
2442
|
-
/**
|
2443
|
-
* Highlights owner element of the frame with given id.
|
2444
|
-
* Deprecated: Doesn't work reliablity and cannot be fixed due to process
|
2445
|
-
* separatation (the owner node might be in a different process). Determine
|
2446
|
-
* the owner node in the client and use highlightNode.
|
2447
|
-
*/
|
2448
|
-
highlightFrame(params: Protocol.Overlay.HighlightFrameRequest): Promise<void>;
|
2449
|
-
|
2450
|
-
/**
|
2451
|
-
* Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
|
2452
|
-
* objectId must be specified.
|
2453
|
-
*/
|
2454
|
-
highlightNode(params: Protocol.Overlay.HighlightNodeRequest): Promise<void>;
|
2455
|
-
|
2456
|
-
/**
|
2457
|
-
* Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
|
2458
|
-
*/
|
2459
|
-
highlightQuad(params: Protocol.Overlay.HighlightQuadRequest): Promise<void>;
|
2460
|
-
|
2461
|
-
/**
|
2462
|
-
* Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
|
2463
|
-
*/
|
2464
|
-
highlightRect(params: Protocol.Overlay.HighlightRectRequest): Promise<void>;
|
2465
|
-
|
2466
|
-
/**
|
2467
|
-
* Highlights the source order of the children of the DOM node with given id or with the given
|
2468
|
-
* JavaScript object wrapper. Either nodeId or objectId must be specified.
|
2469
|
-
*/
|
2470
|
-
highlightSourceOrder(params: Protocol.Overlay.HighlightSourceOrderRequest): Promise<void>;
|
2471
|
-
|
2472
|
-
/**
|
2473
|
-
* Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.
|
2474
|
-
* Backend then generates 'inspectNodeRequested' event upon element selection.
|
2475
|
-
*/
|
2476
|
-
setInspectMode(params: Protocol.Overlay.SetInspectModeRequest): Promise<void>;
|
2477
|
-
|
2478
|
-
/**
|
2479
|
-
* Highlights owner element of all frames detected to be ads.
|
2480
|
-
*/
|
2481
|
-
setShowAdHighlights(params: Protocol.Overlay.SetShowAdHighlightsRequest): Promise<void>;
|
2482
|
-
|
2483
|
-
setPausedInDebuggerMessage(params: Protocol.Overlay.SetPausedInDebuggerMessageRequest): Promise<void>;
|
2484
|
-
|
2485
|
-
/**
|
2486
|
-
* Requests that backend shows debug borders on layers
|
2487
|
-
*/
|
2488
|
-
setShowDebugBorders(params: Protocol.Overlay.SetShowDebugBordersRequest): Promise<void>;
|
2489
|
-
|
2490
|
-
/**
|
2491
|
-
* Requests that backend shows the FPS counter
|
2492
|
-
*/
|
2493
|
-
setShowFPSCounter(params: Protocol.Overlay.SetShowFPSCounterRequest): Promise<void>;
|
2494
|
-
|
2495
|
-
/**
|
2496
|
-
* Highlight multiple elements with the CSS Grid overlay.
|
2497
|
-
*/
|
2498
|
-
setShowGridOverlays(params: Protocol.Overlay.SetShowGridOverlaysRequest): Promise<void>;
|
2499
|
-
|
2500
|
-
setShowFlexOverlays(params: Protocol.Overlay.SetShowFlexOverlaysRequest): Promise<void>;
|
2501
|
-
|
2502
|
-
setShowScrollSnapOverlays(params: Protocol.Overlay.SetShowScrollSnapOverlaysRequest): Promise<void>;
|
2503
|
-
|
2504
|
-
setShowContainerQueryOverlays(params: Protocol.Overlay.SetShowContainerQueryOverlaysRequest): Promise<void>;
|
2505
|
-
|
2506
|
-
/**
|
2507
|
-
* Requests that backend shows paint rectangles
|
2508
|
-
*/
|
2509
|
-
setShowPaintRects(params: Protocol.Overlay.SetShowPaintRectsRequest): Promise<void>;
|
2510
|
-
|
2511
|
-
/**
|
2512
|
-
* Requests that backend shows layout shift regions
|
2513
|
-
*/
|
2514
|
-
setShowLayoutShiftRegions(params: Protocol.Overlay.SetShowLayoutShiftRegionsRequest): Promise<void>;
|
2515
|
-
|
2516
|
-
/**
|
2517
|
-
* Requests that backend shows scroll bottleneck rects
|
2518
|
-
*/
|
2519
|
-
setShowScrollBottleneckRects(params: Protocol.Overlay.SetShowScrollBottleneckRectsRequest): Promise<void>;
|
2520
|
-
|
2521
|
-
/**
|
2522
|
-
* Requests that backend shows hit-test borders on layers
|
2523
|
-
*/
|
2524
|
-
setShowHitTestBorders(params: Protocol.Overlay.SetShowHitTestBordersRequest): Promise<void>;
|
2525
|
-
|
2526
|
-
/**
|
2527
|
-
* Request that backend shows an overlay with web vital metrics.
|
2528
|
-
*/
|
2529
|
-
setShowWebVitals(params: Protocol.Overlay.SetShowWebVitalsRequest): Promise<void>;
|
2530
|
-
|
2531
|
-
/**
|
2532
|
-
* Paints viewport size upon main frame resize.
|
2533
|
-
*/
|
2534
|
-
setShowViewportSizeOnResize(params: Protocol.Overlay.SetShowViewportSizeOnResizeRequest): Promise<void>;
|
2535
|
-
|
2536
|
-
/**
|
2537
|
-
* Add a dual screen device hinge
|
2538
|
-
*/
|
2539
|
-
setShowHinge(params: Protocol.Overlay.SetShowHingeRequest): Promise<void>;
|
2540
|
-
|
2541
|
-
/**
|
2542
|
-
* Show elements in isolation mode with overlays.
|
2543
|
-
*/
|
2544
|
-
setShowIsolatedElements(params: Protocol.Overlay.SetShowIsolatedElementsRequest): Promise<void>;
|
2545
|
-
|
2546
|
-
/**
|
2547
|
-
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
2548
|
-
* user manually inspects an element.
|
2549
|
-
*/
|
2550
|
-
on(event: 'inspectNodeRequested', listener: (params: Protocol.Overlay.InspectNodeRequestedEvent) => void): void;
|
2551
|
-
|
2552
|
-
/**
|
2553
|
-
* Fired when the node should be highlighted. This happens after call to `setInspectMode`.
|
2554
|
-
*/
|
2555
|
-
on(event: 'nodeHighlightRequested', listener: (params: Protocol.Overlay.NodeHighlightRequestedEvent) => void): void;
|
2556
|
-
|
2557
|
-
/**
|
2558
|
-
* Fired when user asks to capture screenshot of some area on the page.
|
2559
|
-
*/
|
2560
|
-
on(event: 'screenshotRequested', listener: (params: Protocol.Overlay.ScreenshotRequestedEvent) => void): void;
|
2561
|
-
|
2562
|
-
/**
|
2563
|
-
* Fired when user cancels the inspect mode.
|
2564
|
-
*/
|
2565
|
-
on(event: 'inspectModeCanceled', listener: () => void): void;
|
2566
|
-
|
2567
|
-
}
|
2568
|
-
|
2569
|
-
export interface PageApi {
|
2570
|
-
/**
|
2571
|
-
* Deprecated, please use addScriptToEvaluateOnNewDocument instead.
|
2572
|
-
*/
|
2573
|
-
addScriptToEvaluateOnLoad(params: Protocol.Page.AddScriptToEvaluateOnLoadRequest): Promise<Protocol.Page.AddScriptToEvaluateOnLoadResponse>;
|
2574
|
-
|
2575
|
-
/**
|
2576
|
-
* Evaluates given script in every frame upon creation (before loading frame's scripts).
|
2577
|
-
*/
|
2578
|
-
addScriptToEvaluateOnNewDocument(params: Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest): Promise<Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse>;
|
2579
|
-
|
2580
|
-
/**
|
2581
|
-
* Brings page to front (activates tab).
|
2582
|
-
*/
|
2583
|
-
bringToFront(): Promise<void>;
|
2584
|
-
|
2585
|
-
/**
|
2586
|
-
* Capture page screenshot.
|
2587
|
-
*/
|
2588
|
-
captureScreenshot(params: Protocol.Page.CaptureScreenshotRequest): Promise<Protocol.Page.CaptureScreenshotResponse>;
|
2589
|
-
|
2590
|
-
/**
|
2591
|
-
* Returns a snapshot of the page as a string. For MHTML format, the serialization includes
|
2592
|
-
* iframes, shadow DOM, external resources, and element-inline styles.
|
2593
|
-
*/
|
2594
|
-
captureSnapshot(params: Protocol.Page.CaptureSnapshotRequest): Promise<Protocol.Page.CaptureSnapshotResponse>;
|
2595
|
-
|
2596
|
-
/**
|
2597
|
-
* Clears the overridden device metrics.
|
2598
|
-
*/
|
2599
|
-
clearDeviceMetricsOverride(): Promise<void>;
|
2600
|
-
|
2601
|
-
/**
|
2602
|
-
* Clears the overridden Device Orientation.
|
2603
|
-
*/
|
2604
|
-
clearDeviceOrientationOverride(): Promise<void>;
|
2605
|
-
|
2606
|
-
/**
|
2607
|
-
* Clears the overridden Geolocation Position and Error.
|
2608
|
-
*/
|
2609
|
-
clearGeolocationOverride(): Promise<void>;
|
2610
|
-
|
2611
|
-
/**
|
2612
|
-
* Creates an isolated world for the given frame.
|
2613
|
-
*/
|
2614
|
-
createIsolatedWorld(params: Protocol.Page.CreateIsolatedWorldRequest): Promise<Protocol.Page.CreateIsolatedWorldResponse>;
|
2615
|
-
|
2616
|
-
/**
|
2617
|
-
* Deletes browser cookie with given name, domain and path.
|
2618
|
-
*/
|
2619
|
-
deleteCookie(params: Protocol.Page.DeleteCookieRequest): Promise<void>;
|
2620
|
-
|
2621
|
-
/**
|
2622
|
-
* Disables page domain notifications.
|
2623
|
-
*/
|
2624
|
-
disable(): Promise<void>;
|
2625
|
-
|
2626
|
-
/**
|
2627
|
-
* Enables page domain notifications.
|
2628
|
-
*/
|
2629
|
-
enable(): Promise<void>;
|
2630
|
-
|
2631
|
-
getAppManifest(): Promise<Protocol.Page.GetAppManifestResponse>;
|
2632
|
-
|
2633
|
-
getInstallabilityErrors(): Promise<Protocol.Page.GetInstallabilityErrorsResponse>;
|
2634
|
-
|
2635
|
-
getManifestIcons(): Promise<Protocol.Page.GetManifestIconsResponse>;
|
2636
|
-
|
2637
|
-
/**
|
2638
|
-
* Returns the unique (PWA) app id.
|
2639
|
-
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
2640
|
-
*/
|
2641
|
-
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
2642
|
-
|
2643
|
-
/**
|
2644
|
-
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
2645
|
-
* information in the `cookies` field.
|
2646
|
-
*/
|
2647
|
-
getCookies(): Promise<Protocol.Page.GetCookiesResponse>;
|
2648
|
-
|
2649
|
-
/**
|
2650
|
-
* Returns present frame tree structure.
|
2651
|
-
*/
|
2652
|
-
getFrameTree(): Promise<Protocol.Page.GetFrameTreeResponse>;
|
2653
|
-
|
2654
|
-
/**
|
2655
|
-
* Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
|
2656
|
-
*/
|
2657
|
-
getLayoutMetrics(): Promise<Protocol.Page.GetLayoutMetricsResponse>;
|
2658
|
-
|
2659
|
-
/**
|
2660
|
-
* Returns navigation history for the current page.
|
2661
|
-
*/
|
2662
|
-
getNavigationHistory(): Promise<Protocol.Page.GetNavigationHistoryResponse>;
|
2663
|
-
|
2664
|
-
/**
|
2665
|
-
* Resets navigation history for the current page.
|
2666
|
-
*/
|
2667
|
-
resetNavigationHistory(): Promise<void>;
|
2668
|
-
|
2669
|
-
/**
|
2670
|
-
* Returns content of the given resource.
|
2671
|
-
*/
|
2672
|
-
getResourceContent(params: Protocol.Page.GetResourceContentRequest): Promise<Protocol.Page.GetResourceContentResponse>;
|
2673
|
-
|
2674
|
-
/**
|
2675
|
-
* Returns present frame / resource tree structure.
|
2676
|
-
*/
|
2677
|
-
getResourceTree(): Promise<Protocol.Page.GetResourceTreeResponse>;
|
2678
|
-
|
2679
|
-
/**
|
2680
|
-
* Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
|
2681
|
-
*/
|
2682
|
-
handleJavaScriptDialog(params: Protocol.Page.HandleJavaScriptDialogRequest): Promise<void>;
|
2683
|
-
|
2684
|
-
/**
|
2685
|
-
* Navigates current page to the given URL.
|
2686
|
-
*/
|
2687
|
-
navigate(params: Protocol.Page.NavigateRequest): Promise<Protocol.Page.NavigateResponse>;
|
2688
|
-
|
2689
|
-
/**
|
2690
|
-
* Navigates current page to the given history entry.
|
2691
|
-
*/
|
2692
|
-
navigateToHistoryEntry(params: Protocol.Page.NavigateToHistoryEntryRequest): Promise<void>;
|
2693
|
-
|
2694
|
-
/**
|
2695
|
-
* Print page as PDF.
|
2696
|
-
*/
|
2697
|
-
printToPDF(params: Protocol.Page.PrintToPDFRequest): Promise<Protocol.Page.PrintToPDFResponse>;
|
2698
|
-
|
2699
|
-
/**
|
2700
|
-
* Reloads given page optionally ignoring the cache.
|
2701
|
-
*/
|
2702
|
-
reload(params: Protocol.Page.ReloadRequest): Promise<void>;
|
2703
|
-
|
2704
|
-
/**
|
2705
|
-
* Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
|
2706
|
-
*/
|
2707
|
-
removeScriptToEvaluateOnLoad(params: Protocol.Page.RemoveScriptToEvaluateOnLoadRequest): Promise<void>;
|
2708
|
-
|
2709
|
-
/**
|
2710
|
-
* Removes given script from the list.
|
2711
|
-
*/
|
2712
|
-
removeScriptToEvaluateOnNewDocument(params: Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest): Promise<void>;
|
2713
|
-
|
2714
|
-
/**
|
2715
|
-
* Acknowledges that a screencast frame has been received by the frontend.
|
2716
|
-
*/
|
2717
|
-
screencastFrameAck(params: Protocol.Page.ScreencastFrameAckRequest): Promise<void>;
|
2718
|
-
|
2719
|
-
/**
|
2720
|
-
* Searches for given string in resource content.
|
2721
|
-
*/
|
2722
|
-
searchInResource(params: Protocol.Page.SearchInResourceRequest): Promise<Protocol.Page.SearchInResourceResponse>;
|
2723
|
-
|
2724
|
-
/**
|
2725
|
-
* Enable Chrome's experimental ad filter on all sites.
|
2726
|
-
*/
|
2727
|
-
setAdBlockingEnabled(params: Protocol.Page.SetAdBlockingEnabledRequest): Promise<void>;
|
2728
|
-
|
2729
|
-
/**
|
2730
|
-
* Enable page Content Security Policy by-passing.
|
2731
|
-
*/
|
2732
|
-
setBypassCSP(params: Protocol.Page.SetBypassCSPRequest): Promise<void>;
|
2733
|
-
|
2734
|
-
/**
|
2735
|
-
* Get Permissions Policy state on given frame.
|
2736
|
-
*/
|
2737
|
-
getPermissionsPolicyState(params: Protocol.Page.GetPermissionsPolicyStateRequest): Promise<Protocol.Page.GetPermissionsPolicyStateResponse>;
|
2738
|
-
|
2739
|
-
/**
|
2740
|
-
* Get Origin Trials on given frame.
|
2741
|
-
*/
|
2742
|
-
getOriginTrials(params: Protocol.Page.GetOriginTrialsRequest): Promise<Protocol.Page.GetOriginTrialsResponse>;
|
2743
|
-
|
2744
|
-
/**
|
2745
|
-
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
2746
|
-
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
2747
|
-
* query results).
|
2748
|
-
*/
|
2749
|
-
setDeviceMetricsOverride(params: Protocol.Page.SetDeviceMetricsOverrideRequest): Promise<void>;
|
2750
|
-
|
2751
|
-
/**
|
2752
|
-
* Overrides the Device Orientation.
|
2753
|
-
*/
|
2754
|
-
setDeviceOrientationOverride(params: Protocol.Page.SetDeviceOrientationOverrideRequest): Promise<void>;
|
2755
|
-
|
2756
|
-
/**
|
2757
|
-
* Set generic font families.
|
2758
|
-
*/
|
2759
|
-
setFontFamilies(params: Protocol.Page.SetFontFamiliesRequest): Promise<void>;
|
2760
|
-
|
2761
|
-
/**
|
2762
|
-
* Set default font sizes.
|
2763
|
-
*/
|
2764
|
-
setFontSizes(params: Protocol.Page.SetFontSizesRequest): Promise<void>;
|
2765
|
-
|
2766
|
-
/**
|
2767
|
-
* Sets given markup as the document's HTML.
|
2768
|
-
*/
|
2769
|
-
setDocumentContent(params: Protocol.Page.SetDocumentContentRequest): Promise<void>;
|
2770
|
-
|
2771
|
-
/**
|
2772
|
-
* Set the behavior when downloading a file.
|
2773
|
-
*/
|
2774
|
-
setDownloadBehavior(params: Protocol.Page.SetDownloadBehaviorRequest): Promise<void>;
|
2775
|
-
|
2776
|
-
/**
|
2777
|
-
* Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
|
2778
|
-
* unavailable.
|
2779
|
-
*/
|
2780
|
-
setGeolocationOverride(params: Protocol.Page.SetGeolocationOverrideRequest): Promise<void>;
|
2781
|
-
|
2782
|
-
/**
|
2783
|
-
* Controls whether page will emit lifecycle events.
|
2784
|
-
*/
|
2785
|
-
setLifecycleEventsEnabled(params: Protocol.Page.SetLifecycleEventsEnabledRequest): Promise<void>;
|
2786
|
-
|
2787
|
-
/**
|
2788
|
-
* Toggles mouse event-based touch event emulation.
|
2789
|
-
*/
|
2790
|
-
setTouchEmulationEnabled(params: Protocol.Page.SetTouchEmulationEnabledRequest): Promise<void>;
|
2791
|
-
|
2792
|
-
/**
|
2793
|
-
* Starts sending each frame using the `screencastFrame` event.
|
2794
|
-
*/
|
2795
|
-
startScreencast(params: Protocol.Page.StartScreencastRequest): Promise<void>;
|
2796
|
-
|
2797
|
-
/**
|
2798
|
-
* Force the page stop all navigations and pending resource fetches.
|
2799
|
-
*/
|
2800
|
-
stopLoading(): Promise<void>;
|
2801
|
-
|
2802
|
-
/**
|
2803
|
-
* Crashes renderer on the IO thread, generates minidumps.
|
2804
|
-
*/
|
2805
|
-
crash(): Promise<void>;
|
2806
|
-
|
2807
|
-
/**
|
2808
|
-
* Tries to close page, running its beforeunload hooks, if any.
|
2809
|
-
*/
|
2810
|
-
close(): Promise<void>;
|
2811
|
-
|
2812
|
-
/**
|
2813
|
-
* Tries to update the web lifecycle state of the page.
|
2814
|
-
* It will transition the page to the given state according to:
|
2815
|
-
* https://github.com/WICG/web-lifecycle/
|
2816
|
-
*/
|
2817
|
-
setWebLifecycleState(params: Protocol.Page.SetWebLifecycleStateRequest): Promise<void>;
|
2818
|
-
|
2819
|
-
/**
|
2820
|
-
* Stops sending each frame in the `screencastFrame`.
|
2821
|
-
*/
|
2822
|
-
stopScreencast(): Promise<void>;
|
2823
|
-
|
2824
|
-
/**
|
2825
|
-
* Requests backend to produce compilation cache for the specified scripts.
|
2826
|
-
* `scripts` are appeneded to the list of scripts for which the cache
|
2827
|
-
* would be produced. The list may be reset during page navigation.
|
2828
|
-
* When script with a matching URL is encountered, the cache is optionally
|
2829
|
-
* produced upon backend discretion, based on internal heuristics.
|
2830
|
-
* See also: `Page.compilationCacheProduced`.
|
2831
|
-
*/
|
2832
|
-
produceCompilationCache(params: Protocol.Page.ProduceCompilationCacheRequest): Promise<void>;
|
2833
|
-
|
2834
|
-
/**
|
2835
|
-
* Seeds compilation cache for given url. Compilation cache does not survive
|
2836
|
-
* cross-process navigation.
|
2837
|
-
*/
|
2838
|
-
addCompilationCache(params: Protocol.Page.AddCompilationCacheRequest): Promise<void>;
|
2839
|
-
|
2840
|
-
/**
|
2841
|
-
* Clears seeded compilation cache.
|
2842
|
-
*/
|
2843
|
-
clearCompilationCache(): Promise<void>;
|
2844
|
-
|
2845
|
-
/**
|
2846
|
-
* Generates a report for testing.
|
2847
|
-
*/
|
2848
|
-
generateTestReport(params: Protocol.Page.GenerateTestReportRequest): Promise<void>;
|
2849
|
-
|
2850
|
-
/**
|
2851
|
-
* Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
|
2852
|
-
*/
|
2853
|
-
waitForDebugger(): Promise<void>;
|
2854
|
-
|
2855
|
-
/**
|
2856
|
-
* Intercept file chooser requests and transfer control to protocol clients.
|
2857
|
-
* When file chooser interception is enabled, native file chooser dialog is not shown.
|
2858
|
-
* Instead, a protocol event `Page.fileChooserOpened` is emitted.
|
2859
|
-
*/
|
2860
|
-
setInterceptFileChooserDialog(params: Protocol.Page.SetInterceptFileChooserDialogRequest): Promise<void>;
|
2861
|
-
|
2862
|
-
on(event: 'domContentEventFired', listener: (params: Protocol.Page.DomContentEventFiredEvent) => void): void;
|
2863
|
-
|
2864
|
-
/**
|
2865
|
-
* Emitted only when `page.interceptFileChooser` is enabled.
|
2866
|
-
*/
|
2867
|
-
on(event: 'fileChooserOpened', listener: (params: Protocol.Page.FileChooserOpenedEvent) => void): void;
|
2868
|
-
|
2869
|
-
/**
|
2870
|
-
* Fired when frame has been attached to its parent.
|
2871
|
-
*/
|
2872
|
-
on(event: 'frameAttached', listener: (params: Protocol.Page.FrameAttachedEvent) => void): void;
|
2873
|
-
|
2874
|
-
/**
|
2875
|
-
* Fired when frame no longer has a scheduled navigation.
|
2876
|
-
*/
|
2877
|
-
on(event: 'frameClearedScheduledNavigation', listener: (params: Protocol.Page.FrameClearedScheduledNavigationEvent) => void): void;
|
2878
|
-
|
2879
|
-
/**
|
2880
|
-
* Fired when frame has been detached from its parent.
|
2881
|
-
*/
|
2882
|
-
on(event: 'frameDetached', listener: (params: Protocol.Page.FrameDetachedEvent) => void): void;
|
2883
|
-
|
2884
|
-
/**
|
2885
|
-
* Fired once navigation of the frame has completed. Frame is now associated with the new loader.
|
2886
|
-
*/
|
2887
|
-
on(event: 'frameNavigated', listener: (params: Protocol.Page.FrameNavigatedEvent) => void): void;
|
2888
|
-
|
2889
|
-
/**
|
2890
|
-
* Fired when opening document to write to.
|
2891
|
-
*/
|
2892
|
-
on(event: 'documentOpened', listener: (params: Protocol.Page.DocumentOpenedEvent) => void): void;
|
2893
|
-
|
2894
|
-
on(event: 'frameResized', listener: () => void): void;
|
2895
|
-
|
2896
|
-
/**
|
2897
|
-
* Fired when a renderer-initiated navigation is requested.
|
2898
|
-
* Navigation may still be cancelled after the event is issued.
|
2899
|
-
*/
|
2900
|
-
on(event: 'frameRequestedNavigation', listener: (params: Protocol.Page.FrameRequestedNavigationEvent) => void): void;
|
2901
|
-
|
2902
|
-
/**
|
2903
|
-
* Fired when frame schedules a potential navigation.
|
2904
|
-
*/
|
2905
|
-
on(event: 'frameScheduledNavigation', listener: (params: Protocol.Page.FrameScheduledNavigationEvent) => void): void;
|
2906
|
-
|
2907
|
-
/**
|
2908
|
-
* Fired when frame has started loading.
|
2909
|
-
*/
|
2910
|
-
on(event: 'frameStartedLoading', listener: (params: Protocol.Page.FrameStartedLoadingEvent) => void): void;
|
2911
|
-
|
2912
|
-
/**
|
2913
|
-
* Fired when frame has stopped loading.
|
2914
|
-
*/
|
2915
|
-
on(event: 'frameStoppedLoading', listener: (params: Protocol.Page.FrameStoppedLoadingEvent) => void): void;
|
2916
|
-
|
2917
|
-
/**
|
2918
|
-
* Fired when page is about to start a download.
|
2919
|
-
* Deprecated. Use Browser.downloadWillBegin instead.
|
2920
|
-
*/
|
2921
|
-
on(event: 'downloadWillBegin', listener: (params: Protocol.Page.DownloadWillBeginEvent) => void): void;
|
2922
|
-
|
2923
|
-
/**
|
2924
|
-
* Fired when download makes progress. Last call has |done| == true.
|
2925
|
-
* Deprecated. Use Browser.downloadProgress instead.
|
2926
|
-
*/
|
2927
|
-
on(event: 'downloadProgress', listener: (params: Protocol.Page.DownloadProgressEvent) => void): void;
|
2928
|
-
|
2929
|
-
/**
|
2930
|
-
* Fired when interstitial page was hidden
|
2931
|
-
*/
|
2932
|
-
on(event: 'interstitialHidden', listener: () => void): void;
|
2933
|
-
|
2934
|
-
/**
|
2935
|
-
* Fired when interstitial page was shown
|
2936
|
-
*/
|
2937
|
-
on(event: 'interstitialShown', listener: () => void): void;
|
2938
|
-
|
2939
|
-
/**
|
2940
|
-
* Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
|
2941
|
-
* closed.
|
2942
|
-
*/
|
2943
|
-
on(event: 'javascriptDialogClosed', listener: (params: Protocol.Page.JavascriptDialogClosedEvent) => void): void;
|
2944
|
-
|
2945
|
-
/**
|
2946
|
-
* Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
|
2947
|
-
* open.
|
2948
|
-
*/
|
2949
|
-
on(event: 'javascriptDialogOpening', listener: (params: Protocol.Page.JavascriptDialogOpeningEvent) => void): void;
|
2950
|
-
|
2951
|
-
/**
|
2952
|
-
* Fired for top level page lifecycle events such as navigation, load, paint, etc.
|
2953
|
-
*/
|
2954
|
-
on(event: 'lifecycleEvent', listener: (params: Protocol.Page.LifecycleEventEvent) => void): void;
|
2955
|
-
|
2956
|
-
/**
|
2957
|
-
* Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do
|
2958
|
-
* not assume any ordering with the Page.frameNavigated event. This event is fired only for
|
2959
|
-
* main-frame history navigation where the document changes (non-same-document navigations),
|
2960
|
-
* when bfcache navigation fails.
|
2961
|
-
*/
|
2962
|
-
on(event: 'backForwardCacheNotUsed', listener: (params: Protocol.Page.BackForwardCacheNotUsedEvent) => void): void;
|
2963
|
-
|
2964
|
-
on(event: 'loadEventFired', listener: (params: Protocol.Page.LoadEventFiredEvent) => void): void;
|
2965
|
-
|
2966
|
-
/**
|
2967
|
-
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
2968
|
-
*/
|
2969
|
-
on(event: 'navigatedWithinDocument', listener: (params: Protocol.Page.NavigatedWithinDocumentEvent) => void): void;
|
2970
|
-
|
2971
|
-
/**
|
2972
|
-
* Compressed image data requested by the `startScreencast`.
|
2973
|
-
*/
|
2974
|
-
on(event: 'screencastFrame', listener: (params: Protocol.Page.ScreencastFrameEvent) => void): void;
|
2975
|
-
|
2976
|
-
/**
|
2977
|
-
* Fired when the page with currently enabled screencast was shown or hidden `.
|
2978
|
-
*/
|
2979
|
-
on(event: 'screencastVisibilityChanged', listener: (params: Protocol.Page.ScreencastVisibilityChangedEvent) => void): void;
|
2980
|
-
|
2981
|
-
/**
|
2982
|
-
* Fired when a new window is going to be opened, via window.open(), link click, form submission,
|
2983
|
-
* etc.
|
2984
|
-
*/
|
2985
|
-
on(event: 'windowOpen', listener: (params: Protocol.Page.WindowOpenEvent) => void): void;
|
2986
|
-
|
2987
|
-
/**
|
2988
|
-
* Issued for every compilation cache generated. Is only available
|
2989
|
-
* if Page.setGenerateCompilationCache is enabled.
|
2990
|
-
*/
|
2991
|
-
on(event: 'compilationCacheProduced', listener: (params: Protocol.Page.CompilationCacheProducedEvent) => void): void;
|
2992
|
-
|
2993
|
-
}
|
2994
|
-
|
2995
|
-
export interface PerformanceApi {
|
2996
|
-
/**
|
2997
|
-
* Disable collecting and reporting metrics.
|
2998
|
-
*/
|
2999
|
-
disable(): Promise<void>;
|
3000
|
-
|
3001
|
-
/**
|
3002
|
-
* Enable collecting and reporting metrics.
|
3003
|
-
*/
|
3004
|
-
enable(params: Protocol.Performance.EnableRequest): Promise<void>;
|
3005
|
-
|
3006
|
-
/**
|
3007
|
-
* Sets time domain to use for collecting and reporting duration metrics.
|
3008
|
-
* Note that this must be called before enabling metrics collection. Calling
|
3009
|
-
* this method while metrics collection is enabled returns an error.
|
3010
|
-
*/
|
3011
|
-
setTimeDomain(params: Protocol.Performance.SetTimeDomainRequest): Promise<void>;
|
3012
|
-
|
3013
|
-
/**
|
3014
|
-
* Retrieve current values of run-time metrics.
|
3015
|
-
*/
|
3016
|
-
getMetrics(): Promise<Protocol.Performance.GetMetricsResponse>;
|
3017
|
-
|
3018
|
-
/**
|
3019
|
-
* Current values of the metrics.
|
3020
|
-
*/
|
3021
|
-
on(event: 'metrics', listener: (params: Protocol.Performance.MetricsEvent) => void): void;
|
3022
|
-
|
3023
|
-
}
|
3024
|
-
|
3025
|
-
export interface PerformanceTimelineApi {
|
3026
|
-
/**
|
3027
|
-
* Previously buffered events would be reported before method returns.
|
3028
|
-
* See also: timelineEventAdded
|
3029
|
-
*/
|
3030
|
-
enable(params: Protocol.PerformanceTimeline.EnableRequest): Promise<void>;
|
3031
|
-
|
3032
|
-
/**
|
3033
|
-
* Sent when a performance timeline event is added. See reportPerformanceTimeline method.
|
3034
|
-
*/
|
3035
|
-
on(event: 'timelineEventAdded', listener: (params: Protocol.PerformanceTimeline.TimelineEventAddedEvent) => void): void;
|
3036
|
-
|
3037
|
-
}
|
3038
|
-
|
3039
|
-
export interface SecurityApi {
|
3040
|
-
/**
|
3041
|
-
* Disables tracking security state changes.
|
3042
|
-
*/
|
3043
|
-
disable(): Promise<void>;
|
3044
|
-
|
3045
|
-
/**
|
3046
|
-
* Enables tracking security state changes.
|
3047
|
-
*/
|
3048
|
-
enable(): Promise<void>;
|
3049
|
-
|
3050
|
-
/**
|
3051
|
-
* Enable/disable whether all certificate errors should be ignored.
|
3052
|
-
*/
|
3053
|
-
setIgnoreCertificateErrors(params: Protocol.Security.SetIgnoreCertificateErrorsRequest): Promise<void>;
|
3054
|
-
|
3055
|
-
/**
|
3056
|
-
* Handles a certificate error that fired a certificateError event.
|
3057
|
-
*/
|
3058
|
-
handleCertificateError(params: Protocol.Security.HandleCertificateErrorRequest): Promise<void>;
|
3059
|
-
|
3060
|
-
/**
|
3061
|
-
* Enable/disable overriding certificate errors. If enabled, all certificate error events need to
|
3062
|
-
* be handled by the DevTools client and should be answered with `handleCertificateError` commands.
|
3063
|
-
*/
|
3064
|
-
setOverrideCertificateErrors(params: Protocol.Security.SetOverrideCertificateErrorsRequest): Promise<void>;
|
3065
|
-
|
3066
|
-
/**
|
3067
|
-
* There is a certificate error. If overriding certificate errors is enabled, then it should be
|
3068
|
-
* handled with the `handleCertificateError` command. Note: this event does not fire if the
|
3069
|
-
* certificate error has been allowed internally. Only one client per target should override
|
3070
|
-
* certificate errors at the same time.
|
3071
|
-
*/
|
3072
|
-
on(event: 'certificateError', listener: (params: Protocol.Security.CertificateErrorEvent) => void): void;
|
3073
|
-
|
3074
|
-
/**
|
3075
|
-
* The security state of the page changed.
|
3076
|
-
*/
|
3077
|
-
on(event: 'visibleSecurityStateChanged', listener: (params: Protocol.Security.VisibleSecurityStateChangedEvent) => void): void;
|
3078
|
-
|
3079
|
-
/**
|
3080
|
-
* The security state of the page changed.
|
3081
|
-
*/
|
3082
|
-
on(event: 'securityStateChanged', listener: (params: Protocol.Security.SecurityStateChangedEvent) => void): void;
|
3083
|
-
|
3084
|
-
}
|
3085
|
-
|
3086
|
-
export interface ServiceWorkerApi {
|
3087
|
-
deliverPushMessage(params: Protocol.ServiceWorker.DeliverPushMessageRequest): Promise<void>;
|
3088
|
-
|
3089
|
-
disable(): Promise<void>;
|
3090
|
-
|
3091
|
-
dispatchSyncEvent(params: Protocol.ServiceWorker.DispatchSyncEventRequest): Promise<void>;
|
3092
|
-
|
3093
|
-
dispatchPeriodicSyncEvent(params: Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest): Promise<void>;
|
3094
|
-
|
3095
|
-
enable(): Promise<void>;
|
3096
|
-
|
3097
|
-
inspectWorker(params: Protocol.ServiceWorker.InspectWorkerRequest): Promise<void>;
|
3098
|
-
|
3099
|
-
setForceUpdateOnPageLoad(params: Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest): Promise<void>;
|
3100
|
-
|
3101
|
-
skipWaiting(params: Protocol.ServiceWorker.SkipWaitingRequest): Promise<void>;
|
3102
|
-
|
3103
|
-
startWorker(params: Protocol.ServiceWorker.StartWorkerRequest): Promise<void>;
|
3104
|
-
|
3105
|
-
stopAllWorkers(): Promise<void>;
|
3106
|
-
|
3107
|
-
stopWorker(params: Protocol.ServiceWorker.StopWorkerRequest): Promise<void>;
|
3108
|
-
|
3109
|
-
unregister(params: Protocol.ServiceWorker.UnregisterRequest): Promise<void>;
|
3110
|
-
|
3111
|
-
updateRegistration(params: Protocol.ServiceWorker.UpdateRegistrationRequest): Promise<void>;
|
3112
|
-
|
3113
|
-
on(event: 'workerErrorReported', listener: (params: Protocol.ServiceWorker.WorkerErrorReportedEvent) => void): void;
|
3114
|
-
|
3115
|
-
on(event: 'workerRegistrationUpdated', listener: (params: Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent) => void): void;
|
3116
|
-
|
3117
|
-
on(event: 'workerVersionUpdated', listener: (params: Protocol.ServiceWorker.WorkerVersionUpdatedEvent) => void): void;
|
3118
|
-
|
3119
|
-
}
|
3120
|
-
|
3121
|
-
export interface StorageApi {
|
3122
|
-
/**
|
3123
|
-
* Clears storage for origin.
|
3124
|
-
*/
|
3125
|
-
clearDataForOrigin(params: Protocol.Storage.ClearDataForOriginRequest): Promise<void>;
|
3126
|
-
|
3127
|
-
/**
|
3128
|
-
* Returns all browser cookies.
|
3129
|
-
*/
|
3130
|
-
getCookies(params: Protocol.Storage.GetCookiesRequest): Promise<Protocol.Storage.GetCookiesResponse>;
|
3131
|
-
|
3132
|
-
/**
|
3133
|
-
* Sets given cookies.
|
3134
|
-
*/
|
3135
|
-
setCookies(params: Protocol.Storage.SetCookiesRequest): Promise<void>;
|
3136
|
-
|
3137
|
-
/**
|
3138
|
-
* Clears cookies.
|
3139
|
-
*/
|
3140
|
-
clearCookies(params: Protocol.Storage.ClearCookiesRequest): Promise<void>;
|
3141
|
-
|
3142
|
-
/**
|
3143
|
-
* Returns usage and quota in bytes.
|
3144
|
-
*/
|
3145
|
-
getUsageAndQuota(params: Protocol.Storage.GetUsageAndQuotaRequest): Promise<Protocol.Storage.GetUsageAndQuotaResponse>;
|
3146
|
-
|
3147
|
-
/**
|
3148
|
-
* Override quota for the specified origin
|
3149
|
-
*/
|
3150
|
-
overrideQuotaForOrigin(params: Protocol.Storage.OverrideQuotaForOriginRequest): Promise<void>;
|
3151
|
-
|
3152
|
-
/**
|
3153
|
-
* Registers origin to be notified when an update occurs to its cache storage list.
|
3154
|
-
*/
|
3155
|
-
trackCacheStorageForOrigin(params: Protocol.Storage.TrackCacheStorageForOriginRequest): Promise<void>;
|
3156
|
-
|
3157
|
-
/**
|
3158
|
-
* Registers origin to be notified when an update occurs to its IndexedDB.
|
3159
|
-
*/
|
3160
|
-
trackIndexedDBForOrigin(params: Protocol.Storage.TrackIndexedDBForOriginRequest): Promise<void>;
|
3161
|
-
|
3162
|
-
/**
|
3163
|
-
* Unregisters origin from receiving notifications for cache storage.
|
3164
|
-
*/
|
3165
|
-
untrackCacheStorageForOrigin(params: Protocol.Storage.UntrackCacheStorageForOriginRequest): Promise<void>;
|
3166
|
-
|
3167
|
-
/**
|
3168
|
-
* Unregisters origin from receiving notifications for IndexedDB.
|
3169
|
-
*/
|
3170
|
-
untrackIndexedDBForOrigin(params: Protocol.Storage.UntrackIndexedDBForOriginRequest): Promise<void>;
|
3171
|
-
|
3172
|
-
/**
|
3173
|
-
* Returns the number of stored Trust Tokens per issuer for the
|
3174
|
-
* current browsing context.
|
3175
|
-
*/
|
3176
|
-
getTrustTokens(): Promise<Protocol.Storage.GetTrustTokensResponse>;
|
3177
|
-
|
3178
|
-
/**
|
3179
|
-
* Removes all Trust Tokens issued by the provided issuerOrigin.
|
3180
|
-
* Leaves other stored data, including the issuer's Redemption Records, intact.
|
3181
|
-
*/
|
3182
|
-
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
3183
|
-
|
3184
|
-
/**
|
3185
|
-
* A cache's contents have been modified.
|
3186
|
-
*/
|
3187
|
-
on(event: 'cacheStorageContentUpdated', listener: (params: Protocol.Storage.CacheStorageContentUpdatedEvent) => void): void;
|
3188
|
-
|
3189
|
-
/**
|
3190
|
-
* A cache has been added/deleted.
|
3191
|
-
*/
|
3192
|
-
on(event: 'cacheStorageListUpdated', listener: (params: Protocol.Storage.CacheStorageListUpdatedEvent) => void): void;
|
3193
|
-
|
3194
|
-
/**
|
3195
|
-
* The origin's IndexedDB object store has been modified.
|
3196
|
-
*/
|
3197
|
-
on(event: 'indexedDBContentUpdated', listener: (params: Protocol.Storage.IndexedDBContentUpdatedEvent) => void): void;
|
3198
|
-
|
3199
|
-
/**
|
3200
|
-
* The origin's IndexedDB database list has been modified.
|
3201
|
-
*/
|
3202
|
-
on(event: 'indexedDBListUpdated', listener: (params: Protocol.Storage.IndexedDBListUpdatedEvent) => void): void;
|
3203
|
-
|
3204
|
-
}
|
3205
|
-
|
3206
|
-
export interface SystemInfoApi {
|
3207
|
-
/**
|
3208
|
-
* Returns information about the system.
|
3209
|
-
*/
|
3210
|
-
getInfo(): Promise<Protocol.SystemInfo.GetInfoResponse>;
|
3211
|
-
|
3212
|
-
/**
|
3213
|
-
* Returns information about all running processes.
|
3214
|
-
*/
|
3215
|
-
getProcessInfo(): Promise<Protocol.SystemInfo.GetProcessInfoResponse>;
|
3216
|
-
|
3217
|
-
}
|
3218
|
-
|
3219
|
-
export interface TargetApi {
|
3220
|
-
/**
|
3221
|
-
* Activates (focuses) the target.
|
3222
|
-
*/
|
3223
|
-
activateTarget(params: Protocol.Target.ActivateTargetRequest): Promise<void>;
|
3224
|
-
|
3225
|
-
/**
|
3226
|
-
* Attaches to the target with given id.
|
3227
|
-
*/
|
3228
|
-
attachToTarget(params: Protocol.Target.AttachToTargetRequest): Promise<Protocol.Target.AttachToTargetResponse>;
|
3229
|
-
|
3230
|
-
/**
|
3231
|
-
* Attaches to the browser target, only uses flat sessionId mode.
|
3232
|
-
*/
|
3233
|
-
attachToBrowserTarget(): Promise<Protocol.Target.AttachToBrowserTargetResponse>;
|
3234
|
-
|
3235
|
-
/**
|
3236
|
-
* Closes the target. If the target is a page that gets closed too.
|
3237
|
-
*/
|
3238
|
-
closeTarget(params: Protocol.Target.CloseTargetRequest): Promise<Protocol.Target.CloseTargetResponse>;
|
3239
|
-
|
3240
|
-
/**
|
3241
|
-
* Inject object to the target's main frame that provides a communication
|
3242
|
-
* channel with browser target.
|
3243
|
-
*
|
3244
|
-
* Injected object will be available as `window[bindingName]`.
|
3245
|
-
*
|
3246
|
-
* The object has the follwing API:
|
3247
|
-
* - `binding.send(json)` - a method to send messages over the remote debugging protocol
|
3248
|
-
* - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
3249
|
-
*/
|
3250
|
-
exposeDevToolsProtocol(params: Protocol.Target.ExposeDevToolsProtocolRequest): Promise<void>;
|
3251
|
-
|
3252
|
-
/**
|
3253
|
-
* Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
|
3254
|
-
* one.
|
3255
|
-
*/
|
3256
|
-
createBrowserContext(params: Protocol.Target.CreateBrowserContextRequest): Promise<Protocol.Target.CreateBrowserContextResponse>;
|
3257
|
-
|
3258
|
-
/**
|
3259
|
-
* Returns all browser contexts created with `Target.createBrowserContext` method.
|
3260
|
-
*/
|
3261
|
-
getBrowserContexts(): Promise<Protocol.Target.GetBrowserContextsResponse>;
|
3262
|
-
|
3263
|
-
/**
|
3264
|
-
* Creates a new page.
|
3265
|
-
*/
|
3266
|
-
createTarget(params: Protocol.Target.CreateTargetRequest): Promise<Protocol.Target.CreateTargetResponse>;
|
3267
|
-
|
3268
|
-
/**
|
3269
|
-
* Detaches session with given id.
|
3270
|
-
*/
|
3271
|
-
detachFromTarget(params: Protocol.Target.DetachFromTargetRequest): Promise<void>;
|
3272
|
-
|
3273
|
-
/**
|
3274
|
-
* Deletes a BrowserContext. All the belonging pages will be closed without calling their
|
3275
|
-
* beforeunload hooks.
|
3276
|
-
*/
|
3277
|
-
disposeBrowserContext(params: Protocol.Target.DisposeBrowserContextRequest): Promise<void>;
|
3278
|
-
|
3279
|
-
/**
|
3280
|
-
* Returns information about a target.
|
3281
|
-
*/
|
3282
|
-
getTargetInfo(params: Protocol.Target.GetTargetInfoRequest): Promise<Protocol.Target.GetTargetInfoResponse>;
|
3283
|
-
|
3284
|
-
/**
|
3285
|
-
* Retrieves a list of available targets.
|
3286
|
-
*/
|
3287
|
-
getTargets(): Promise<Protocol.Target.GetTargetsResponse>;
|
3288
|
-
|
3289
|
-
/**
|
3290
|
-
* Sends protocol message over session with given id.
|
3291
|
-
* Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
|
3292
|
-
* and crbug.com/991325.
|
3293
|
-
*/
|
3294
|
-
sendMessageToTarget(params: Protocol.Target.SendMessageToTargetRequest): Promise<void>;
|
3295
|
-
|
3296
|
-
/**
|
3297
|
-
* Controls whether to automatically attach to new targets which are considered to be related to
|
3298
|
-
* this one. When turned on, attaches to all existing related targets as well. When turned off,
|
3299
|
-
* automatically detaches from all currently attached targets.
|
3300
|
-
* This also clears all targets added by `autoAttachRelated` from the list of targets to watch
|
3301
|
-
* for creation of related targets.
|
3302
|
-
*/
|
3303
|
-
setAutoAttach(params: Protocol.Target.SetAutoAttachRequest): Promise<void>;
|
3304
|
-
|
3305
|
-
/**
|
3306
|
-
* Adds the specified target to the list of targets that will be monitored for any related target
|
3307
|
-
* creation (such as child frames, child workers and new versions of service worker) and reported
|
3308
|
-
* through `attachedToTarget`. The specified target is also auto-attached.
|
3309
|
-
* This cancels the effect of any previous `setAutoAttach` and is also cancelled by subsequent
|
3310
|
-
* `setAutoAttach`. Only available at the Browser target.
|
3311
|
-
*/
|
3312
|
-
autoAttachRelated(params: Protocol.Target.AutoAttachRelatedRequest): Promise<void>;
|
3313
|
-
|
3314
|
-
/**
|
3315
|
-
* Controls whether to discover available targets and notify via
|
3316
|
-
* `targetCreated/targetInfoChanged/targetDestroyed` events.
|
3317
|
-
*/
|
3318
|
-
setDiscoverTargets(params: Protocol.Target.SetDiscoverTargetsRequest): Promise<void>;
|
3319
|
-
|
3320
|
-
/**
|
3321
|
-
* Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
|
3322
|
-
* `true`.
|
3323
|
-
*/
|
3324
|
-
setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest): Promise<void>;
|
3325
|
-
|
3326
|
-
/**
|
3327
|
-
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
3328
|
-
*/
|
3329
|
-
on(event: 'attachedToTarget', listener: (params: Protocol.Target.AttachedToTargetEvent) => void): void;
|
3330
|
-
|
3331
|
-
/**
|
3332
|
-
* Issued when detached from target for any reason (including `detachFromTarget` command). Can be
|
3333
|
-
* issued multiple times per target if multiple sessions have been attached to it.
|
3334
|
-
*/
|
3335
|
-
on(event: 'detachedFromTarget', listener: (params: Protocol.Target.DetachedFromTargetEvent) => void): void;
|
3336
|
-
|
3337
|
-
/**
|
3338
|
-
* Notifies about a new protocol message received from the session (as reported in
|
3339
|
-
* `attachedToTarget` event).
|
3340
|
-
*/
|
3341
|
-
on(event: 'receivedMessageFromTarget', listener: (params: Protocol.Target.ReceivedMessageFromTargetEvent) => void): void;
|
3342
|
-
|
3343
|
-
/**
|
3344
|
-
* Issued when a possible inspection target is created.
|
3345
|
-
*/
|
3346
|
-
on(event: 'targetCreated', listener: (params: Protocol.Target.TargetCreatedEvent) => void): void;
|
3347
|
-
|
3348
|
-
/**
|
3349
|
-
* Issued when a target is destroyed.
|
3350
|
-
*/
|
3351
|
-
on(event: 'targetDestroyed', listener: (params: Protocol.Target.TargetDestroyedEvent) => void): void;
|
3352
|
-
|
3353
|
-
/**
|
3354
|
-
* Issued when a target has crashed.
|
3355
|
-
*/
|
3356
|
-
on(event: 'targetCrashed', listener: (params: Protocol.Target.TargetCrashedEvent) => void): void;
|
3357
|
-
|
3358
|
-
/**
|
3359
|
-
* Issued when some information about a target has changed. This only happens between
|
3360
|
-
* `targetCreated` and `targetDestroyed`.
|
3361
|
-
*/
|
3362
|
-
on(event: 'targetInfoChanged', listener: (params: Protocol.Target.TargetInfoChangedEvent) => void): void;
|
3363
|
-
|
3364
|
-
}
|
3365
|
-
|
3366
|
-
export interface TetheringApi {
|
3367
|
-
/**
|
3368
|
-
* Request browser port binding.
|
3369
|
-
*/
|
3370
|
-
bind(params: Protocol.Tethering.BindRequest): Promise<void>;
|
3371
|
-
|
3372
|
-
/**
|
3373
|
-
* Request browser port unbinding.
|
3374
|
-
*/
|
3375
|
-
unbind(params: Protocol.Tethering.UnbindRequest): Promise<void>;
|
3376
|
-
|
3377
|
-
/**
|
3378
|
-
* Informs that port was successfully bound and got a specified connection id.
|
3379
|
-
*/
|
3380
|
-
on(event: 'accepted', listener: (params: Protocol.Tethering.AcceptedEvent) => void): void;
|
3381
|
-
|
3382
|
-
}
|
3383
|
-
|
3384
|
-
export interface TracingApi {
|
3385
|
-
/**
|
3386
|
-
* Stop trace events collection.
|
3387
|
-
*/
|
3388
|
-
end(): Promise<void>;
|
3389
|
-
|
3390
|
-
/**
|
3391
|
-
* Gets supported tracing categories.
|
3392
|
-
*/
|
3393
|
-
getCategories(): Promise<Protocol.Tracing.GetCategoriesResponse>;
|
3394
|
-
|
3395
|
-
/**
|
3396
|
-
* Record a clock sync marker in the trace.
|
3397
|
-
*/
|
3398
|
-
recordClockSyncMarker(params: Protocol.Tracing.RecordClockSyncMarkerRequest): Promise<void>;
|
3399
|
-
|
3400
|
-
/**
|
3401
|
-
* Request a global memory dump.
|
3402
|
-
*/
|
3403
|
-
requestMemoryDump(params: Protocol.Tracing.RequestMemoryDumpRequest): Promise<Protocol.Tracing.RequestMemoryDumpResponse>;
|
3404
|
-
|
3405
|
-
/**
|
3406
|
-
* Start trace events collection.
|
3407
|
-
*/
|
3408
|
-
start(params: Protocol.Tracing.StartRequest): Promise<void>;
|
3409
|
-
|
3410
|
-
on(event: 'bufferUsage', listener: (params: Protocol.Tracing.BufferUsageEvent) => void): void;
|
3411
|
-
|
3412
|
-
/**
|
3413
|
-
* Contains an bucket of collected trace events. When tracing is stopped collected events will be
|
3414
|
-
* send as a sequence of dataCollected events followed by tracingComplete event.
|
3415
|
-
*/
|
3416
|
-
on(event: 'dataCollected', listener: (params: Protocol.Tracing.DataCollectedEvent) => void): void;
|
3417
|
-
|
3418
|
-
/**
|
3419
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
3420
|
-
* delivered via dataCollected events.
|
3421
|
-
*/
|
3422
|
-
on(event: 'tracingComplete', listener: (params: Protocol.Tracing.TracingCompleteEvent) => void): void;
|
3423
|
-
|
3424
|
-
}
|
3425
|
-
|
3426
|
-
export interface FetchApi {
|
3427
|
-
/**
|
3428
|
-
* Disables the fetch domain.
|
3429
|
-
*/
|
3430
|
-
disable(): Promise<void>;
|
3431
|
-
|
3432
|
-
/**
|
3433
|
-
* Enables issuing of requestPaused events. A request will be paused until client
|
3434
|
-
* calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
|
3435
|
-
*/
|
3436
|
-
enable(params: Protocol.Fetch.EnableRequest): Promise<void>;
|
3437
|
-
|
3438
|
-
/**
|
3439
|
-
* Causes the request to fail with specified reason.
|
3440
|
-
*/
|
3441
|
-
failRequest(params: Protocol.Fetch.FailRequestRequest): Promise<void>;
|
3442
|
-
|
3443
|
-
/**
|
3444
|
-
* Provides response to the request.
|
3445
|
-
*/
|
3446
|
-
fulfillRequest(params: Protocol.Fetch.FulfillRequestRequest): Promise<void>;
|
3447
|
-
|
3448
|
-
/**
|
3449
|
-
* Continues the request, optionally modifying some of its parameters.
|
3450
|
-
*/
|
3451
|
-
continueRequest(params: Protocol.Fetch.ContinueRequestRequest): Promise<void>;
|
3452
|
-
|
3453
|
-
/**
|
3454
|
-
* Continues a request supplying authChallengeResponse following authRequired event.
|
3455
|
-
*/
|
3456
|
-
continueWithAuth(params: Protocol.Fetch.ContinueWithAuthRequest): Promise<void>;
|
3457
|
-
|
3458
|
-
/**
|
3459
|
-
* Continues loading of the paused response, optionally modifying the
|
3460
|
-
* response headers. If either responseCode or headers are modified, all of them
|
3461
|
-
* must be present.
|
3462
|
-
*/
|
3463
|
-
continueResponse(params: Protocol.Fetch.ContinueResponseRequest): Promise<void>;
|
3464
|
-
|
3465
|
-
/**
|
3466
|
-
* Causes the body of the response to be received from the server and
|
3467
|
-
* returned as a single string. May only be issued for a request that
|
3468
|
-
* is paused in the Response stage and is mutually exclusive with
|
3469
|
-
* takeResponseBodyForInterceptionAsStream. Calling other methods that
|
3470
|
-
* affect the request or disabling fetch domain before body is received
|
3471
|
-
* results in an undefined behavior.
|
3472
|
-
*/
|
3473
|
-
getResponseBody(params: Protocol.Fetch.GetResponseBodyRequest): Promise<Protocol.Fetch.GetResponseBodyResponse>;
|
3474
|
-
|
3475
|
-
/**
|
3476
|
-
* Returns a handle to the stream representing the response body.
|
3477
|
-
* The request must be paused in the HeadersReceived stage.
|
3478
|
-
* Note that after this command the request can't be continued
|
3479
|
-
* as is -- client either needs to cancel it or to provide the
|
3480
|
-
* response body.
|
3481
|
-
* The stream only supports sequential read, IO.read will fail if the position
|
3482
|
-
* is specified.
|
3483
|
-
* This method is mutually exclusive with getResponseBody.
|
3484
|
-
* Calling other methods that affect the request or disabling fetch
|
3485
|
-
* domain before body is received results in an undefined behavior.
|
3486
|
-
*/
|
3487
|
-
takeResponseBodyAsStream(params: Protocol.Fetch.TakeResponseBodyAsStreamRequest): Promise<Protocol.Fetch.TakeResponseBodyAsStreamResponse>;
|
3488
|
-
|
3489
|
-
/**
|
3490
|
-
* Issued when the domain is enabled and the request URL matches the
|
3491
|
-
* specified filter. The request is paused until the client responds
|
3492
|
-
* with one of continueRequest, failRequest or fulfillRequest.
|
3493
|
-
* The stage of the request can be determined by presence of responseErrorReason
|
3494
|
-
* and responseStatusCode -- the request is at the response stage if either
|
3495
|
-
* of these fields is present and in the request stage otherwise.
|
3496
|
-
*/
|
3497
|
-
on(event: 'requestPaused', listener: (params: Protocol.Fetch.RequestPausedEvent) => void): void;
|
3498
|
-
|
3499
|
-
/**
|
3500
|
-
* Issued when the domain is enabled with handleAuthRequests set to true.
|
3501
|
-
* The request is paused until client responds with continueWithAuth.
|
3502
|
-
*/
|
3503
|
-
on(event: 'authRequired', listener: (params: Protocol.Fetch.AuthRequiredEvent) => void): void;
|
3504
|
-
|
3505
|
-
}
|
3506
|
-
|
3507
|
-
export interface WebAudioApi {
|
3508
|
-
/**
|
3509
|
-
* Enables the WebAudio domain and starts sending context lifetime events.
|
3510
|
-
*/
|
3511
|
-
enable(): Promise<void>;
|
3512
|
-
|
3513
|
-
/**
|
3514
|
-
* Disables the WebAudio domain.
|
3515
|
-
*/
|
3516
|
-
disable(): Promise<void>;
|
3517
|
-
|
3518
|
-
/**
|
3519
|
-
* Fetch the realtime data from the registered contexts.
|
3520
|
-
*/
|
3521
|
-
getRealtimeData(params: Protocol.WebAudio.GetRealtimeDataRequest): Promise<Protocol.WebAudio.GetRealtimeDataResponse>;
|
3522
|
-
|
3523
|
-
/**
|
3524
|
-
* Notifies that a new BaseAudioContext has been created.
|
3525
|
-
*/
|
3526
|
-
on(event: 'contextCreated', listener: (params: Protocol.WebAudio.ContextCreatedEvent) => void): void;
|
3527
|
-
|
3528
|
-
/**
|
3529
|
-
* Notifies that an existing BaseAudioContext will be destroyed.
|
3530
|
-
*/
|
3531
|
-
on(event: 'contextWillBeDestroyed', listener: (params: Protocol.WebAudio.ContextWillBeDestroyedEvent) => void): void;
|
3532
|
-
|
3533
|
-
/**
|
3534
|
-
* Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
|
3535
|
-
*/
|
3536
|
-
on(event: 'contextChanged', listener: (params: Protocol.WebAudio.ContextChangedEvent) => void): void;
|
3537
|
-
|
3538
|
-
/**
|
3539
|
-
* Notifies that the construction of an AudioListener has finished.
|
3540
|
-
*/
|
3541
|
-
on(event: 'audioListenerCreated', listener: (params: Protocol.WebAudio.AudioListenerCreatedEvent) => void): void;
|
3542
|
-
|
3543
|
-
/**
|
3544
|
-
* Notifies that a new AudioListener has been created.
|
3545
|
-
*/
|
3546
|
-
on(event: 'audioListenerWillBeDestroyed', listener: (params: Protocol.WebAudio.AudioListenerWillBeDestroyedEvent) => void): void;
|
3547
|
-
|
3548
|
-
/**
|
3549
|
-
* Notifies that a new AudioNode has been created.
|
3550
|
-
*/
|
3551
|
-
on(event: 'audioNodeCreated', listener: (params: Protocol.WebAudio.AudioNodeCreatedEvent) => void): void;
|
3552
|
-
|
3553
|
-
/**
|
3554
|
-
* Notifies that an existing AudioNode has been destroyed.
|
3555
|
-
*/
|
3556
|
-
on(event: 'audioNodeWillBeDestroyed', listener: (params: Protocol.WebAudio.AudioNodeWillBeDestroyedEvent) => void): void;
|
3557
|
-
|
3558
|
-
/**
|
3559
|
-
* Notifies that a new AudioParam has been created.
|
3560
|
-
*/
|
3561
|
-
on(event: 'audioParamCreated', listener: (params: Protocol.WebAudio.AudioParamCreatedEvent) => void): void;
|
3562
|
-
|
3563
|
-
/**
|
3564
|
-
* Notifies that an existing AudioParam has been destroyed.
|
3565
|
-
*/
|
3566
|
-
on(event: 'audioParamWillBeDestroyed', listener: (params: Protocol.WebAudio.AudioParamWillBeDestroyedEvent) => void): void;
|
3567
|
-
|
3568
|
-
/**
|
3569
|
-
* Notifies that two AudioNodes are connected.
|
3570
|
-
*/
|
3571
|
-
on(event: 'nodesConnected', listener: (params: Protocol.WebAudio.NodesConnectedEvent) => void): void;
|
3572
|
-
|
3573
|
-
/**
|
3574
|
-
* Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
|
3575
|
-
*/
|
3576
|
-
on(event: 'nodesDisconnected', listener: (params: Protocol.WebAudio.NodesDisconnectedEvent) => void): void;
|
3577
|
-
|
3578
|
-
/**
|
3579
|
-
* Notifies that an AudioNode is connected to an AudioParam.
|
3580
|
-
*/
|
3581
|
-
on(event: 'nodeParamConnected', listener: (params: Protocol.WebAudio.NodeParamConnectedEvent) => void): void;
|
3582
|
-
|
3583
|
-
/**
|
3584
|
-
* Notifies that an AudioNode is disconnected to an AudioParam.
|
3585
|
-
*/
|
3586
|
-
on(event: 'nodeParamDisconnected', listener: (params: Protocol.WebAudio.NodeParamDisconnectedEvent) => void): void;
|
3587
|
-
|
3588
|
-
}
|
3589
|
-
|
3590
|
-
export interface WebAuthnApi {
|
3591
|
-
/**
|
3592
|
-
* Enable the WebAuthn domain and start intercepting credential storage and
|
3593
|
-
* retrieval with a virtual authenticator.
|
3594
|
-
*/
|
3595
|
-
enable(): Promise<void>;
|
3596
|
-
|
3597
|
-
/**
|
3598
|
-
* Disable the WebAuthn domain.
|
3599
|
-
*/
|
3600
|
-
disable(): Promise<void>;
|
3601
|
-
|
3602
|
-
/**
|
3603
|
-
* Creates and adds a virtual authenticator.
|
3604
|
-
*/
|
3605
|
-
addVirtualAuthenticator(params: Protocol.WebAuthn.AddVirtualAuthenticatorRequest): Promise<Protocol.WebAuthn.AddVirtualAuthenticatorResponse>;
|
3606
|
-
|
3607
|
-
/**
|
3608
|
-
* Removes the given authenticator.
|
3609
|
-
*/
|
3610
|
-
removeVirtualAuthenticator(params: Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest): Promise<void>;
|
3611
|
-
|
3612
|
-
/**
|
3613
|
-
* Adds the credential to the specified authenticator.
|
3614
|
-
*/
|
3615
|
-
addCredential(params: Protocol.WebAuthn.AddCredentialRequest): Promise<void>;
|
3616
|
-
|
3617
|
-
/**
|
3618
|
-
* Returns a single credential stored in the given virtual authenticator that
|
3619
|
-
* matches the credential ID.
|
3620
|
-
*/
|
3621
|
-
getCredential(params: Protocol.WebAuthn.GetCredentialRequest): Promise<Protocol.WebAuthn.GetCredentialResponse>;
|
3622
|
-
|
3623
|
-
/**
|
3624
|
-
* Returns all the credentials stored in the given virtual authenticator.
|
3625
|
-
*/
|
3626
|
-
getCredentials(params: Protocol.WebAuthn.GetCredentialsRequest): Promise<Protocol.WebAuthn.GetCredentialsResponse>;
|
3627
|
-
|
3628
|
-
/**
|
3629
|
-
* Removes a credential from the authenticator.
|
3630
|
-
*/
|
3631
|
-
removeCredential(params: Protocol.WebAuthn.RemoveCredentialRequest): Promise<void>;
|
3632
|
-
|
3633
|
-
/**
|
3634
|
-
* Clears all the credentials from the specified device.
|
3635
|
-
*/
|
3636
|
-
clearCredentials(params: Protocol.WebAuthn.ClearCredentialsRequest): Promise<void>;
|
3637
|
-
|
3638
|
-
/**
|
3639
|
-
* Sets whether User Verification succeeds or fails for an authenticator.
|
3640
|
-
* The default is true.
|
3641
|
-
*/
|
3642
|
-
setUserVerified(params: Protocol.WebAuthn.SetUserVerifiedRequest): Promise<void>;
|
3643
|
-
|
3644
|
-
/**
|
3645
|
-
* Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator.
|
3646
|
-
* The default is true.
|
3647
|
-
*/
|
3648
|
-
setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<void>;
|
3649
|
-
|
3650
|
-
}
|
3651
|
-
|
3652
|
-
export interface MediaApi {
|
3653
|
-
/**
|
3654
|
-
* Enables the Media domain
|
3655
|
-
*/
|
3656
|
-
enable(): Promise<void>;
|
3657
|
-
|
3658
|
-
/**
|
3659
|
-
* Disables the Media domain.
|
3660
|
-
*/
|
3661
|
-
disable(): Promise<void>;
|
3662
|
-
|
3663
|
-
/**
|
3664
|
-
* This can be called multiple times, and can be used to set / override /
|
3665
|
-
* remove player properties. A null propValue indicates removal.
|
3666
|
-
*/
|
3667
|
-
on(event: 'playerPropertiesChanged', listener: (params: Protocol.Media.PlayerPropertiesChangedEvent) => void): void;
|
3668
|
-
|
3669
|
-
/**
|
3670
|
-
* Send events as a list, allowing them to be batched on the browser for less
|
3671
|
-
* congestion. If batched, events must ALWAYS be in chronological order.
|
3672
|
-
*/
|
3673
|
-
on(event: 'playerEventsAdded', listener: (params: Protocol.Media.PlayerEventsAddedEvent) => void): void;
|
3674
|
-
|
3675
|
-
/**
|
3676
|
-
* Send a list of any messages that need to be delivered.
|
3677
|
-
*/
|
3678
|
-
on(event: 'playerMessagesLogged', listener: (params: Protocol.Media.PlayerMessagesLoggedEvent) => void): void;
|
3679
|
-
|
3680
|
-
/**
|
3681
|
-
* Send a list of any errors that need to be delivered.
|
3682
|
-
*/
|
3683
|
-
on(event: 'playerErrorsRaised', listener: (params: Protocol.Media.PlayerErrorsRaisedEvent) => void): void;
|
3684
|
-
|
3685
|
-
/**
|
3686
|
-
* Called whenever a player is created, or when a new agent joins and receives
|
3687
|
-
* a list of active players. If an agent is restored, it will receive the full
|
3688
|
-
* list of player ids and all events again.
|
3689
|
-
*/
|
3690
|
-
on(event: 'playersCreated', listener: (params: Protocol.Media.PlayersCreatedEvent) => void): void;
|
3691
|
-
|
3692
|
-
}
|
3693
|
-
}
|
3694
|
-
|
3695
|
-
export default ProtocolProxyApi;
|