isomorfeus-puppetmaster 0.5.6 → 0.6.2
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 -40
- data/lib/isomorfeus/puppetmaster/server.rb +169 -157
- data/lib/isomorfeus/puppetmaster/session.rb +145 -0
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/lib/isomorfeus/puppetmaster.rb +4 -45
- data/lib/isomorfeus-puppetmaster.rb +10 -31
- metadata +53 -1009
- 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,464 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2017 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { EventEmitter } from './EventEmitter.js';
|
17
|
-
import { assert } from './assert.js';
|
18
|
-
import { helper, debugError } from './helper.js';
|
19
|
-
import { HTTPRequest } from './HTTPRequest.js';
|
20
|
-
import { HTTPResponse } from './HTTPResponse.js';
|
21
|
-
/**
|
22
|
-
* We use symbols to prevent any external parties listening to these events.
|
23
|
-
* They are internal to Puppeteer.
|
24
|
-
*
|
25
|
-
* @internal
|
26
|
-
*/
|
27
|
-
export const NetworkManagerEmittedEvents = {
|
28
|
-
Request: Symbol('NetworkManager.Request'),
|
29
|
-
RequestServedFromCache: Symbol('NetworkManager.RequestServedFromCache'),
|
30
|
-
Response: Symbol('NetworkManager.Response'),
|
31
|
-
RequestFailed: Symbol('NetworkManager.RequestFailed'),
|
32
|
-
RequestFinished: Symbol('NetworkManager.RequestFinished'),
|
33
|
-
};
|
34
|
-
/**
|
35
|
-
* @internal
|
36
|
-
*/
|
37
|
-
export class NetworkManager extends EventEmitter {
|
38
|
-
constructor(client, ignoreHTTPSErrors, frameManager) {
|
39
|
-
super();
|
40
|
-
/*
|
41
|
-
* There are four possible orders of events:
|
42
|
-
* A. `_onRequestWillBeSent`
|
43
|
-
* B. `_onRequestWillBeSent`, `_onRequestPaused`
|
44
|
-
* C. `_onRequestPaused`, `_onRequestWillBeSent`
|
45
|
-
* D. `_onRequestPaused`, `_onRequestWillBeSent`, `_onRequestPaused`
|
46
|
-
* (see crbug.com/1196004)
|
47
|
-
*
|
48
|
-
* For `_onRequest` we need the event from `_onRequestWillBeSent` and
|
49
|
-
* optionally the `interceptionId` from `_onRequestPaused`.
|
50
|
-
*
|
51
|
-
* If request interception is disabled, call `_onRequest` once per call to
|
52
|
-
* `_onRequestWillBeSent`.
|
53
|
-
* If request interception is enabled, call `_onRequest` once per call to
|
54
|
-
* `_onRequestPaused` (once per `interceptionId`).
|
55
|
-
*
|
56
|
-
* Events are stored to allow for subsequent events to call `_onRequest`.
|
57
|
-
*
|
58
|
-
* Note that (chains of) redirect requests have the same `requestId` (!) as
|
59
|
-
* the original request. We have to anticipate series of events like these:
|
60
|
-
* A. `_onRequestWillBeSent`,
|
61
|
-
* `_onRequestWillBeSent`, ...
|
62
|
-
* B. `_onRequestWillBeSent`, `_onRequestPaused`,
|
63
|
-
* `_onRequestWillBeSent`, `_onRequestPaused`, ...
|
64
|
-
* C. `_onRequestWillBeSent`, `_onRequestPaused`,
|
65
|
-
* `_onRequestPaused`, `_onRequestWillBeSent`, ...
|
66
|
-
* D. `_onRequestPaused`, `_onRequestWillBeSent`,
|
67
|
-
* `_onRequestPaused`, `_onRequestWillBeSent`, `_onRequestPaused`, ...
|
68
|
-
* (see crbug.com/1196004)
|
69
|
-
*/
|
70
|
-
this._requestIdToRequestWillBeSentEvent = new Map();
|
71
|
-
this._requestIdToRequestPausedEvent = new Map();
|
72
|
-
this._requestIdToRequest = new Map();
|
73
|
-
/*
|
74
|
-
* The below maps are used to reconcile Network.responseReceivedExtraInfo
|
75
|
-
* events with their corresponding request. Each response and redirect
|
76
|
-
* response gets an ExtraInfo event, and we don't know which will come first.
|
77
|
-
* This means that we have to store a Response or an ExtraInfo for each
|
78
|
-
* response, and emit the event when we get both of them. In addition, to
|
79
|
-
* handle redirects, we have to make them Arrays to represent the chain of
|
80
|
-
* events.
|
81
|
-
*/
|
82
|
-
this._requestIdToResponseReceivedExtraInfo = new Map();
|
83
|
-
this._requestIdToQueuedRedirectInfoMap = new Map();
|
84
|
-
this._requestIdToQueuedEvents = new Map();
|
85
|
-
this._extraHTTPHeaders = {};
|
86
|
-
this._credentials = null;
|
87
|
-
this._attemptedAuthentications = new Set();
|
88
|
-
this._userRequestInterceptionEnabled = false;
|
89
|
-
this._protocolRequestInterceptionEnabled = false;
|
90
|
-
this._userCacheDisabled = false;
|
91
|
-
this._emulatedNetworkConditions = {
|
92
|
-
offline: false,
|
93
|
-
upload: -1,
|
94
|
-
download: -1,
|
95
|
-
latency: 0,
|
96
|
-
};
|
97
|
-
this._client = client;
|
98
|
-
this._ignoreHTTPSErrors = ignoreHTTPSErrors;
|
99
|
-
this._frameManager = frameManager;
|
100
|
-
this._client.on('Fetch.requestPaused', this._onRequestPaused.bind(this));
|
101
|
-
this._client.on('Fetch.authRequired', this._onAuthRequired.bind(this));
|
102
|
-
this._client.on('Network.requestWillBeSent', this._onRequestWillBeSent.bind(this));
|
103
|
-
this._client.on('Network.requestServedFromCache', this._onRequestServedFromCache.bind(this));
|
104
|
-
this._client.on('Network.responseReceived', this._onResponseReceived.bind(this));
|
105
|
-
this._client.on('Network.loadingFinished', this._onLoadingFinished.bind(this));
|
106
|
-
this._client.on('Network.loadingFailed', this._onLoadingFailed.bind(this));
|
107
|
-
this._client.on('Network.responseReceivedExtraInfo', this._onResponseReceivedExtraInfo.bind(this));
|
108
|
-
}
|
109
|
-
async initialize() {
|
110
|
-
await this._client.send('Network.enable');
|
111
|
-
if (this._ignoreHTTPSErrors)
|
112
|
-
await this._client.send('Security.setIgnoreCertificateErrors', {
|
113
|
-
ignore: true,
|
114
|
-
});
|
115
|
-
}
|
116
|
-
async authenticate(credentials) {
|
117
|
-
this._credentials = credentials;
|
118
|
-
await this._updateProtocolRequestInterception();
|
119
|
-
}
|
120
|
-
async setExtraHTTPHeaders(extraHTTPHeaders) {
|
121
|
-
this._extraHTTPHeaders = {};
|
122
|
-
for (const key of Object.keys(extraHTTPHeaders)) {
|
123
|
-
const value = extraHTTPHeaders[key];
|
124
|
-
assert(helper.isString(value), `Expected value of header "${key}" to be String, but "${typeof value}" is found.`);
|
125
|
-
this._extraHTTPHeaders[key.toLowerCase()] = value;
|
126
|
-
}
|
127
|
-
await this._client.send('Network.setExtraHTTPHeaders', {
|
128
|
-
headers: this._extraHTTPHeaders,
|
129
|
-
});
|
130
|
-
}
|
131
|
-
extraHTTPHeaders() {
|
132
|
-
return Object.assign({}, this._extraHTTPHeaders);
|
133
|
-
}
|
134
|
-
numRequestsInProgress() {
|
135
|
-
return [...this._requestIdToRequest].filter(([, request]) => {
|
136
|
-
return !request.response();
|
137
|
-
}).length;
|
138
|
-
}
|
139
|
-
async setOfflineMode(value) {
|
140
|
-
this._emulatedNetworkConditions.offline = value;
|
141
|
-
await this._updateNetworkConditions();
|
142
|
-
}
|
143
|
-
async emulateNetworkConditions(networkConditions) {
|
144
|
-
this._emulatedNetworkConditions.upload = networkConditions
|
145
|
-
? networkConditions.upload
|
146
|
-
: -1;
|
147
|
-
this._emulatedNetworkConditions.download = networkConditions
|
148
|
-
? networkConditions.download
|
149
|
-
: -1;
|
150
|
-
this._emulatedNetworkConditions.latency = networkConditions
|
151
|
-
? networkConditions.latency
|
152
|
-
: 0;
|
153
|
-
await this._updateNetworkConditions();
|
154
|
-
}
|
155
|
-
async _updateNetworkConditions() {
|
156
|
-
await this._client.send('Network.emulateNetworkConditions', {
|
157
|
-
offline: this._emulatedNetworkConditions.offline,
|
158
|
-
latency: this._emulatedNetworkConditions.latency,
|
159
|
-
uploadThroughput: this._emulatedNetworkConditions.upload,
|
160
|
-
downloadThroughput: this._emulatedNetworkConditions.download,
|
161
|
-
});
|
162
|
-
}
|
163
|
-
async setUserAgent(userAgent, userAgentMetadata) {
|
164
|
-
await this._client.send('Network.setUserAgentOverride', {
|
165
|
-
userAgent: userAgent,
|
166
|
-
userAgentMetadata: userAgentMetadata,
|
167
|
-
});
|
168
|
-
}
|
169
|
-
async setCacheEnabled(enabled) {
|
170
|
-
this._userCacheDisabled = !enabled;
|
171
|
-
await this._updateProtocolCacheDisabled();
|
172
|
-
}
|
173
|
-
async setRequestInterception(value) {
|
174
|
-
this._userRequestInterceptionEnabled = value;
|
175
|
-
await this._updateProtocolRequestInterception();
|
176
|
-
}
|
177
|
-
async _updateProtocolRequestInterception() {
|
178
|
-
const enabled = this._userRequestInterceptionEnabled || !!this._credentials;
|
179
|
-
if (enabled === this._protocolRequestInterceptionEnabled)
|
180
|
-
return;
|
181
|
-
this._protocolRequestInterceptionEnabled = enabled;
|
182
|
-
if (enabled) {
|
183
|
-
await Promise.all([
|
184
|
-
this._updateProtocolCacheDisabled(),
|
185
|
-
this._client.send('Fetch.enable', {
|
186
|
-
handleAuthRequests: true,
|
187
|
-
patterns: [{ urlPattern: '*' }],
|
188
|
-
}),
|
189
|
-
]);
|
190
|
-
}
|
191
|
-
else {
|
192
|
-
await Promise.all([
|
193
|
-
this._updateProtocolCacheDisabled(),
|
194
|
-
this._client.send('Fetch.disable'),
|
195
|
-
]);
|
196
|
-
}
|
197
|
-
}
|
198
|
-
_cacheDisabled() {
|
199
|
-
return this._userCacheDisabled;
|
200
|
-
}
|
201
|
-
async _updateProtocolCacheDisabled() {
|
202
|
-
await this._client.send('Network.setCacheDisabled', {
|
203
|
-
cacheDisabled: this._cacheDisabled(),
|
204
|
-
});
|
205
|
-
}
|
206
|
-
_onRequestWillBeSent(event) {
|
207
|
-
// Request interception doesn't happen for data URLs with Network Service.
|
208
|
-
if (this._userRequestInterceptionEnabled &&
|
209
|
-
!event.request.url.startsWith('data:')) {
|
210
|
-
const requestId = event.requestId;
|
211
|
-
const requestPausedEvent = this._requestIdToRequestPausedEvent.get(requestId);
|
212
|
-
this._requestIdToRequestWillBeSentEvent.set(requestId, event);
|
213
|
-
if (requestPausedEvent) {
|
214
|
-
const interceptionId = requestPausedEvent.requestId;
|
215
|
-
this._onRequest(event, interceptionId);
|
216
|
-
this._requestIdToRequestPausedEvent.delete(requestId);
|
217
|
-
}
|
218
|
-
return;
|
219
|
-
}
|
220
|
-
this._onRequest(event, null);
|
221
|
-
}
|
222
|
-
_onAuthRequired(event) {
|
223
|
-
let response = 'Default';
|
224
|
-
if (this._attemptedAuthentications.has(event.requestId)) {
|
225
|
-
response = 'CancelAuth';
|
226
|
-
}
|
227
|
-
else if (this._credentials) {
|
228
|
-
response = 'ProvideCredentials';
|
229
|
-
this._attemptedAuthentications.add(event.requestId);
|
230
|
-
}
|
231
|
-
const { username, password } = this._credentials || {
|
232
|
-
username: undefined,
|
233
|
-
password: undefined,
|
234
|
-
};
|
235
|
-
this._client
|
236
|
-
.send('Fetch.continueWithAuth', {
|
237
|
-
requestId: event.requestId,
|
238
|
-
authChallengeResponse: { response, username, password },
|
239
|
-
})
|
240
|
-
.catch(debugError);
|
241
|
-
}
|
242
|
-
_onRequestPaused(event) {
|
243
|
-
if (!this._userRequestInterceptionEnabled &&
|
244
|
-
this._protocolRequestInterceptionEnabled) {
|
245
|
-
this._client
|
246
|
-
.send('Fetch.continueRequest', {
|
247
|
-
requestId: event.requestId,
|
248
|
-
})
|
249
|
-
.catch(debugError);
|
250
|
-
}
|
251
|
-
const requestId = event.networkId;
|
252
|
-
const interceptionId = event.requestId;
|
253
|
-
if (!requestId) {
|
254
|
-
return;
|
255
|
-
}
|
256
|
-
let requestWillBeSentEvent = this._requestIdToRequestWillBeSentEvent.get(requestId);
|
257
|
-
// redirect requests have the same `requestId`,
|
258
|
-
if (requestWillBeSentEvent &&
|
259
|
-
(requestWillBeSentEvent.request.url !== event.request.url ||
|
260
|
-
requestWillBeSentEvent.request.method !== event.request.method)) {
|
261
|
-
this._requestIdToRequestWillBeSentEvent.delete(requestId);
|
262
|
-
requestWillBeSentEvent = null;
|
263
|
-
}
|
264
|
-
if (requestWillBeSentEvent) {
|
265
|
-
this._onRequest(requestWillBeSentEvent, interceptionId);
|
266
|
-
this._requestIdToRequestWillBeSentEvent.delete(requestId);
|
267
|
-
}
|
268
|
-
else {
|
269
|
-
this._requestIdToRequestPausedEvent.set(requestId, event);
|
270
|
-
}
|
271
|
-
}
|
272
|
-
_requestIdToQueuedRedirectInfo(requestId) {
|
273
|
-
if (!this._requestIdToQueuedRedirectInfoMap.has(requestId)) {
|
274
|
-
this._requestIdToQueuedRedirectInfoMap.set(requestId, []);
|
275
|
-
}
|
276
|
-
return this._requestIdToQueuedRedirectInfoMap.get(requestId);
|
277
|
-
}
|
278
|
-
_requestIdToResponseExtraInfo(requestId) {
|
279
|
-
if (!this._requestIdToResponseReceivedExtraInfo.has(requestId)) {
|
280
|
-
this._requestIdToResponseReceivedExtraInfo.set(requestId, []);
|
281
|
-
}
|
282
|
-
return this._requestIdToResponseReceivedExtraInfo.get(requestId);
|
283
|
-
}
|
284
|
-
_onRequest(event, interceptionId) {
|
285
|
-
let redirectChain = [];
|
286
|
-
if (event.redirectResponse) {
|
287
|
-
// We want to emit a response and requestfinished for the
|
288
|
-
// redirectResponse, but we can't do so unless we have a
|
289
|
-
// responseExtraInfo ready to pair it up with. If we don't have any
|
290
|
-
// responseExtraInfos saved in our queue, they we have to wait until
|
291
|
-
// the next one to emit response and requestfinished, *and* we should
|
292
|
-
// also wait to emit this Request too because it should come after the
|
293
|
-
// response/requestfinished.
|
294
|
-
let redirectResponseExtraInfo = null;
|
295
|
-
if (event.redirectHasExtraInfo) {
|
296
|
-
redirectResponseExtraInfo = this._requestIdToResponseExtraInfo(event.requestId).shift();
|
297
|
-
if (!redirectResponseExtraInfo) {
|
298
|
-
this._requestIdToQueuedRedirectInfo(event.requestId).push({
|
299
|
-
event,
|
300
|
-
interceptionId,
|
301
|
-
});
|
302
|
-
return;
|
303
|
-
}
|
304
|
-
}
|
305
|
-
const request = this._requestIdToRequest.get(event.requestId);
|
306
|
-
// If we connect late to the target, we could have missed the
|
307
|
-
// requestWillBeSent event.
|
308
|
-
if (request) {
|
309
|
-
this._handleRequestRedirect(request, event.redirectResponse, redirectResponseExtraInfo);
|
310
|
-
redirectChain = request._redirectChain;
|
311
|
-
}
|
312
|
-
}
|
313
|
-
const frame = event.frameId
|
314
|
-
? this._frameManager.frame(event.frameId)
|
315
|
-
: null;
|
316
|
-
const request = new HTTPRequest(this._client, frame, interceptionId, this._userRequestInterceptionEnabled, event, redirectChain);
|
317
|
-
this._requestIdToRequest.set(event.requestId, request);
|
318
|
-
this.emit(NetworkManagerEmittedEvents.Request, request);
|
319
|
-
request.finalizeInterceptions();
|
320
|
-
}
|
321
|
-
_onRequestServedFromCache(event) {
|
322
|
-
const request = this._requestIdToRequest.get(event.requestId);
|
323
|
-
if (request)
|
324
|
-
request._fromMemoryCache = true;
|
325
|
-
this.emit(NetworkManagerEmittedEvents.RequestServedFromCache, request);
|
326
|
-
}
|
327
|
-
_handleRequestRedirect(request, responsePayload, extraInfo) {
|
328
|
-
const response = new HTTPResponse(this._client, request, responsePayload, extraInfo);
|
329
|
-
request._response = response;
|
330
|
-
request._redirectChain.push(request);
|
331
|
-
response._resolveBody(new Error('Response body is unavailable for redirect responses'));
|
332
|
-
this._forgetRequest(request, false);
|
333
|
-
this.emit(NetworkManagerEmittedEvents.Response, response);
|
334
|
-
this.emit(NetworkManagerEmittedEvents.RequestFinished, request);
|
335
|
-
}
|
336
|
-
_emitResponseEvent(responseReceived, extraInfo) {
|
337
|
-
const request = this._requestIdToRequest.get(responseReceived.requestId);
|
338
|
-
// FileUpload sends a response without a matching request.
|
339
|
-
if (!request)
|
340
|
-
return;
|
341
|
-
const extraInfos = this._requestIdToResponseExtraInfo(responseReceived.requestId);
|
342
|
-
if (extraInfos.length) {
|
343
|
-
debugError(new Error('Unexpected extraInfo events for request ' +
|
344
|
-
responseReceived.requestId));
|
345
|
-
}
|
346
|
-
const response = new HTTPResponse(this._client, request, responseReceived.response, extraInfo);
|
347
|
-
request._response = response;
|
348
|
-
this.emit(NetworkManagerEmittedEvents.Response, response);
|
349
|
-
}
|
350
|
-
_onResponseReceived(event) {
|
351
|
-
const request = this._requestIdToRequest.get(event.requestId);
|
352
|
-
let extraInfo = null;
|
353
|
-
if (request && !request._fromMemoryCache && event.hasExtraInfo) {
|
354
|
-
extraInfo = this._requestIdToResponseExtraInfo(event.requestId).shift();
|
355
|
-
if (!extraInfo) {
|
356
|
-
// Wait until we get the corresponding ExtraInfo event.
|
357
|
-
let resolver = null;
|
358
|
-
const promise = new Promise((resolve) => (resolver = resolve));
|
359
|
-
this._requestIdToQueuedEvents.set(event.requestId, {
|
360
|
-
responseReceived: event,
|
361
|
-
promise,
|
362
|
-
resolver,
|
363
|
-
});
|
364
|
-
return;
|
365
|
-
}
|
366
|
-
}
|
367
|
-
this._emitResponseEvent(event, extraInfo);
|
368
|
-
}
|
369
|
-
responseWaitingForExtraInfoPromise(requestId) {
|
370
|
-
const responseReceived = this._requestIdToQueuedEvents.get(requestId);
|
371
|
-
if (!responseReceived)
|
372
|
-
return Promise.resolve();
|
373
|
-
return responseReceived.promise;
|
374
|
-
}
|
375
|
-
_onResponseReceivedExtraInfo(event) {
|
376
|
-
// We may have skipped a redirect response/request pair due to waiting for
|
377
|
-
// this ExtraInfo event. If so, continue that work now that we have the
|
378
|
-
// request.
|
379
|
-
const redirectInfo = this._requestIdToQueuedRedirectInfo(event.requestId).shift();
|
380
|
-
if (redirectInfo) {
|
381
|
-
this._requestIdToResponseExtraInfo(event.requestId).push(event);
|
382
|
-
this._onRequest(redirectInfo.event, redirectInfo.interceptionId);
|
383
|
-
return;
|
384
|
-
}
|
385
|
-
// We may have skipped response and loading events because we didn't have
|
386
|
-
// this ExtraInfo event yet. If so, emit those events now.
|
387
|
-
const queuedEvents = this._requestIdToQueuedEvents.get(event.requestId);
|
388
|
-
if (queuedEvents) {
|
389
|
-
this._emitResponseEvent(queuedEvents.responseReceived, event);
|
390
|
-
if (queuedEvents.loadingFinished) {
|
391
|
-
this._emitLoadingFinished(queuedEvents.loadingFinished);
|
392
|
-
}
|
393
|
-
if (queuedEvents.loadingFailed) {
|
394
|
-
this._emitLoadingFailed(queuedEvents.loadingFailed);
|
395
|
-
}
|
396
|
-
queuedEvents.resolver();
|
397
|
-
return;
|
398
|
-
}
|
399
|
-
// Wait until we get another event that can use this ExtraInfo event.
|
400
|
-
this._requestIdToResponseExtraInfo(event.requestId).push(event);
|
401
|
-
}
|
402
|
-
_forgetRequest(request, events) {
|
403
|
-
const requestId = request._requestId;
|
404
|
-
const interceptionId = request._interceptionId;
|
405
|
-
this._requestIdToRequest.delete(requestId);
|
406
|
-
this._attemptedAuthentications.delete(interceptionId);
|
407
|
-
if (events) {
|
408
|
-
this._requestIdToRequestWillBeSentEvent.delete(requestId);
|
409
|
-
this._requestIdToRequestPausedEvent.delete(requestId);
|
410
|
-
this._requestIdToQueuedEvents.delete(requestId);
|
411
|
-
this._requestIdToQueuedRedirectInfoMap.delete(requestId);
|
412
|
-
this._requestIdToResponseReceivedExtraInfo.delete(requestId);
|
413
|
-
}
|
414
|
-
}
|
415
|
-
_onLoadingFinished(event) {
|
416
|
-
// If the response event for this request is still waiting on a
|
417
|
-
// corresponding ExtraInfo event, then wait to emit this event too.
|
418
|
-
const queuedEvents = this._requestIdToQueuedEvents.get(event.requestId);
|
419
|
-
if (queuedEvents) {
|
420
|
-
queuedEvents.loadingFinished = event;
|
421
|
-
}
|
422
|
-
else {
|
423
|
-
this._emitLoadingFinished(event);
|
424
|
-
}
|
425
|
-
}
|
426
|
-
_emitLoadingFinished(event) {
|
427
|
-
const request = this._requestIdToRequest.get(event.requestId);
|
428
|
-
// For certain requestIds we never receive requestWillBeSent event.
|
429
|
-
// @see https://crbug.com/750469
|
430
|
-
if (!request)
|
431
|
-
return;
|
432
|
-
// Under certain conditions we never get the Network.responseReceived
|
433
|
-
// event from protocol. @see https://crbug.com/883475
|
434
|
-
if (request.response())
|
435
|
-
request.response()._resolveBody(null);
|
436
|
-
this._forgetRequest(request, true);
|
437
|
-
this.emit(NetworkManagerEmittedEvents.RequestFinished, request);
|
438
|
-
}
|
439
|
-
_onLoadingFailed(event) {
|
440
|
-
// If the response event for this request is still waiting on a
|
441
|
-
// corresponding ExtraInfo event, then wait to emit this event too.
|
442
|
-
const queuedEvents = this._requestIdToQueuedEvents.get(event.requestId);
|
443
|
-
if (queuedEvents) {
|
444
|
-
queuedEvents.loadingFailed = event;
|
445
|
-
}
|
446
|
-
else {
|
447
|
-
this._emitLoadingFailed(event);
|
448
|
-
}
|
449
|
-
}
|
450
|
-
_emitLoadingFailed(event) {
|
451
|
-
const request = this._requestIdToRequest.get(event.requestId);
|
452
|
-
// For certain requestIds we never receive requestWillBeSent event.
|
453
|
-
// @see https://crbug.com/750469
|
454
|
-
if (!request)
|
455
|
-
return;
|
456
|
-
request._failureText = event.errorText;
|
457
|
-
const response = request.response();
|
458
|
-
if (response)
|
459
|
-
response._resolveBody(null);
|
460
|
-
this._forgetRequest(request, true);
|
461
|
-
this.emit(NetworkManagerEmittedEvents.RequestFailed, request);
|
462
|
-
}
|
463
|
-
}
|
464
|
-
//# sourceMappingURL=NetworkManager.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"NetworkManager.js","sourceRoot":"","sources":["../../../../src/common/NetworkManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA4BjD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC,wBAAwB,CAAC;IACzC,sBAAsB,EAAE,MAAM,CAAC,uCAAuC,CAAC;IACvE,QAAQ,EAAE,MAAM,CAAC,yBAAyB,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,8BAA8B,CAAC;IACrD,eAAe,EAAE,MAAM,CAAC,gCAAgC,CAAC;CACjD,CAAC;AAaX;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,YAAY;IAyF9C,YACE,MAAkB,EAClB,iBAA0B,EAC1B,YAA0B;QAE1B,KAAK,EAAE,CAAC;QAzFV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BG;QACH,uCAAkC,GAAG,IAAI,GAAG,EAGzC,CAAC;QACJ,mCAA8B,GAAG,IAAI,GAAG,EAGrC,CAAC;QACJ,wBAAmB,GAAG,IAAI,GAAG,EAAuB,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,OAAO,CAAC,YAAY,GAAG,KAAK,CAAC,SAAS,CAAC;QACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;QACpC,IAAI,QAAQ;YAAE,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACnC,IAAI,CAAC,IAAI,CAAC,2BAA2B,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF"}
|
@@ -1,162 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2020 Google Inc. All rights reserved.
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
/**
|
17
|
-
* @public
|
18
|
-
*/
|
19
|
-
export interface PDFMargin {
|
20
|
-
top?: string | number;
|
21
|
-
bottom?: string | number;
|
22
|
-
left?: string | number;
|
23
|
-
right?: string | number;
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* All the valid paper format types when printing a PDF.
|
27
|
-
*
|
28
|
-
* @remarks
|
29
|
-
*
|
30
|
-
* The sizes of each format are as follows:
|
31
|
-
* - `Letter`: 8.5in x 11in
|
32
|
-
*
|
33
|
-
* - `Legal`: 8.5in x 14in
|
34
|
-
*
|
35
|
-
* - `Tabloid`: 11in x 17in
|
36
|
-
*
|
37
|
-
* - `Ledger`: 17in x 11in
|
38
|
-
*
|
39
|
-
* - `A0`: 33.1in x 46.8in
|
40
|
-
*
|
41
|
-
* - `A1`: 23.4in x 33.1in
|
42
|
-
*
|
43
|
-
* - `A2`: 16.54in x 23.4in
|
44
|
-
*
|
45
|
-
* - `A3`: 11.7in x 16.54in
|
46
|
-
*
|
47
|
-
* - `A4`: 8.27in x 11.7in
|
48
|
-
*
|
49
|
-
* - `A5`: 5.83in x 8.27in
|
50
|
-
*
|
51
|
-
* - `A6`: 4.13in x 5.83in
|
52
|
-
*
|
53
|
-
* @public
|
54
|
-
*/
|
55
|
-
export declare type PaperFormat = 'letter' | 'legal' | 'tabloid' | 'ledger' | 'a0' | 'a1' | 'a2' | 'a3' | 'a4' | 'a5' | 'a6';
|
56
|
-
/**
|
57
|
-
* Valid options to configure PDF generation via {@link Page.pdf}.
|
58
|
-
* @public
|
59
|
-
*/
|
60
|
-
export interface PDFOptions {
|
61
|
-
/**
|
62
|
-
* Scales the rendering of the web page. Amount must be between `0.1` and `2`.
|
63
|
-
* @defaultValue 1
|
64
|
-
*/
|
65
|
-
scale?: number;
|
66
|
-
/**
|
67
|
-
* Whether to show the header and footer.
|
68
|
-
* @defaultValue false
|
69
|
-
*/
|
70
|
-
displayHeaderFooter?: boolean;
|
71
|
-
/**
|
72
|
-
* HTML template for the print header. Should be valid HTML with the following
|
73
|
-
* classes used to inject values into them:
|
74
|
-
* - `date` formatted print date
|
75
|
-
*
|
76
|
-
* - `title` document title
|
77
|
-
*
|
78
|
-
* - `url` document location
|
79
|
-
*
|
80
|
-
* - `pageNumber` current page number
|
81
|
-
*
|
82
|
-
* - `totalPages` total pages in the document
|
83
|
-
*/
|
84
|
-
headerTemplate?: string;
|
85
|
-
/**
|
86
|
-
* HTML template for the print footer. Has the same constraints and support
|
87
|
-
* for special classes as {@link PDFOptions.headerTemplate}.
|
88
|
-
*/
|
89
|
-
footerTemplate?: string;
|
90
|
-
/**
|
91
|
-
* Set to `true` to print background graphics.
|
92
|
-
* @defaultValue false
|
93
|
-
*/
|
94
|
-
printBackground?: boolean;
|
95
|
-
/**
|
96
|
-
* Whether to print in landscape orientation.
|
97
|
-
* @defaultValue = false
|
98
|
-
*/
|
99
|
-
landscape?: boolean;
|
100
|
-
/**
|
101
|
-
* Paper ranges to print, e.g. `1-5, 8, 11-13`.
|
102
|
-
* @defaultValue The empty string, which means all pages are printed.
|
103
|
-
*/
|
104
|
-
pageRanges?: string;
|
105
|
-
/**
|
106
|
-
* @remarks
|
107
|
-
* If set, this takes priority over the `width` and `height` options.
|
108
|
-
* @defaultValue `letter`.
|
109
|
-
*/
|
110
|
-
format?: PaperFormat;
|
111
|
-
/**
|
112
|
-
* Sets the width of paper. You can pass in a number or a string with a unit.
|
113
|
-
*/
|
114
|
-
width?: string | number;
|
115
|
-
/**
|
116
|
-
* Sets the height of paper. You can pass in a number or a string with a unit.
|
117
|
-
*/
|
118
|
-
height?: string | number;
|
119
|
-
/**
|
120
|
-
* Give any CSS `@page` size declared in the page priority over what is
|
121
|
-
* declared in the `width` or `height` or `format` option.
|
122
|
-
* @defaultValue `false`, which will scale the content to fit the paper size.
|
123
|
-
*/
|
124
|
-
preferCSSPageSize?: boolean;
|
125
|
-
/**
|
126
|
-
* Set the PDF margins.
|
127
|
-
* @defaultValue no margins are set.
|
128
|
-
*/
|
129
|
-
margin?: PDFMargin;
|
130
|
-
/**
|
131
|
-
* The path to save the file to.
|
132
|
-
*
|
133
|
-
* @remarks
|
134
|
-
*
|
135
|
-
* If the path is relative, it's resolved relative to the current working directory.
|
136
|
-
*
|
137
|
-
* @defaultValue the empty string, which means the PDF will not be written to disk.
|
138
|
-
*/
|
139
|
-
path?: string;
|
140
|
-
/**
|
141
|
-
* Hides default white background and allows generating pdfs with transparency.
|
142
|
-
* @defaultValue false
|
143
|
-
*/
|
144
|
-
omitBackground?: boolean;
|
145
|
-
/**
|
146
|
-
* Timeout in milliseconds
|
147
|
-
* @defaultValue 30000
|
148
|
-
*/
|
149
|
-
timeout?: number;
|
150
|
-
}
|
151
|
-
/**
|
152
|
-
* @internal
|
153
|
-
*/
|
154
|
-
export interface PaperFormatDimensions {
|
155
|
-
width: number;
|
156
|
-
height: number;
|
157
|
-
}
|
158
|
-
/**
|
159
|
-
* @internal
|
160
|
-
*/
|
161
|
-
export declare const paperFormats: Record<PaperFormat, PaperFormatDimensions>;
|
162
|
-
//# sourceMappingURL=PDFOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PDFOptions.d.ts","sourceRoot":"","sources":["../../../../src/common/PDFOptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,oBAAY,WAAW,GACnB,QAAQ,GACR,OAAO,GACP,SAAS,GACT,QAAQ,GACR,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAET;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;;;;;;;;OAYG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;I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