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,336 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* Copyright 2017 Google Inc. All rights reserved.
|
4
|
-
*
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
* you may not use this file except in compliance with the License.
|
7
|
-
* You may obtain a copy of the License at
|
8
|
-
*
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
*
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
* See the License for the specific language governing permissions and
|
15
|
-
* limitations under the License.
|
16
|
-
*/
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
-
exports.CSSCoverage = exports.JSCoverage = exports.Coverage = void 0;
|
19
|
-
const assert_js_1 = require("./assert.js");
|
20
|
-
const helper_js_1 = require("./helper.js");
|
21
|
-
const ExecutionContext_js_1 = require("./ExecutionContext.js");
|
22
|
-
/**
|
23
|
-
* The Coverage class provides methods to gathers information about parts of
|
24
|
-
* JavaScript and CSS that were used by the page.
|
25
|
-
*
|
26
|
-
* @remarks
|
27
|
-
* To output coverage in a form consumable by {@link https://github.com/istanbuljs | Istanbul},
|
28
|
-
* see {@link https://github.com/istanbuljs/puppeteer-to-istanbul | puppeteer-to-istanbul}.
|
29
|
-
*
|
30
|
-
* @example
|
31
|
-
* An example of using JavaScript and CSS coverage to get percentage of initially
|
32
|
-
* executed code:
|
33
|
-
* ```js
|
34
|
-
* // Enable both JavaScript and CSS coverage
|
35
|
-
* await Promise.all([
|
36
|
-
* page.coverage.startJSCoverage(),
|
37
|
-
* page.coverage.startCSSCoverage()
|
38
|
-
* ]);
|
39
|
-
* // Navigate to page
|
40
|
-
* await page.goto('https://example.com');
|
41
|
-
* // Disable both JavaScript and CSS coverage
|
42
|
-
* const [jsCoverage, cssCoverage] = await Promise.all([
|
43
|
-
* page.coverage.stopJSCoverage(),
|
44
|
-
* page.coverage.stopCSSCoverage(),
|
45
|
-
* ]);
|
46
|
-
* let totalBytes = 0;
|
47
|
-
* let usedBytes = 0;
|
48
|
-
* const coverage = [...jsCoverage, ...cssCoverage];
|
49
|
-
* for (const entry of coverage) {
|
50
|
-
* totalBytes += entry.text.length;
|
51
|
-
* for (const range of entry.ranges)
|
52
|
-
* usedBytes += range.end - range.start - 1;
|
53
|
-
* }
|
54
|
-
* console.log(`Bytes used: ${usedBytes / totalBytes * 100}%`);
|
55
|
-
* ```
|
56
|
-
* @public
|
57
|
-
*/
|
58
|
-
class Coverage {
|
59
|
-
constructor(client) {
|
60
|
-
this._jsCoverage = new JSCoverage(client);
|
61
|
-
this._cssCoverage = new CSSCoverage(client);
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* @param options - Set of configurable options for coverage defaults to
|
65
|
-
* `resetOnNavigation : true, reportAnonymousScripts : false`
|
66
|
-
* @returns Promise that resolves when coverage is started.
|
67
|
-
*
|
68
|
-
* @remarks
|
69
|
-
* Anonymous scripts are ones that don't have an associated url. These are
|
70
|
-
* scripts that are dynamically created on the page using `eval` or
|
71
|
-
* `new Function`. If `reportAnonymousScripts` is set to `true`, anonymous
|
72
|
-
* scripts will have `__puppeteer_evaluation_script__` as their URL.
|
73
|
-
*/
|
74
|
-
async startJSCoverage(options = {}) {
|
75
|
-
return await this._jsCoverage.start(options);
|
76
|
-
}
|
77
|
-
/**
|
78
|
-
* @returns Promise that resolves to the array of coverage reports for
|
79
|
-
* all scripts.
|
80
|
-
*
|
81
|
-
* @remarks
|
82
|
-
* JavaScript Coverage doesn't include anonymous scripts by default.
|
83
|
-
* However, scripts with sourceURLs are reported.
|
84
|
-
*/
|
85
|
-
async stopJSCoverage() {
|
86
|
-
return await this._jsCoverage.stop();
|
87
|
-
}
|
88
|
-
/**
|
89
|
-
* @param options - Set of configurable options for coverage, defaults to
|
90
|
-
* `resetOnNavigation : true`
|
91
|
-
* @returns Promise that resolves when coverage is started.
|
92
|
-
*/
|
93
|
-
async startCSSCoverage(options = {}) {
|
94
|
-
return await this._cssCoverage.start(options);
|
95
|
-
}
|
96
|
-
/**
|
97
|
-
* @returns Promise that resolves to the array of coverage reports
|
98
|
-
* for all stylesheets.
|
99
|
-
* @remarks
|
100
|
-
* CSS Coverage doesn't include dynamically injected style tags
|
101
|
-
* without sourceURLs.
|
102
|
-
*/
|
103
|
-
async stopCSSCoverage() {
|
104
|
-
return await this._cssCoverage.stop();
|
105
|
-
}
|
106
|
-
}
|
107
|
-
exports.Coverage = Coverage;
|
108
|
-
/**
|
109
|
-
* @public
|
110
|
-
*/
|
111
|
-
class JSCoverage {
|
112
|
-
constructor(client) {
|
113
|
-
this._enabled = false;
|
114
|
-
this._scriptURLs = new Map();
|
115
|
-
this._scriptSources = new Map();
|
116
|
-
this._eventListeners = [];
|
117
|
-
this._resetOnNavigation = false;
|
118
|
-
this._reportAnonymousScripts = false;
|
119
|
-
this._includeRawScriptCoverage = false;
|
120
|
-
this._client = client;
|
121
|
-
}
|
122
|
-
async start(options = {}) {
|
123
|
-
(0, assert_js_1.assert)(!this._enabled, 'JSCoverage is already enabled');
|
124
|
-
const { resetOnNavigation = true, reportAnonymousScripts = false, includeRawScriptCoverage = false, } = options;
|
125
|
-
this._resetOnNavigation = resetOnNavigation;
|
126
|
-
this._reportAnonymousScripts = reportAnonymousScripts;
|
127
|
-
this._includeRawScriptCoverage = includeRawScriptCoverage;
|
128
|
-
this._enabled = true;
|
129
|
-
this._scriptURLs.clear();
|
130
|
-
this._scriptSources.clear();
|
131
|
-
this._eventListeners = [
|
132
|
-
helper_js_1.helper.addEventListener(this._client, 'Debugger.scriptParsed', this._onScriptParsed.bind(this)),
|
133
|
-
helper_js_1.helper.addEventListener(this._client, 'Runtime.executionContextsCleared', this._onExecutionContextsCleared.bind(this)),
|
134
|
-
];
|
135
|
-
await Promise.all([
|
136
|
-
this._client.send('Profiler.enable'),
|
137
|
-
this._client.send('Profiler.startPreciseCoverage', {
|
138
|
-
callCount: this._includeRawScriptCoverage,
|
139
|
-
detailed: true,
|
140
|
-
}),
|
141
|
-
this._client.send('Debugger.enable'),
|
142
|
-
this._client.send('Debugger.setSkipAllPauses', { skip: true }),
|
143
|
-
]);
|
144
|
-
}
|
145
|
-
_onExecutionContextsCleared() {
|
146
|
-
if (!this._resetOnNavigation)
|
147
|
-
return;
|
148
|
-
this._scriptURLs.clear();
|
149
|
-
this._scriptSources.clear();
|
150
|
-
}
|
151
|
-
async _onScriptParsed(event) {
|
152
|
-
// Ignore puppeteer-injected scripts
|
153
|
-
if (event.url === ExecutionContext_js_1.EVALUATION_SCRIPT_URL)
|
154
|
-
return;
|
155
|
-
// Ignore other anonymous scripts unless the reportAnonymousScripts option is true.
|
156
|
-
if (!event.url && !this._reportAnonymousScripts)
|
157
|
-
return;
|
158
|
-
try {
|
159
|
-
const response = await this._client.send('Debugger.getScriptSource', {
|
160
|
-
scriptId: event.scriptId,
|
161
|
-
});
|
162
|
-
this._scriptURLs.set(event.scriptId, event.url);
|
163
|
-
this._scriptSources.set(event.scriptId, response.scriptSource);
|
164
|
-
}
|
165
|
-
catch (error) {
|
166
|
-
// This might happen if the page has already navigated away.
|
167
|
-
(0, helper_js_1.debugError)(error);
|
168
|
-
}
|
169
|
-
}
|
170
|
-
async stop() {
|
171
|
-
(0, assert_js_1.assert)(this._enabled, 'JSCoverage is not enabled');
|
172
|
-
this._enabled = false;
|
173
|
-
const result = await Promise.all([
|
174
|
-
this._client.send('Profiler.takePreciseCoverage'),
|
175
|
-
this._client.send('Profiler.stopPreciseCoverage'),
|
176
|
-
this._client.send('Profiler.disable'),
|
177
|
-
this._client.send('Debugger.disable'),
|
178
|
-
]);
|
179
|
-
helper_js_1.helper.removeEventListeners(this._eventListeners);
|
180
|
-
const coverage = [];
|
181
|
-
const profileResponse = result[0];
|
182
|
-
for (const entry of profileResponse.result) {
|
183
|
-
let url = this._scriptURLs.get(entry.scriptId);
|
184
|
-
if (!url && this._reportAnonymousScripts)
|
185
|
-
url = 'debugger://VM' + entry.scriptId;
|
186
|
-
const text = this._scriptSources.get(entry.scriptId);
|
187
|
-
if (text === undefined || url === undefined)
|
188
|
-
continue;
|
189
|
-
const flattenRanges = [];
|
190
|
-
for (const func of entry.functions)
|
191
|
-
flattenRanges.push(...func.ranges);
|
192
|
-
const ranges = convertToDisjointRanges(flattenRanges);
|
193
|
-
if (!this._includeRawScriptCoverage) {
|
194
|
-
coverage.push({ url, ranges, text });
|
195
|
-
}
|
196
|
-
else {
|
197
|
-
coverage.push({ url, ranges, text, rawScriptCoverage: entry });
|
198
|
-
}
|
199
|
-
}
|
200
|
-
return coverage;
|
201
|
-
}
|
202
|
-
}
|
203
|
-
exports.JSCoverage = JSCoverage;
|
204
|
-
/**
|
205
|
-
* @public
|
206
|
-
*/
|
207
|
-
class CSSCoverage {
|
208
|
-
constructor(client) {
|
209
|
-
this._enabled = false;
|
210
|
-
this._stylesheetURLs = new Map();
|
211
|
-
this._stylesheetSources = new Map();
|
212
|
-
this._eventListeners = [];
|
213
|
-
this._resetOnNavigation = false;
|
214
|
-
this._reportAnonymousScripts = false;
|
215
|
-
this._client = client;
|
216
|
-
}
|
217
|
-
async start(options = {}) {
|
218
|
-
(0, assert_js_1.assert)(!this._enabled, 'CSSCoverage is already enabled');
|
219
|
-
const { resetOnNavigation = true } = options;
|
220
|
-
this._resetOnNavigation = resetOnNavigation;
|
221
|
-
this._enabled = true;
|
222
|
-
this._stylesheetURLs.clear();
|
223
|
-
this._stylesheetSources.clear();
|
224
|
-
this._eventListeners = [
|
225
|
-
helper_js_1.helper.addEventListener(this._client, 'CSS.styleSheetAdded', this._onStyleSheet.bind(this)),
|
226
|
-
helper_js_1.helper.addEventListener(this._client, 'Runtime.executionContextsCleared', this._onExecutionContextsCleared.bind(this)),
|
227
|
-
];
|
228
|
-
await Promise.all([
|
229
|
-
this._client.send('DOM.enable'),
|
230
|
-
this._client.send('CSS.enable'),
|
231
|
-
this._client.send('CSS.startRuleUsageTracking'),
|
232
|
-
]);
|
233
|
-
}
|
234
|
-
_onExecutionContextsCleared() {
|
235
|
-
if (!this._resetOnNavigation)
|
236
|
-
return;
|
237
|
-
this._stylesheetURLs.clear();
|
238
|
-
this._stylesheetSources.clear();
|
239
|
-
}
|
240
|
-
async _onStyleSheet(event) {
|
241
|
-
const header = event.header;
|
242
|
-
// Ignore anonymous scripts
|
243
|
-
if (!header.sourceURL)
|
244
|
-
return;
|
245
|
-
try {
|
246
|
-
const response = await this._client.send('CSS.getStyleSheetText', {
|
247
|
-
styleSheetId: header.styleSheetId,
|
248
|
-
});
|
249
|
-
this._stylesheetURLs.set(header.styleSheetId, header.sourceURL);
|
250
|
-
this._stylesheetSources.set(header.styleSheetId, response.text);
|
251
|
-
}
|
252
|
-
catch (error) {
|
253
|
-
// This might happen if the page has already navigated away.
|
254
|
-
(0, helper_js_1.debugError)(error);
|
255
|
-
}
|
256
|
-
}
|
257
|
-
async stop() {
|
258
|
-
(0, assert_js_1.assert)(this._enabled, 'CSSCoverage is not enabled');
|
259
|
-
this._enabled = false;
|
260
|
-
const ruleTrackingResponse = await this._client.send('CSS.stopRuleUsageTracking');
|
261
|
-
await Promise.all([
|
262
|
-
this._client.send('CSS.disable'),
|
263
|
-
this._client.send('DOM.disable'),
|
264
|
-
]);
|
265
|
-
helper_js_1.helper.removeEventListeners(this._eventListeners);
|
266
|
-
// aggregate by styleSheetId
|
267
|
-
const styleSheetIdToCoverage = new Map();
|
268
|
-
for (const entry of ruleTrackingResponse.ruleUsage) {
|
269
|
-
let ranges = styleSheetIdToCoverage.get(entry.styleSheetId);
|
270
|
-
if (!ranges) {
|
271
|
-
ranges = [];
|
272
|
-
styleSheetIdToCoverage.set(entry.styleSheetId, ranges);
|
273
|
-
}
|
274
|
-
ranges.push({
|
275
|
-
startOffset: entry.startOffset,
|
276
|
-
endOffset: entry.endOffset,
|
277
|
-
count: entry.used ? 1 : 0,
|
278
|
-
});
|
279
|
-
}
|
280
|
-
const coverage = [];
|
281
|
-
for (const styleSheetId of this._stylesheetURLs.keys()) {
|
282
|
-
const url = this._stylesheetURLs.get(styleSheetId);
|
283
|
-
const text = this._stylesheetSources.get(styleSheetId);
|
284
|
-
const ranges = convertToDisjointRanges(styleSheetIdToCoverage.get(styleSheetId) || []);
|
285
|
-
coverage.push({ url, ranges, text });
|
286
|
-
}
|
287
|
-
return coverage;
|
288
|
-
}
|
289
|
-
}
|
290
|
-
exports.CSSCoverage = CSSCoverage;
|
291
|
-
function convertToDisjointRanges(nestedRanges) {
|
292
|
-
const points = [];
|
293
|
-
for (const range of nestedRanges) {
|
294
|
-
points.push({ offset: range.startOffset, type: 0, range });
|
295
|
-
points.push({ offset: range.endOffset, type: 1, range });
|
296
|
-
}
|
297
|
-
// Sort points to form a valid parenthesis sequence.
|
298
|
-
points.sort((a, b) => {
|
299
|
-
// Sort with increasing offsets.
|
300
|
-
if (a.offset !== b.offset)
|
301
|
-
return a.offset - b.offset;
|
302
|
-
// All "end" points should go before "start" points.
|
303
|
-
if (a.type !== b.type)
|
304
|
-
return b.type - a.type;
|
305
|
-
const aLength = a.range.endOffset - a.range.startOffset;
|
306
|
-
const bLength = b.range.endOffset - b.range.startOffset;
|
307
|
-
// For two "start" points, the one with longer range goes first.
|
308
|
-
if (a.type === 0)
|
309
|
-
return bLength - aLength;
|
310
|
-
// For two "end" points, the one with shorter range goes first.
|
311
|
-
return aLength - bLength;
|
312
|
-
});
|
313
|
-
const hitCountStack = [];
|
314
|
-
const results = [];
|
315
|
-
let lastOffset = 0;
|
316
|
-
// Run scanning line to intersect all ranges.
|
317
|
-
for (const point of points) {
|
318
|
-
if (hitCountStack.length &&
|
319
|
-
lastOffset < point.offset &&
|
320
|
-
hitCountStack[hitCountStack.length - 1] > 0) {
|
321
|
-
const lastResult = results.length ? results[results.length - 1] : null;
|
322
|
-
if (lastResult && lastResult.end === lastOffset)
|
323
|
-
lastResult.end = point.offset;
|
324
|
-
else
|
325
|
-
results.push({ start: lastOffset, end: point.offset });
|
326
|
-
}
|
327
|
-
lastOffset = point.offset;
|
328
|
-
if (point.type === 0)
|
329
|
-
hitCountStack.push(point.range.count);
|
330
|
-
else
|
331
|
-
hitCountStack.pop();
|
332
|
-
}
|
333
|
-
// Filter out empty ranges.
|
334
|
-
return results.filter((range) => range.end - range.start > 1);
|
335
|
-
}
|
336
|
-
//# sourceMappingURL=Coverage.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Coverage.js","sourceRoot":"","sources":["../../../../src/common/Coverage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2CAAqC;AAC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AC,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;;gBAC3B,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC7D;QACD,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC;QAC1B,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC;YAAE,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;;YACvD,aAAa,CAAC,GAAG,EAAE,CAAC;KAC1B;IACD,2BAA2B;IAC3B,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;AAChE,CAAC"}
|
@@ -1,176 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2019 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
|
-
/// <reference types="node" />
|
17
|
-
import { PuppeteerLifeCycleEvent } from './LifecycleWatcher.js';
|
18
|
-
import { JSHandle, ElementHandle } from './JSHandle.js';
|
19
|
-
import { ExecutionContext } from './ExecutionContext.js';
|
20
|
-
import { TimeoutSettings } from './TimeoutSettings.js';
|
21
|
-
import { MouseButton } from './Input.js';
|
22
|
-
import { FrameManager, Frame } from './FrameManager.js';
|
23
|
-
import { SerializableOrJSHandle, EvaluateHandleFn, WrapElementHandle, EvaluateFn, EvaluateFnReturnType, UnwrapPromiseLike } from './EvalTypes.js';
|
24
|
-
import { CDPSession } from './Connection.js';
|
25
|
-
/**
|
26
|
-
* @public
|
27
|
-
*/
|
28
|
-
export interface WaitForSelectorOptions {
|
29
|
-
visible?: boolean;
|
30
|
-
hidden?: boolean;
|
31
|
-
timeout?: number;
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* @internal
|
35
|
-
*/
|
36
|
-
export interface PageBinding {
|
37
|
-
name: string;
|
38
|
-
pptrFunction: Function;
|
39
|
-
}
|
40
|
-
/**
|
41
|
-
* @internal
|
42
|
-
*/
|
43
|
-
export declare class DOMWorld {
|
44
|
-
private _frameManager;
|
45
|
-
private _client;
|
46
|
-
private _frame;
|
47
|
-
private _timeoutSettings;
|
48
|
-
private _documentPromise?;
|
49
|
-
private _contextPromise?;
|
50
|
-
private _contextResolveCallback?;
|
51
|
-
private _detached;
|
52
|
-
/**
|
53
|
-
* @internal
|
54
|
-
*/
|
55
|
-
_waitTasks: Set<WaitTask>;
|
56
|
-
/**
|
57
|
-
* @internal
|
58
|
-
* Contains mapping from functions that should be bound to Puppeteer functions.
|
59
|
-
*/
|
60
|
-
_boundFunctions: Map<string, Function>;
|
61
|
-
private _ctxBindings;
|
62
|
-
private static bindingIdentifier;
|
63
|
-
constructor(client: CDPSession, frameManager: FrameManager, frame: Frame, timeoutSettings: TimeoutSettings);
|
64
|
-
frame(): Frame;
|
65
|
-
_setContext(context?: ExecutionContext): Promise<void>;
|
66
|
-
_hasContext(): boolean;
|
67
|
-
_detach(): void;
|
68
|
-
executionContext(): Promise<ExecutionContext>;
|
69
|
-
evaluateHandle<HandlerType extends JSHandle = JSHandle>(pageFunction: EvaluateHandleFn, ...args: SerializableOrJSHandle[]): Promise<HandlerType>;
|
70
|
-
evaluate<T extends EvaluateFn>(pageFunction: T, ...args: SerializableOrJSHandle[]): Promise<UnwrapPromiseLike<EvaluateFnReturnType<T>>>;
|
71
|
-
$<T extends Element = Element>(selector: string): Promise<ElementHandle<T> | null>;
|
72
|
-
_document(): Promise<ElementHandle>;
|
73
|
-
$x(expression: string): Promise<ElementHandle[]>;
|
74
|
-
$eval<ReturnType>(selector: string, pageFunction: (element: Element, ...args: unknown[]) => ReturnType | Promise<ReturnType>, ...args: SerializableOrJSHandle[]): Promise<WrapElementHandle<ReturnType>>;
|
75
|
-
$$eval<ReturnType>(selector: string, pageFunction: (elements: Element[], ...args: unknown[]) => ReturnType | Promise<ReturnType>, ...args: SerializableOrJSHandle[]): Promise<WrapElementHandle<ReturnType>>;
|
76
|
-
$$<T extends Element = Element>(selector: string): Promise<Array<ElementHandle<T>>>;
|
77
|
-
content(): Promise<string>;
|
78
|
-
setContent(html: string, options?: {
|
79
|
-
timeout?: number;
|
80
|
-
waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[];
|
81
|
-
}): Promise<void>;
|
82
|
-
/**
|
83
|
-
* Adds a script tag into the current context.
|
84
|
-
*
|
85
|
-
* @remarks
|
86
|
-
*
|
87
|
-
* You can pass a URL, filepath or string of contents. Note that when running Puppeteer
|
88
|
-
* in a browser environment you cannot pass a filepath and should use either
|
89
|
-
* `url` or `content`.
|
90
|
-
*/
|
91
|
-
addScriptTag(options: {
|
92
|
-
url?: string;
|
93
|
-
path?: string;
|
94
|
-
content?: string;
|
95
|
-
id?: string;
|
96
|
-
type?: string;
|
97
|
-
}): Promise<ElementHandle>;
|
98
|
-
/**
|
99
|
-
* Adds a style tag into the current context.
|
100
|
-
*
|
101
|
-
* @remarks
|
102
|
-
*
|
103
|
-
* You can pass a URL, filepath or string of contents. Note that when running Puppeteer
|
104
|
-
* in a browser environment you cannot pass a filepath and should use either
|
105
|
-
* `url` or `content`.
|
106
|
-
*
|
107
|
-
*/
|
108
|
-
addStyleTag(options: {
|
109
|
-
url?: string;
|
110
|
-
path?: string;
|
111
|
-
content?: string;
|
112
|
-
}): Promise<ElementHandle>;
|
113
|
-
click(selector: string, options: {
|
114
|
-
delay?: number;
|
115
|
-
button?: MouseButton;
|
116
|
-
clickCount?: number;
|
117
|
-
}): Promise<void>;
|
118
|
-
focus(selector: string): Promise<void>;
|
119
|
-
hover(selector: string): Promise<void>;
|
120
|
-
select(selector: string, ...values: string[]): Promise<string[]>;
|
121
|
-
tap(selector: string): Promise<void>;
|
122
|
-
type(selector: string, text: string, options?: {
|
123
|
-
delay: number;
|
124
|
-
}): Promise<void>;
|
125
|
-
waitForSelector(selector: string, options: WaitForSelectorOptions): Promise<ElementHandle | null>;
|
126
|
-
private _settingUpBinding;
|
127
|
-
/**
|
128
|
-
* @internal
|
129
|
-
*/
|
130
|
-
addBindingToContext(context: ExecutionContext, name: string): Promise<void>;
|
131
|
-
private _onBindingCalled;
|
132
|
-
/**
|
133
|
-
* @internal
|
134
|
-
*/
|
135
|
-
waitForSelectorInPage(queryOne: Function, selector: string, options: WaitForSelectorOptions, binding?: PageBinding): Promise<ElementHandle | null>;
|
136
|
-
waitForXPath(xpath: string, options: WaitForSelectorOptions): Promise<ElementHandle | null>;
|
137
|
-
waitForFunction(pageFunction: Function | string, options?: {
|
138
|
-
polling?: string | number;
|
139
|
-
timeout?: number;
|
140
|
-
}, ...args: SerializableOrJSHandle[]): Promise<JSHandle>;
|
141
|
-
title(): Promise<string>;
|
142
|
-
}
|
143
|
-
/**
|
144
|
-
* @internal
|
145
|
-
*/
|
146
|
-
export interface WaitTaskOptions {
|
147
|
-
domWorld: DOMWorld;
|
148
|
-
predicateBody: Function | string;
|
149
|
-
title: string;
|
150
|
-
polling: string | number;
|
151
|
-
timeout: number;
|
152
|
-
binding?: PageBinding;
|
153
|
-
args: SerializableOrJSHandle[];
|
154
|
-
}
|
155
|
-
/**
|
156
|
-
* @internal
|
157
|
-
*/
|
158
|
-
export declare class WaitTask {
|
159
|
-
_domWorld: DOMWorld;
|
160
|
-
_polling: string | number;
|
161
|
-
_timeout: number;
|
162
|
-
_predicateBody: string;
|
163
|
-
_args: SerializableOrJSHandle[];
|
164
|
-
_binding: PageBinding;
|
165
|
-
_runCount: number;
|
166
|
-
promise: Promise<JSHandle>;
|
167
|
-
_resolve: (x: JSHandle) => void;
|
168
|
-
_reject: (x: Error) => void;
|
169
|
-
_timeoutTimer?: NodeJS.Timeout;
|
170
|
-
_terminated: boolean;
|
171
|
-
constructor(options: WaitTaskOptions);
|
172
|
-
terminate(error: Error): void;
|
173
|
-
rerun(): Promise<void>;
|
174
|
-
_cleanup(): void;
|
175
|
-
}
|
176
|
-
//# sourceMappingURL=DOMWorld.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DOMWorld.d.ts","sourceRoot":"","sources":["../../../../src/common/DOMWorld.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAc7C;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAA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