isomorfeus-puppetmaster 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +21 -18
- data/lib/isomorfeus/puppetmaster/driver_registration.rb +4 -4
- data/lib/isomorfeus/puppetmaster/server_registration.rb +0 -52
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/lib/isomorfeus/puppetmaster.rb +6 -3
- data/lib/isomorfeus-puppetmaster.rb +2 -1
- data/node_modules/.bin/extract-zip +12 -0
- data/node_modules/.bin/extract-zip.cmd +17 -0
- data/node_modules/.bin/extract-zip.ps1 +28 -0
- data/node_modules/.bin/mkdirp +12 -0
- data/node_modules/.bin/mkdirp.cmd +17 -0
- data/node_modules/.bin/mkdirp.ps1 +28 -0
- data/node_modules/.bin/rimraf +12 -0
- data/node_modules/.bin/rimraf.cmd +17 -0
- data/node_modules/.bin/rimraf.ps1 +28 -0
- data/node_modules/.package-lock.json +574 -0
- data/node_modules/@types/node/LICENSE +21 -0
- data/node_modules/@types/node/README.md +16 -0
- data/node_modules/@types/node/assert/strict.d.ts +8 -0
- data/node_modules/@types/node/assert.d.ts +912 -0
- data/node_modules/@types/node/async_hooks.d.ts +497 -0
- data/node_modules/@types/node/buffer.d.ts +2142 -0
- data/node_modules/@types/node/child_process.d.ts +1355 -0
- data/node_modules/@types/node/cluster.d.ts +414 -0
- data/node_modules/@types/node/console.d.ts +407 -0
- data/node_modules/@types/node/constants.d.ts +18 -0
- data/node_modules/@types/node/crypto.d.ts +3224 -0
- data/node_modules/@types/node/dgram.d.ts +545 -0
- data/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- data/node_modules/@types/node/dns/promises.d.ts +357 -0
- data/node_modules/@types/node/dns.d.ts +643 -0
- data/node_modules/@types/node/domain.d.ts +169 -0
- data/node_modules/@types/node/events.d.ts +623 -0
- data/node_modules/@types/node/fs/promises.d.ts +997 -0
- data/node_modules/@types/node/fs.d.ts +3723 -0
- data/node_modules/@types/node/globals.d.ts +285 -0
- data/node_modules/@types/node/globals.global.d.ts +1 -0
- data/node_modules/@types/node/http.d.ts +1358 -0
- data/node_modules/@types/node/http2.d.ts +2100 -0
- data/node_modules/@types/node/https.d.ts +391 -0
- data/node_modules/@types/node/index.d.ts +131 -0
- data/node_modules/@types/node/inspector.d.ts +2738 -0
- data/node_modules/@types/node/module.d.ts +114 -0
- data/node_modules/@types/node/net.d.ts +783 -0
- data/node_modules/@types/node/os.d.ts +455 -0
- data/node_modules/@types/node/package.json +230 -0
- data/node_modules/@types/node/path.d.ts +172 -0
- data/node_modules/@types/node/perf_hooks.d.ts +555 -0
- data/node_modules/@types/node/process.d.ts +1477 -0
- data/node_modules/@types/node/punycode.d.ts +117 -0
- data/node_modules/@types/node/querystring.d.ts +131 -0
- data/node_modules/@types/node/readline.d.ts +542 -0
- data/node_modules/@types/node/repl.d.ts +424 -0
- data/node_modules/@types/node/stream/consumers.d.ts +24 -0
- data/node_modules/@types/node/stream/promises.d.ts +42 -0
- data/node_modules/@types/node/stream/web.d.ts +6 -0
- data/node_modules/@types/node/stream.d.ts +1181 -0
- data/node_modules/@types/node/string_decoder.d.ts +67 -0
- data/node_modules/@types/node/timers/promises.d.ts +68 -0
- data/node_modules/@types/node/timers.d.ts +94 -0
- data/node_modules/@types/node/tls.d.ts +1019 -0
- data/node_modules/@types/node/trace_events.d.ts +161 -0
- data/node_modules/@types/node/tty.d.ts +206 -0
- data/node_modules/@types/node/url.d.ts +798 -0
- data/node_modules/@types/node/util.d.ts +1556 -0
- data/node_modules/@types/node/v8.d.ts +378 -0
- data/node_modules/@types/node/vm.d.ts +504 -0
- data/node_modules/@types/node/wasi.d.ts +153 -0
- data/node_modules/@types/node/worker_threads.d.ts +649 -0
- data/node_modules/@types/node/zlib.d.ts +517 -0
- data/node_modules/@types/yauzl/LICENSE +21 -0
- data/node_modules/@types/yauzl/README.md +16 -0
- data/node_modules/@types/yauzl/index.d.ts +98 -0
- data/node_modules/@types/yauzl/package.json +27 -0
- data/node_modules/agent-base/README.md +145 -0
- data/node_modules/agent-base/dist/src/index.d.ts +78 -0
- data/node_modules/agent-base/dist/src/index.js +203 -0
- data/node_modules/agent-base/dist/src/index.js.map +1 -0
- data/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- data/node_modules/agent-base/dist/src/promisify.js +18 -0
- data/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- data/node_modules/agent-base/package.json +64 -0
- data/node_modules/agent-base/src/index.ts +345 -0
- data/node_modules/agent-base/src/promisify.ts +33 -0
- data/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +97 -0
- data/node_modules/balanced-match/index.js +62 -0
- data/node_modules/balanced-match/package.json +48 -0
- data/node_modules/base64-js/LICENSE +21 -0
- data/node_modules/base64-js/README.md +34 -0
- data/node_modules/base64-js/base64js.min.js +1 -0
- data/node_modules/base64-js/index.d.ts +3 -0
- data/node_modules/base64-js/index.js +150 -0
- data/node_modules/base64-js/package.json +47 -0
- data/node_modules/bl/.travis.yml +17 -0
- data/node_modules/bl/BufferList.js +396 -0
- data/node_modules/bl/LICENSE.md +13 -0
- data/node_modules/bl/README.md +247 -0
- data/node_modules/bl/bl.js +84 -0
- data/node_modules/bl/package.json +37 -0
- data/node_modules/bl/test/convert.js +21 -0
- data/node_modules/bl/test/indexOf.js +492 -0
- data/node_modules/bl/test/isBufferList.js +32 -0
- data/node_modules/bl/test/test.js +869 -0
- data/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/buffer/AUTHORS.md +70 -0
- data/node_modules/buffer/LICENSE +21 -0
- data/node_modules/buffer/README.md +410 -0
- data/node_modules/buffer/index.d.ts +186 -0
- data/node_modules/buffer/index.js +1817 -0
- data/node_modules/buffer/package.json +96 -0
- data/node_modules/buffer-crc32/LICENSE +19 -0
- data/node_modules/buffer-crc32/README.md +47 -0
- data/node_modules/buffer-crc32/index.js +111 -0
- data/node_modules/buffer-crc32/package.json +39 -0
- data/node_modules/chownr/LICENSE +15 -0
- data/node_modules/chownr/README.md +3 -0
- data/node_modules/chownr/chownr.js +167 -0
- data/node_modules/chownr/package.json +29 -0
- data/node_modules/concat-map/.travis.yml +4 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -0
- data/node_modules/debug/LICENSE +19 -0
- data/node_modules/debug/README.md +455 -0
- data/node_modules/debug/package.json +59 -0
- data/node_modules/debug/src/browser.js +269 -0
- data/node_modules/debug/src/common.js +261 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/devtools-protocol/LICENSE +27 -0
- data/node_modules/devtools-protocol/README.md +12 -0
- data/node_modules/devtools-protocol/changelog.md +10491 -0
- data/node_modules/devtools-protocol/externs/protocol_externs.js +9734 -0
- data/node_modules/devtools-protocol/json/browser_protocol.json +20641 -0
- data/node_modules/devtools-protocol/json/js_protocol.json +3581 -0
- data/node_modules/devtools-protocol/package.json +18 -0
- data/node_modules/devtools-protocol/pdl/browser_protocol.pdl +9637 -0
- data/node_modules/devtools-protocol/pdl/js_protocol.pdl +1678 -0
- data/node_modules/devtools-protocol/types/protocol-mapping.d.ts +4321 -0
- data/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +3683 -0
- data/node_modules/devtools-protocol/types/protocol.d.ts +15538 -0
- data/node_modules/end-of-stream/LICENSE +21 -0
- data/node_modules/end-of-stream/README.md +54 -0
- data/node_modules/end-of-stream/index.js +94 -0
- data/node_modules/end-of-stream/package.json +37 -0
- data/node_modules/extract-zip/LICENSE +23 -0
- data/node_modules/extract-zip/cli.js +19 -0
- data/node_modules/extract-zip/index.d.ts +21 -0
- data/node_modules/extract-zip/index.js +173 -0
- data/node_modules/extract-zip/package.json +80 -0
- data/node_modules/extract-zip/readme.md +57 -0
- data/node_modules/fd-slicer/.npmignore +2 -0
- data/node_modules/fd-slicer/.travis.yml +7 -0
- data/node_modules/fd-slicer/CHANGELOG.md +49 -0
- data/node_modules/fd-slicer/LICENSE +21 -0
- data/node_modules/fd-slicer/README.md +199 -0
- data/node_modules/fd-slicer/index.js +296 -0
- data/node_modules/fd-slicer/package.json +36 -0
- data/node_modules/fd-slicer/test/test.js +350 -0
- data/node_modules/find-up/index.d.ts +137 -0
- data/node_modules/find-up/index.js +89 -0
- data/node_modules/find-up/license +9 -0
- data/node_modules/find-up/package.json +53 -0
- data/node_modules/find-up/readme.md +156 -0
- data/node_modules/fs-constants/LICENSE +21 -0
- data/node_modules/fs-constants/README.md +26 -0
- data/node_modules/fs-constants/browser.js +1 -0
- data/node_modules/fs-constants/index.js +1 -0
- data/node_modules/fs-constants/package.json +19 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/get-stream/buffer-stream.js +52 -0
- data/node_modules/get-stream/index.d.ts +108 -0
- data/node_modules/get-stream/index.js +60 -0
- data/node_modules/get-stream/license +9 -0
- data/node_modules/get-stream/package.json +50 -0
- data/node_modules/get-stream/readme.md +124 -0
- data/node_modules/glob/LICENSE +21 -0
- data/node_modules/glob/README.md +375 -0
- data/node_modules/glob/changelog.md +67 -0
- data/node_modules/glob/common.js +234 -0
- data/node_modules/glob/glob.js +788 -0
- data/node_modules/glob/package.json +51 -0
- data/node_modules/glob/sync.js +484 -0
- data/node_modules/https-proxy-agent/README.md +137 -0
- data/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- data/node_modules/https-proxy-agent/dist/agent.js +180 -0
- data/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- data/node_modules/https-proxy-agent/dist/index.js +14 -0
- data/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- data/node_modules/https-proxy-agent/package.json +56 -0
- data/node_modules/ieee754/LICENSE +11 -0
- data/node_modules/ieee754/README.md +51 -0
- data/node_modules/ieee754/index.d.ts +10 -0
- data/node_modules/ieee754/index.js +85 -0
- data/node_modules/ieee754/package.json +52 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +9 -0
- data/node_modules/inherits/inherits_browser.js +27 -0
- data/node_modules/inherits/package.json +29 -0
- data/node_modules/locate-path/index.d.ts +83 -0
- data/node_modules/locate-path/index.js +65 -0
- data/node_modules/locate-path/license +9 -0
- data/node_modules/locate-path/package.json +45 -0
- data/node_modules/locate-path/readme.md +122 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +209 -0
- data/node_modules/minimatch/minimatch.js +923 -0
- data/node_modules/minimatch/package.json +30 -0
- data/node_modules/minimist/.travis.yml +8 -0
- data/node_modules/minimist/LICENSE +18 -0
- data/node_modules/minimist/example/parse.js +2 -0
- data/node_modules/minimist/index.js +245 -0
- data/node_modules/minimist/package.json +45 -0
- data/node_modules/minimist/readme.markdown +95 -0
- data/node_modules/minimist/test/all_bool.js +32 -0
- data/node_modules/minimist/test/bool.js +178 -0
- data/node_modules/minimist/test/dash.js +31 -0
- data/node_modules/minimist/test/default_bool.js +35 -0
- data/node_modules/minimist/test/dotted.js +22 -0
- data/node_modules/minimist/test/kv_short.js +16 -0
- data/node_modules/minimist/test/long.js +31 -0
- data/node_modules/minimist/test/num.js +36 -0
- data/node_modules/minimist/test/parse.js +197 -0
- data/node_modules/minimist/test/parse_modified.js +9 -0
- data/node_modules/minimist/test/proto.js +44 -0
- data/node_modules/minimist/test/short.js +67 -0
- data/node_modules/minimist/test/stop_early.js +15 -0
- data/node_modules/minimist/test/unknown.js +102 -0
- data/node_modules/minimist/test/whitespace.js +8 -0
- data/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/mkdirp/bin/cmd.js +33 -0
- data/node_modules/mkdirp/bin/usage.txt +12 -0
- data/node_modules/mkdirp/index.js +99 -0
- data/node_modules/mkdirp/package.json +34 -0
- data/node_modules/mkdirp/readme.markdown +100 -0
- data/node_modules/ms/index.js +162 -0
- data/node_modules/ms/license.md +21 -0
- data/node_modules/ms/package.json +37 -0
- data/node_modules/ms/readme.md +60 -0
- data/node_modules/node-fetch/CHANGELOG.md +272 -0
- data/node_modules/node-fetch/LICENSE.md +22 -0
- data/node_modules/node-fetch/README.md +590 -0
- data/node_modules/node-fetch/browser.js +25 -0
- data/node_modules/node-fetch/lib/index.es.js +1640 -0
- data/node_modules/node-fetch/lib/index.js +1649 -0
- data/node_modules/node-fetch/lib/index.mjs +1638 -0
- data/node_modules/node-fetch/package.json +66 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/p-limit/index.d.ts +38 -0
- data/node_modules/p-limit/index.js +57 -0
- data/node_modules/p-limit/license +9 -0
- data/node_modules/p-limit/package.json +52 -0
- data/node_modules/p-limit/readme.md +101 -0
- data/node_modules/p-locate/index.d.ts +64 -0
- data/node_modules/p-locate/index.js +52 -0
- data/node_modules/p-locate/license +9 -0
- data/node_modules/p-locate/package.json +53 -0
- data/node_modules/p-locate/readme.md +90 -0
- data/node_modules/p-try/index.d.ts +39 -0
- data/node_modules/p-try/index.js +9 -0
- data/node_modules/p-try/license +9 -0
- data/node_modules/p-try/package.json +42 -0
- data/node_modules/p-try/readme.md +58 -0
- data/node_modules/path-exists/index.d.ts +28 -0
- data/node_modules/path-exists/index.js +23 -0
- data/node_modules/path-exists/license +9 -0
- data/node_modules/path-exists/package.json +39 -0
- data/node_modules/path-exists/readme.md +52 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/pend/LICENSE +23 -0
- data/node_modules/pend/README.md +41 -0
- data/node_modules/pend/index.js +55 -0
- data/node_modules/pend/package.json +18 -0
- data/node_modules/pend/test.js +137 -0
- data/node_modules/pkg-dir/index.d.ts +44 -0
- data/node_modules/pkg-dir/index.js +17 -0
- data/node_modules/pkg-dir/license +9 -0
- data/node_modules/pkg-dir/package.json +56 -0
- data/node_modules/pkg-dir/readme.md +66 -0
- data/node_modules/progress/CHANGELOG.md +115 -0
- data/node_modules/progress/LICENSE +22 -0
- data/node_modules/progress/Makefile +8 -0
- data/node_modules/progress/Readme.md +146 -0
- data/node_modules/progress/index.js +1 -0
- data/node_modules/progress/lib/node-progress.js +235 -0
- data/node_modules/progress/package.json +26 -0
- data/node_modules/proxy-from-env/.eslintrc +29 -0
- data/node_modules/proxy-from-env/.travis.yml +10 -0
- data/node_modules/proxy-from-env/LICENSE +20 -0
- data/node_modules/proxy-from-env/README.md +131 -0
- data/node_modules/proxy-from-env/index.js +108 -0
- data/node_modules/proxy-from-env/package.json +34 -0
- data/node_modules/proxy-from-env/test.js +483 -0
- data/node_modules/pump/.travis.yml +5 -0
- data/node_modules/pump/LICENSE +21 -0
- data/node_modules/pump/README.md +65 -0
- data/node_modules/pump/index.js +82 -0
- data/node_modules/pump/package.json +24 -0
- data/node_modules/pump/test-browser.js +66 -0
- data/node_modules/pump/test-node.js +53 -0
- data/node_modules/puppeteer-core/CHANGELOG.md +226 -0
- data/node_modules/puppeteer-core/LICENSE +202 -0
- data/node_modules/puppeteer-core/README.md +483 -0
- data/node_modules/puppeteer-core/cjs-entry-core.js +29 -0
- data/node_modules/puppeteer-core/cjs-entry.js +29 -0
- data/node_modules/puppeteer-core/install.js +89 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts +111 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js +81 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/api-docs-entry.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +176 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +361 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +85 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +438 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +528 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +54 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +98 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +26 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +35 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +130 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +281 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +73 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +189 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +329 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +173 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +655 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +53 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +82 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +41 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +951 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +75 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +98 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +38 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +42 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +49 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +93 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +117 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts +82 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js +87 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Events.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +194 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +322 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +59 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +72 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +733 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +965 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +341 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +547 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +126 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +155 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +360 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +545 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +469 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +803 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +66 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +149 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js +34 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkConditions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +97 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +341 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +157 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +35 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +2011 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +2427 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +160 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +162 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +52 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +3 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +166 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +77 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +145 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +48 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +47 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +104 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +407 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +113 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +29 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +44 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts +85 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +328 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +20 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js +45 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/initialize-web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +134 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +502 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +225 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +131 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +574 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +42 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +30 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +65 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts +154 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +189 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +160 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +25 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +24 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +23 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +24 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js +57 -0
- data/node_modules/puppeteer-core/lib/cjs/vendor/mitt/src/index.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts +111 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js +81 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/api-docs-entry.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +176 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +357 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +82 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +438 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +523 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +54 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +75 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +26 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +31 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +130 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +276 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +73 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +189 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +323 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +173 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +650 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +53 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +78 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +41 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +948 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +75 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +94 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +34 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +42 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +44 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +93 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +110 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts +82 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js +84 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Events.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +194 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +318 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +59 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +68 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +733 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +960 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +341 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +543 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +126 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +151 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +360 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +539 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +469 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +778 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +66 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +145 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js +31 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkConditions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +97 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +337 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +157 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +32 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +2011 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +2423 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +160 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +158 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +52 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +2 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +65 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +158 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +73 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +141 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +44 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +47 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +100 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +404 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +99 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +109 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +25 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts +85 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +306 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js +38 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js +23 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/initialize-web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +134 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +476 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +40 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +199 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +131 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +552 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +27 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +35 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +30 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +61 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts +154 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js +182 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Puppeteer.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +152 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js +23 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node-puppeteer-core.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +20 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts +18 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js +22 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/web.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts +28 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js +54 -0
- data/node_modules/puppeteer-core/lib/esm/vendor/mitt/src/index.js.map +1 -0
- data/node_modules/puppeteer-core/lib/types.d.ts +6911 -0
- data/node_modules/puppeteer-core/package.json +122 -0
- data/node_modules/puppeteer-core/typescript-if-required.js +61 -0
- data/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- data/node_modules/readable-stream/GOVERNANCE.md +136 -0
- data/node_modules/readable-stream/LICENSE +47 -0
- data/node_modules/readable-stream/README.md +106 -0
- data/node_modules/readable-stream/errors-browser.js +127 -0
- data/node_modules/readable-stream/errors.js +116 -0
- data/node_modules/readable-stream/experimentalWarning.js +17 -0
- data/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- data/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- data/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- data/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- data/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- data/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- data/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- data/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- data/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- data/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- data/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- data/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- data/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- data/node_modules/readable-stream/package.json +68 -0
- data/node_modules/readable-stream/readable-browser.js +9 -0
- data/node_modules/readable-stream/readable.js +16 -0
- data/node_modules/rimraf/CHANGELOG.md +65 -0
- data/node_modules/rimraf/LICENSE +15 -0
- data/node_modules/rimraf/README.md +101 -0
- data/node_modules/rimraf/bin.js +68 -0
- data/node_modules/rimraf/package.json +32 -0
- data/node_modules/rimraf/rimraf.js +360 -0
- data/node_modules/safe-buffer/LICENSE +21 -0
- data/node_modules/safe-buffer/README.md +584 -0
- data/node_modules/safe-buffer/index.d.ts +187 -0
- data/node_modules/safe-buffer/index.js +65 -0
- data/node_modules/safe-buffer/package.json +51 -0
- data/node_modules/string_decoder/LICENSE +48 -0
- data/node_modules/string_decoder/README.md +47 -0
- data/node_modules/string_decoder/lib/string_decoder.js +296 -0
- data/node_modules/string_decoder/package.json +34 -0
- data/node_modules/tar-fs/.travis.yml +5 -0
- data/node_modules/tar-fs/LICENSE +21 -0
- data/node_modules/tar-fs/README.md +163 -0
- data/node_modules/tar-fs/index.js +348 -0
- data/node_modules/tar-fs/package.json +41 -0
- data/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- data/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- 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 +346 -0
- data/node_modules/tar-stream/LICENSE +21 -0
- data/node_modules/tar-stream/README.md +168 -0
- data/node_modules/tar-stream/extract.js +257 -0
- data/node_modules/tar-stream/headers.js +295 -0
- data/node_modules/tar-stream/index.js +2 -0
- data/node_modules/tar-stream/pack.js +255 -0
- data/node_modules/tar-stream/package.json +58 -0
- data/node_modules/tar-stream/sandbox.js +11 -0
- data/node_modules/through/.travis.yml +5 -0
- data/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/through/index.js +108 -0
- data/node_modules/through/package.json +36 -0
- data/node_modules/through/readme.markdown +64 -0
- data/node_modules/through/test/async.js +28 -0
- data/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/through/test/buffering.js +71 -0
- data/node_modules/through/test/end.js +45 -0
- data/node_modules/through/test/index.js +133 -0
- data/node_modules/unbzip2-stream/LICENSE +24 -0
- data/node_modules/unbzip2-stream/README.md +59 -0
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -0
- data/node_modules/unbzip2-stream/index.js +92 -0
- data/node_modules/unbzip2-stream/lib/bit_iterator.js +39 -0
- data/node_modules/unbzip2-stream/lib/bzip2.js +367 -0
- data/node_modules/unbzip2-stream/package.json +51 -0
- data/node_modules/util-deprecate/History.md +16 -0
- data/node_modules/util-deprecate/LICENSE +24 -0
- data/node_modules/util-deprecate/README.md +53 -0
- data/node_modules/util-deprecate/browser.js +67 -0
- data/node_modules/util-deprecate/node.js +6 -0
- data/node_modules/util-deprecate/package.json +27 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -0
- data/node_modules/ws/LICENSE +21 -0
- data/node_modules/ws/README.md +496 -0
- data/node_modules/ws/browser.js +8 -0
- data/node_modules/ws/index.js +10 -0
- data/node_modules/ws/lib/buffer-util.js +129 -0
- data/node_modules/ws/lib/constants.js +10 -0
- data/node_modules/ws/lib/event-target.js +184 -0
- data/node_modules/ws/lib/extension.js +223 -0
- data/node_modules/ws/lib/limiter.js +55 -0
- data/node_modules/ws/lib/permessage-deflate.js +517 -0
- data/node_modules/ws/lib/receiver.js +507 -0
- data/node_modules/ws/lib/sender.js +405 -0
- data/node_modules/ws/lib/stream.js +165 -0
- data/node_modules/ws/lib/validation.js +104 -0
- data/node_modules/ws/lib/websocket-server.js +418 -0
- data/node_modules/ws/lib/websocket.js +942 -0
- data/node_modules/ws/package.json +56 -0
- data/node_modules/yauzl/LICENSE +21 -0
- data/node_modules/yauzl/README.md +658 -0
- data/node_modules/yauzl/index.js +796 -0
- data/node_modules/yauzl/package.json +40 -0
- data/package.json +6 -0
- metadata +940 -58
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"FrameManager.d.ts","sourceRoot":"","sources":["../../../../src/common/FrameManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAA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AO,CAAM,EACrC,GAAG,IAAI,EAAE,sBAAsB,EAAE,GAChC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IA8B3B;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACG,eAAe,CACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAYhC;;;;;;;;;;;;;;OAcG;IACG,YAAY,CAChB,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAShC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,eAAe,CACb,YAAY,EAAE,QAAQ,GAAG,MAAM,EAC/B,OAAO,GAAE,2BAAgC,EACzC,GAAG,IAAI,EAAE,sBAAsB,EAAE,GAChC,OAAO,CAAC,QAAQ,CAAC;IAIpB;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;IAI9B;;OAEG;IACH,UAAU,CAAC,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI;IAKnD;;OAEG;IACH,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI3C;;OAEG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAQvD;;OAEG;IACH,iBAAiB,IAAI,IAAI;IAKzB;;OAEG;IACH,OAAO,IAAI,IAAI;CAOhB"}
|
@@ -0,0 +1,965 @@
|
|
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.Frame = exports.FrameManager = exports.FrameManagerEmittedEvents = void 0;
|
19
|
+
const Debug_js_1 = require("../common/Debug.js");
|
20
|
+
const EventEmitter_js_1 = require("./EventEmitter.js");
|
21
|
+
const assert_js_1 = require("./assert.js");
|
22
|
+
const helper_js_1 = require("./helper.js");
|
23
|
+
const ExecutionContext_js_1 = require("./ExecutionContext.js");
|
24
|
+
const LifecycleWatcher_js_1 = require("./LifecycleWatcher.js");
|
25
|
+
const DOMWorld_js_1 = require("./DOMWorld.js");
|
26
|
+
const NetworkManager_js_1 = require("./NetworkManager.js");
|
27
|
+
const UTILITY_WORLD_NAME = '__puppeteer_utility_world__';
|
28
|
+
/**
|
29
|
+
* We use symbols to prevent external parties listening to these events.
|
30
|
+
* They are internal to Puppeteer.
|
31
|
+
*
|
32
|
+
* @internal
|
33
|
+
*/
|
34
|
+
exports.FrameManagerEmittedEvents = {
|
35
|
+
FrameAttached: Symbol('FrameManager.FrameAttached'),
|
36
|
+
FrameNavigated: Symbol('FrameManager.FrameNavigated'),
|
37
|
+
FrameDetached: Symbol('FrameManager.FrameDetached'),
|
38
|
+
LifecycleEvent: Symbol('FrameManager.LifecycleEvent'),
|
39
|
+
FrameNavigatedWithinDocument: Symbol('FrameManager.FrameNavigatedWithinDocument'),
|
40
|
+
ExecutionContextCreated: Symbol('FrameManager.ExecutionContextCreated'),
|
41
|
+
ExecutionContextDestroyed: Symbol('FrameManager.ExecutionContextDestroyed'),
|
42
|
+
};
|
43
|
+
/**
|
44
|
+
* @internal
|
45
|
+
*/
|
46
|
+
class FrameManager extends EventEmitter_js_1.EventEmitter {
|
47
|
+
constructor(client, page, ignoreHTTPSErrors, timeoutSettings) {
|
48
|
+
super();
|
49
|
+
this._frames = new Map();
|
50
|
+
this._contextIdToContext = new Map();
|
51
|
+
this._isolatedWorlds = new Set();
|
52
|
+
this._client = client;
|
53
|
+
this._page = page;
|
54
|
+
this._networkManager = new NetworkManager_js_1.NetworkManager(client, ignoreHTTPSErrors, this);
|
55
|
+
this._timeoutSettings = timeoutSettings;
|
56
|
+
this._client.on('Page.frameAttached', (event) => this._onFrameAttached(event.frameId, event.parentFrameId));
|
57
|
+
this._client.on('Page.frameNavigated', (event) => this._onFrameNavigated(event.frame));
|
58
|
+
this._client.on('Page.navigatedWithinDocument', (event) => this._onFrameNavigatedWithinDocument(event.frameId, event.url));
|
59
|
+
this._client.on('Page.frameDetached', (event) => this._onFrameDetached(event.frameId));
|
60
|
+
this._client.on('Page.frameStoppedLoading', (event) => this._onFrameStoppedLoading(event.frameId));
|
61
|
+
this._client.on('Runtime.executionContextCreated', (event) => this._onExecutionContextCreated(event.context));
|
62
|
+
this._client.on('Runtime.executionContextDestroyed', (event) => this._onExecutionContextDestroyed(event.executionContextId));
|
63
|
+
this._client.on('Runtime.executionContextsCleared', () => this._onExecutionContextsCleared());
|
64
|
+
this._client.on('Page.lifecycleEvent', (event) => this._onLifecycleEvent(event));
|
65
|
+
this._client.on('Target.attachedToTarget', async (event) => this._onFrameMoved(event));
|
66
|
+
}
|
67
|
+
async initialize() {
|
68
|
+
const result = await Promise.all([
|
69
|
+
this._client.send('Page.enable'),
|
70
|
+
this._client.send('Page.getFrameTree'),
|
71
|
+
]);
|
72
|
+
const { frameTree } = result[1];
|
73
|
+
this._handleFrameTree(frameTree);
|
74
|
+
await Promise.all([
|
75
|
+
this._client.send('Page.setLifecycleEventsEnabled', { enabled: true }),
|
76
|
+
this._client
|
77
|
+
.send('Runtime.enable')
|
78
|
+
.then(() => this._ensureIsolatedWorld(UTILITY_WORLD_NAME)),
|
79
|
+
this._networkManager.initialize(),
|
80
|
+
]);
|
81
|
+
}
|
82
|
+
networkManager() {
|
83
|
+
return this._networkManager;
|
84
|
+
}
|
85
|
+
async navigateFrame(frame, url, options = {}) {
|
86
|
+
assertNoLegacyNavigationOptions(options);
|
87
|
+
const { referer = this._networkManager.extraHTTPHeaders()['referer'], waitUntil = ['load'], timeout = this._timeoutSettings.navigationTimeout(), } = options;
|
88
|
+
const watcher = new LifecycleWatcher_js_1.LifecycleWatcher(this, frame, waitUntil, timeout);
|
89
|
+
let ensureNewDocumentNavigation = false;
|
90
|
+
let error = await Promise.race([
|
91
|
+
navigate(this._client, url, referer, frame._id),
|
92
|
+
watcher.timeoutOrTerminationPromise(),
|
93
|
+
]);
|
94
|
+
if (!error) {
|
95
|
+
error = await Promise.race([
|
96
|
+
watcher.timeoutOrTerminationPromise(),
|
97
|
+
ensureNewDocumentNavigation
|
98
|
+
? watcher.newDocumentNavigationPromise()
|
99
|
+
: watcher.sameDocumentNavigationPromise(),
|
100
|
+
]);
|
101
|
+
}
|
102
|
+
watcher.dispose();
|
103
|
+
if (error)
|
104
|
+
throw error;
|
105
|
+
return watcher.navigationResponse();
|
106
|
+
async function navigate(client, url, referrer, frameId) {
|
107
|
+
try {
|
108
|
+
const response = await client.send('Page.navigate', {
|
109
|
+
url,
|
110
|
+
referrer,
|
111
|
+
frameId,
|
112
|
+
});
|
113
|
+
ensureNewDocumentNavigation = !!response.loaderId;
|
114
|
+
return response.errorText
|
115
|
+
? new Error(`${response.errorText} at ${url}`)
|
116
|
+
: null;
|
117
|
+
}
|
118
|
+
catch (error) {
|
119
|
+
return error;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
async waitForFrameNavigation(frame, options = {}) {
|
124
|
+
assertNoLegacyNavigationOptions(options);
|
125
|
+
const { waitUntil = ['load'], timeout = this._timeoutSettings.navigationTimeout(), } = options;
|
126
|
+
const watcher = new LifecycleWatcher_js_1.LifecycleWatcher(this, frame, waitUntil, timeout);
|
127
|
+
const error = await Promise.race([
|
128
|
+
watcher.timeoutOrTerminationPromise(),
|
129
|
+
watcher.sameDocumentNavigationPromise(),
|
130
|
+
watcher.newDocumentNavigationPromise(),
|
131
|
+
]);
|
132
|
+
watcher.dispose();
|
133
|
+
if (error)
|
134
|
+
throw error;
|
135
|
+
return watcher.navigationResponse();
|
136
|
+
}
|
137
|
+
async _onFrameMoved(event) {
|
138
|
+
if (event.targetInfo.type !== 'iframe') {
|
139
|
+
return;
|
140
|
+
}
|
141
|
+
// TODO(sadym): Remove debug message once proper OOPIF support is
|
142
|
+
// implemented: https://github.com/puppeteer/puppeteer/issues/2548
|
143
|
+
Debug_js_1.debug('puppeteer:frame')(`The frame '${event.targetInfo.targetId}' moved to another session. ` +
|
144
|
+
`Out-of-process iframes (OOPIF) are not supported by Puppeteer yet. ` +
|
145
|
+
`https://github.com/puppeteer/puppeteer/issues/2548`);
|
146
|
+
}
|
147
|
+
_onLifecycleEvent(event) {
|
148
|
+
const frame = this._frames.get(event.frameId);
|
149
|
+
if (!frame)
|
150
|
+
return;
|
151
|
+
frame._onLifecycleEvent(event.loaderId, event.name);
|
152
|
+
this.emit(exports.FrameManagerEmittedEvents.LifecycleEvent, frame);
|
153
|
+
}
|
154
|
+
_onFrameStoppedLoading(frameId) {
|
155
|
+
const frame = this._frames.get(frameId);
|
156
|
+
if (!frame)
|
157
|
+
return;
|
158
|
+
frame._onLoadingStopped();
|
159
|
+
this.emit(exports.FrameManagerEmittedEvents.LifecycleEvent, frame);
|
160
|
+
}
|
161
|
+
_handleFrameTree(frameTree) {
|
162
|
+
if (frameTree.frame.parentId)
|
163
|
+
this._onFrameAttached(frameTree.frame.id, frameTree.frame.parentId);
|
164
|
+
this._onFrameNavigated(frameTree.frame);
|
165
|
+
if (!frameTree.childFrames)
|
166
|
+
return;
|
167
|
+
for (const child of frameTree.childFrames)
|
168
|
+
this._handleFrameTree(child);
|
169
|
+
}
|
170
|
+
page() {
|
171
|
+
return this._page;
|
172
|
+
}
|
173
|
+
mainFrame() {
|
174
|
+
return this._mainFrame;
|
175
|
+
}
|
176
|
+
frames() {
|
177
|
+
return Array.from(this._frames.values());
|
178
|
+
}
|
179
|
+
frame(frameId) {
|
180
|
+
return this._frames.get(frameId) || null;
|
181
|
+
}
|
182
|
+
_onFrameAttached(frameId, parentFrameId) {
|
183
|
+
if (this._frames.has(frameId))
|
184
|
+
return;
|
185
|
+
assert_js_1.assert(parentFrameId);
|
186
|
+
const parentFrame = this._frames.get(parentFrameId);
|
187
|
+
const frame = new Frame(this, parentFrame, frameId);
|
188
|
+
this._frames.set(frame._id, frame);
|
189
|
+
this.emit(exports.FrameManagerEmittedEvents.FrameAttached, frame);
|
190
|
+
}
|
191
|
+
_onFrameNavigated(framePayload) {
|
192
|
+
const isMainFrame = !framePayload.parentId;
|
193
|
+
let frame = isMainFrame
|
194
|
+
? this._mainFrame
|
195
|
+
: this._frames.get(framePayload.id);
|
196
|
+
assert_js_1.assert(isMainFrame || frame, 'We either navigate top level or have old version of the navigated frame');
|
197
|
+
// Detach all child frames first.
|
198
|
+
if (frame) {
|
199
|
+
for (const child of frame.childFrames())
|
200
|
+
this._removeFramesRecursively(child);
|
201
|
+
}
|
202
|
+
// Update or create main frame.
|
203
|
+
if (isMainFrame) {
|
204
|
+
if (frame) {
|
205
|
+
// Update frame id to retain frame identity on cross-process navigation.
|
206
|
+
this._frames.delete(frame._id);
|
207
|
+
frame._id = framePayload.id;
|
208
|
+
}
|
209
|
+
else {
|
210
|
+
// Initial main frame navigation.
|
211
|
+
frame = new Frame(this, null, framePayload.id);
|
212
|
+
}
|
213
|
+
this._frames.set(framePayload.id, frame);
|
214
|
+
this._mainFrame = frame;
|
215
|
+
}
|
216
|
+
// Update frame payload.
|
217
|
+
frame._navigated(framePayload);
|
218
|
+
this.emit(exports.FrameManagerEmittedEvents.FrameNavigated, frame);
|
219
|
+
}
|
220
|
+
async _ensureIsolatedWorld(name) {
|
221
|
+
if (this._isolatedWorlds.has(name))
|
222
|
+
return;
|
223
|
+
this._isolatedWorlds.add(name);
|
224
|
+
await this._client.send('Page.addScriptToEvaluateOnNewDocument', {
|
225
|
+
source: `//# sourceURL=${ExecutionContext_js_1.EVALUATION_SCRIPT_URL}`,
|
226
|
+
worldName: name,
|
227
|
+
});
|
228
|
+
// Frames might be removed before we send this.
|
229
|
+
await Promise.all(this.frames().map((frame) => this._client
|
230
|
+
.send('Page.createIsolatedWorld', {
|
231
|
+
frameId: frame._id,
|
232
|
+
worldName: name,
|
233
|
+
grantUniveralAccess: true,
|
234
|
+
})
|
235
|
+
.catch(helper_js_1.debugError)));
|
236
|
+
}
|
237
|
+
_onFrameNavigatedWithinDocument(frameId, url) {
|
238
|
+
const frame = this._frames.get(frameId);
|
239
|
+
if (!frame)
|
240
|
+
return;
|
241
|
+
frame._navigatedWithinDocument(url);
|
242
|
+
this.emit(exports.FrameManagerEmittedEvents.FrameNavigatedWithinDocument, frame);
|
243
|
+
this.emit(exports.FrameManagerEmittedEvents.FrameNavigated, frame);
|
244
|
+
}
|
245
|
+
_onFrameDetached(frameId) {
|
246
|
+
const frame = this._frames.get(frameId);
|
247
|
+
if (frame)
|
248
|
+
this._removeFramesRecursively(frame);
|
249
|
+
}
|
250
|
+
_onExecutionContextCreated(contextPayload) {
|
251
|
+
const auxData = contextPayload.auxData;
|
252
|
+
const frameId = auxData ? auxData.frameId : null;
|
253
|
+
const frame = this._frames.get(frameId) || null;
|
254
|
+
let world = null;
|
255
|
+
if (frame) {
|
256
|
+
if (contextPayload.auxData && !!contextPayload.auxData['isDefault']) {
|
257
|
+
world = frame._mainWorld;
|
258
|
+
}
|
259
|
+
else if (contextPayload.name === UTILITY_WORLD_NAME &&
|
260
|
+
!frame._secondaryWorld._hasContext()) {
|
261
|
+
// In case of multiple sessions to the same target, there's a race between
|
262
|
+
// connections so we might end up creating multiple isolated worlds.
|
263
|
+
// We can use either.
|
264
|
+
world = frame._secondaryWorld;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
const context = new ExecutionContext_js_1.ExecutionContext(this._client, contextPayload, world);
|
268
|
+
if (world)
|
269
|
+
world._setContext(context);
|
270
|
+
this._contextIdToContext.set(contextPayload.id, context);
|
271
|
+
}
|
272
|
+
_onExecutionContextDestroyed(executionContextId) {
|
273
|
+
const context = this._contextIdToContext.get(executionContextId);
|
274
|
+
if (!context)
|
275
|
+
return;
|
276
|
+
this._contextIdToContext.delete(executionContextId);
|
277
|
+
if (context._world)
|
278
|
+
context._world._setContext(null);
|
279
|
+
}
|
280
|
+
_onExecutionContextsCleared() {
|
281
|
+
for (const context of this._contextIdToContext.values()) {
|
282
|
+
if (context._world)
|
283
|
+
context._world._setContext(null);
|
284
|
+
}
|
285
|
+
this._contextIdToContext.clear();
|
286
|
+
}
|
287
|
+
executionContextById(contextId) {
|
288
|
+
const context = this._contextIdToContext.get(contextId);
|
289
|
+
assert_js_1.assert(context, 'INTERNAL ERROR: missing context with id = ' + contextId);
|
290
|
+
return context;
|
291
|
+
}
|
292
|
+
_removeFramesRecursively(frame) {
|
293
|
+
for (const child of frame.childFrames())
|
294
|
+
this._removeFramesRecursively(child);
|
295
|
+
frame._detach();
|
296
|
+
this._frames.delete(frame._id);
|
297
|
+
this.emit(exports.FrameManagerEmittedEvents.FrameDetached, frame);
|
298
|
+
}
|
299
|
+
}
|
300
|
+
exports.FrameManager = FrameManager;
|
301
|
+
/**
|
302
|
+
* At every point of time, page exposes its current frame tree via the
|
303
|
+
* {@link Page.mainFrame | page.mainFrame} and
|
304
|
+
* {@link Frame.childFrames | frame.childFrames} methods.
|
305
|
+
*
|
306
|
+
* @remarks
|
307
|
+
*
|
308
|
+
* `Frame` object lifecycles are controlled by three events that are all
|
309
|
+
* dispatched on the page object:
|
310
|
+
*
|
311
|
+
* - {@link PageEmittedEvents.FrameAttached}
|
312
|
+
*
|
313
|
+
* - {@link PageEmittedEvents.FrameNavigated}
|
314
|
+
*
|
315
|
+
* - {@link PageEmittedEvents.FrameDetached}
|
316
|
+
*
|
317
|
+
* @Example
|
318
|
+
* An example of dumping frame tree:
|
319
|
+
*
|
320
|
+
* ```js
|
321
|
+
* const puppeteer = require('puppeteer');
|
322
|
+
*
|
323
|
+
* (async () => {
|
324
|
+
* const browser = await puppeteer.launch();
|
325
|
+
* const page = await browser.newPage();
|
326
|
+
* await page.goto('https://www.google.com/chrome/browser/canary.html');
|
327
|
+
* dumpFrameTree(page.mainFrame(), '');
|
328
|
+
* await browser.close();
|
329
|
+
*
|
330
|
+
* function dumpFrameTree(frame, indent) {
|
331
|
+
* console.log(indent + frame.url());
|
332
|
+
* for (const child of frame.childFrames()) {
|
333
|
+
* dumpFrameTree(child, indent + ' ');
|
334
|
+
* }
|
335
|
+
* }
|
336
|
+
* })();
|
337
|
+
* ```
|
338
|
+
*
|
339
|
+
* @Example
|
340
|
+
* An example of getting text from an iframe element:
|
341
|
+
*
|
342
|
+
* ```js
|
343
|
+
* const frame = page.frames().find(frame => frame.name() === 'myframe');
|
344
|
+
* const text = await frame.$eval('.selector', element => element.textContent);
|
345
|
+
* console.log(text);
|
346
|
+
* ```
|
347
|
+
*
|
348
|
+
* @public
|
349
|
+
*/
|
350
|
+
class Frame {
|
351
|
+
/**
|
352
|
+
* @internal
|
353
|
+
*/
|
354
|
+
constructor(frameManager, parentFrame, frameId) {
|
355
|
+
this._url = '';
|
356
|
+
this._detached = false;
|
357
|
+
/**
|
358
|
+
* @internal
|
359
|
+
*/
|
360
|
+
this._loaderId = '';
|
361
|
+
/**
|
362
|
+
* @internal
|
363
|
+
*/
|
364
|
+
this._lifecycleEvents = new Set();
|
365
|
+
this._frameManager = frameManager;
|
366
|
+
this._parentFrame = parentFrame;
|
367
|
+
this._url = '';
|
368
|
+
this._id = frameId;
|
369
|
+
this._detached = false;
|
370
|
+
this._loaderId = '';
|
371
|
+
this._mainWorld = new DOMWorld_js_1.DOMWorld(frameManager, this, frameManager._timeoutSettings);
|
372
|
+
this._secondaryWorld = new DOMWorld_js_1.DOMWorld(frameManager, this, frameManager._timeoutSettings);
|
373
|
+
this._childFrames = new Set();
|
374
|
+
if (this._parentFrame)
|
375
|
+
this._parentFrame._childFrames.add(this);
|
376
|
+
}
|
377
|
+
/**
|
378
|
+
* @remarks
|
379
|
+
*
|
380
|
+
* `frame.goto` will throw an error if:
|
381
|
+
* - there's an SSL error (e.g. in case of self-signed certificates).
|
382
|
+
*
|
383
|
+
* - target URL is invalid.
|
384
|
+
*
|
385
|
+
* - the `timeout` is exceeded during navigation.
|
386
|
+
*
|
387
|
+
* - the remote server does not respond or is unreachable.
|
388
|
+
*
|
389
|
+
* - the main resource failed to load.
|
390
|
+
*
|
391
|
+
* `frame.goto` will not throw an error when any valid HTTP status code is
|
392
|
+
* returned by the remote server, including 404 "Not Found" and 500 "Internal
|
393
|
+
* Server Error". The status code for such responses can be retrieved by
|
394
|
+
* calling {@link HTTPResponse.status}.
|
395
|
+
*
|
396
|
+
* NOTE: `frame.goto` either throws an error or returns a main resource
|
397
|
+
* response. The only exceptions are navigation to `about:blank` or
|
398
|
+
* navigation to the same URL with a different hash, which would succeed and
|
399
|
+
* return `null`.
|
400
|
+
*
|
401
|
+
* NOTE: Headless mode doesn't support navigation to a PDF document. See
|
402
|
+
* the {@link https://bugs.chromium.org/p/chromium/issues/detail?id=761295 | upstream
|
403
|
+
* issue}.
|
404
|
+
*
|
405
|
+
* @param url - the URL to navigate the frame to. This should include the
|
406
|
+
* scheme, e.g. `https://`.
|
407
|
+
* @param options - navigation options. `waitUntil` is useful to define when
|
408
|
+
* the navigation should be considered successful - see the docs for
|
409
|
+
* {@link PuppeteerLifeCycleEvent} for more details.
|
410
|
+
*
|
411
|
+
* @returns A promise which resolves to the main resource response. In case of
|
412
|
+
* multiple redirects, the navigation will resolve with the response of the
|
413
|
+
* last redirect.
|
414
|
+
*/
|
415
|
+
async goto(url, options = {}) {
|
416
|
+
return await this._frameManager.navigateFrame(this, url, options);
|
417
|
+
}
|
418
|
+
/**
|
419
|
+
* @remarks
|
420
|
+
*
|
421
|
+
* This resolves when the frame navigates to a new URL. It is useful for when
|
422
|
+
* you run code which will indirectly cause the frame to navigate. Consider
|
423
|
+
* this example:
|
424
|
+
*
|
425
|
+
* ```js
|
426
|
+
* const [response] = await Promise.all([
|
427
|
+
* // The navigation promise resolves after navigation has finished
|
428
|
+
* frame.waitForNavigation(),
|
429
|
+
* // Clicking the link will indirectly cause a navigation
|
430
|
+
* frame.click('a.my-link'),
|
431
|
+
* ]);
|
432
|
+
* ```
|
433
|
+
*
|
434
|
+
* Usage of the {@link https://developer.mozilla.org/en-US/docs/Web/API/History_API | History API} to change the URL is considered a navigation.
|
435
|
+
*
|
436
|
+
* @param options - options to configure when the navigation is consided finished.
|
437
|
+
* @returns a promise that resolves when the frame navigates to a new URL.
|
438
|
+
*/
|
439
|
+
async waitForNavigation(options = {}) {
|
440
|
+
return await this._frameManager.waitForFrameNavigation(this, options);
|
441
|
+
}
|
442
|
+
/**
|
443
|
+
* @returns a promise that resolves to the frame's default execution context.
|
444
|
+
*/
|
445
|
+
executionContext() {
|
446
|
+
return this._mainWorld.executionContext();
|
447
|
+
}
|
448
|
+
/**
|
449
|
+
* @remarks
|
450
|
+
*
|
451
|
+
* The only difference between {@link Frame.evaluate} and
|
452
|
+
* `frame.evaluateHandle` is that `evaluateHandle` will return the value
|
453
|
+
* wrapped in an in-page object.
|
454
|
+
*
|
455
|
+
* This method behaves identically to {@link Page.evaluateHandle} except it's
|
456
|
+
* run within the context of the `frame`, rather than the entire page.
|
457
|
+
*
|
458
|
+
* @param pageFunction - a function that is run within the frame
|
459
|
+
* @param args - arguments to be passed to the pageFunction
|
460
|
+
*/
|
461
|
+
async evaluateHandle(pageFunction, ...args) {
|
462
|
+
return this._mainWorld.evaluateHandle(pageFunction, ...args);
|
463
|
+
}
|
464
|
+
/**
|
465
|
+
* @remarks
|
466
|
+
*
|
467
|
+
* This method behaves identically to {@link Page.evaluate} except it's run
|
468
|
+
* within the context of the `frame`, rather than the entire page.
|
469
|
+
*
|
470
|
+
* @param pageFunction - a function that is run within the frame
|
471
|
+
* @param args - arguments to be passed to the pageFunction
|
472
|
+
*/
|
473
|
+
async evaluate(pageFunction, ...args) {
|
474
|
+
return this._mainWorld.evaluate(pageFunction, ...args);
|
475
|
+
}
|
476
|
+
/**
|
477
|
+
* This method queries the frame for the given selector.
|
478
|
+
*
|
479
|
+
* @param selector - a selector to query for.
|
480
|
+
* @returns A promise which resolves to an `ElementHandle` pointing at the
|
481
|
+
* element, or `null` if it was not found.
|
482
|
+
*/
|
483
|
+
async $(selector) {
|
484
|
+
return this._mainWorld.$(selector);
|
485
|
+
}
|
486
|
+
/**
|
487
|
+
* This method evaluates the given XPath expression and returns the results.
|
488
|
+
*
|
489
|
+
* @param expression - the XPath expression to evaluate.
|
490
|
+
*/
|
491
|
+
async $x(expression) {
|
492
|
+
return this._mainWorld.$x(expression);
|
493
|
+
}
|
494
|
+
/**
|
495
|
+
* @remarks
|
496
|
+
*
|
497
|
+
* This method runs `document.querySelector` within
|
498
|
+
* the frame and passes it as the first argument to `pageFunction`.
|
499
|
+
*
|
500
|
+
* If `pageFunction` returns a Promise, then `frame.$eval` would wait for
|
501
|
+
* the promise to resolve and return its value.
|
502
|
+
*
|
503
|
+
* @example
|
504
|
+
*
|
505
|
+
* ```js
|
506
|
+
* const searchValue = await frame.$eval('#search', el => el.value);
|
507
|
+
* ```
|
508
|
+
*
|
509
|
+
* @param selector - the selector to query for
|
510
|
+
* @param pageFunction - the function to be evaluated in the frame's context
|
511
|
+
* @param args - additional arguments to pass to `pageFuncton`
|
512
|
+
*/
|
513
|
+
async $eval(selector, pageFunction, ...args) {
|
514
|
+
return this._mainWorld.$eval(selector, pageFunction, ...args);
|
515
|
+
}
|
516
|
+
/**
|
517
|
+
* @remarks
|
518
|
+
*
|
519
|
+
* This method runs `Array.from(document.querySelectorAll(selector))` within
|
520
|
+
* the frame and passes it as the first argument to `pageFunction`.
|
521
|
+
*
|
522
|
+
* If `pageFunction` returns a Promise, then `frame.$$eval` would wait for
|
523
|
+
* the promise to resolve and return its value.
|
524
|
+
*
|
525
|
+
* @example
|
526
|
+
*
|
527
|
+
* ```js
|
528
|
+
* const divsCounts = await frame.$$eval('div', divs => divs.length);
|
529
|
+
* ```
|
530
|
+
*
|
531
|
+
* @param selector - the selector to query for
|
532
|
+
* @param pageFunction - the function to be evaluated in the frame's context
|
533
|
+
* @param args - additional arguments to pass to `pageFuncton`
|
534
|
+
*/
|
535
|
+
async $$eval(selector, pageFunction, ...args) {
|
536
|
+
return this._mainWorld.$$eval(selector, pageFunction, ...args);
|
537
|
+
}
|
538
|
+
/**
|
539
|
+
* This runs `document.querySelectorAll` in the frame and returns the result.
|
540
|
+
*
|
541
|
+
* @param selector - a selector to search for
|
542
|
+
* @returns An array of element handles pointing to the found frame elements.
|
543
|
+
*/
|
544
|
+
async $$(selector) {
|
545
|
+
return this._mainWorld.$$(selector);
|
546
|
+
}
|
547
|
+
/**
|
548
|
+
* @returns the full HTML contents of the frame, including the doctype.
|
549
|
+
*/
|
550
|
+
async content() {
|
551
|
+
return this._secondaryWorld.content();
|
552
|
+
}
|
553
|
+
/**
|
554
|
+
* Set the content of the frame.
|
555
|
+
*
|
556
|
+
* @param html - HTML markup to assign to the page.
|
557
|
+
* @param options - options to configure how long before timing out and at
|
558
|
+
* what point to consider the content setting successful.
|
559
|
+
*/
|
560
|
+
async setContent(html, options = {}) {
|
561
|
+
return this._secondaryWorld.setContent(html, options);
|
562
|
+
}
|
563
|
+
/**
|
564
|
+
* @remarks
|
565
|
+
*
|
566
|
+
* If the name is empty, it returns the `id` attribute instead.
|
567
|
+
*
|
568
|
+
* Note: This value is calculated once when the frame is created, and will not
|
569
|
+
* update if the attribute is changed later.
|
570
|
+
*
|
571
|
+
* @returns the frame's `name` attribute as specified in the tag.
|
572
|
+
*/
|
573
|
+
name() {
|
574
|
+
return this._name || '';
|
575
|
+
}
|
576
|
+
/**
|
577
|
+
* @returns the frame's URL.
|
578
|
+
*/
|
579
|
+
url() {
|
580
|
+
return this._url;
|
581
|
+
}
|
582
|
+
/**
|
583
|
+
* @returns the parent `Frame`, if any. Detached and main frames return `null`.
|
584
|
+
*/
|
585
|
+
parentFrame() {
|
586
|
+
return this._parentFrame;
|
587
|
+
}
|
588
|
+
/**
|
589
|
+
* @returns an array of child frames.
|
590
|
+
*/
|
591
|
+
childFrames() {
|
592
|
+
return Array.from(this._childFrames);
|
593
|
+
}
|
594
|
+
/**
|
595
|
+
* @returns `true` if the frame has been detached, or `false` otherwise.
|
596
|
+
*/
|
597
|
+
isDetached() {
|
598
|
+
return this._detached;
|
599
|
+
}
|
600
|
+
/**
|
601
|
+
* Adds a `<script>` tag into the page with the desired url or content.
|
602
|
+
*
|
603
|
+
* @param options - configure the script to add to the page.
|
604
|
+
*
|
605
|
+
* @returns a promise that resolves to the added tag when the script's
|
606
|
+
* `onload` event fires or when the script content was injected into the
|
607
|
+
* frame.
|
608
|
+
*/
|
609
|
+
async addScriptTag(options) {
|
610
|
+
return this._mainWorld.addScriptTag(options);
|
611
|
+
}
|
612
|
+
/**
|
613
|
+
* Adds a `<link rel="stylesheet">` tag into the page with the desired url or
|
614
|
+
* a `<style type="text/css">` tag with the content.
|
615
|
+
*
|
616
|
+
* @param options - configure the CSS to add to the page.
|
617
|
+
*
|
618
|
+
* @returns a promise that resolves to the added tag when the stylesheets's
|
619
|
+
* `onload` event fires or when the CSS content was injected into the
|
620
|
+
* frame.
|
621
|
+
*/
|
622
|
+
async addStyleTag(options) {
|
623
|
+
return this._mainWorld.addStyleTag(options);
|
624
|
+
}
|
625
|
+
/**
|
626
|
+
*
|
627
|
+
* This method clicks the first element found that matches `selector`.
|
628
|
+
*
|
629
|
+
* @remarks
|
630
|
+
*
|
631
|
+
* This method scrolls the element into view if needed, and then uses
|
632
|
+
* {@link Page.mouse} to click in the center of the element. If there's no
|
633
|
+
* element matching `selector`, the method throws an error.
|
634
|
+
*
|
635
|
+
* Bear in mind that if `click()` triggers a navigation event and there's a
|
636
|
+
* separate `page.waitForNavigation()` promise to be resolved, you may end up
|
637
|
+
* with a race condition that yields unexpected results. The correct pattern
|
638
|
+
* for click and wait for navigation is the following:
|
639
|
+
*
|
640
|
+
* ```javascript
|
641
|
+
* const [response] = await Promise.all([
|
642
|
+
* page.waitForNavigation(waitOptions),
|
643
|
+
* frame.click(selector, clickOptions),
|
644
|
+
* ]);
|
645
|
+
* ```
|
646
|
+
* @param selector - the selector to search for to click. If there are
|
647
|
+
* multiple elements, the first will be clicked.
|
648
|
+
*/
|
649
|
+
async click(selector, options = {}) {
|
650
|
+
return this._secondaryWorld.click(selector, options);
|
651
|
+
}
|
652
|
+
/**
|
653
|
+
* This method fetches an element with `selector` and focuses it.
|
654
|
+
*
|
655
|
+
* @remarks
|
656
|
+
* If there's no element matching `selector`, the method throws an error.
|
657
|
+
*
|
658
|
+
* @param selector - the selector for the element to focus. If there are
|
659
|
+
* multiple elements, the first will be focused.
|
660
|
+
*/
|
661
|
+
async focus(selector) {
|
662
|
+
return this._secondaryWorld.focus(selector);
|
663
|
+
}
|
664
|
+
/**
|
665
|
+
* This method fetches an element with `selector`, scrolls it into view if
|
666
|
+
* needed, and then uses {@link Page.mouse} to hover over the center of the
|
667
|
+
* element.
|
668
|
+
*
|
669
|
+
* @remarks
|
670
|
+
* If there's no element matching `selector`, the method throws an
|
671
|
+
*
|
672
|
+
* @param selector - the selector for the element to hover. If there are
|
673
|
+
* multiple elements, the first will be hovered.
|
674
|
+
*/
|
675
|
+
async hover(selector) {
|
676
|
+
return this._secondaryWorld.hover(selector);
|
677
|
+
}
|
678
|
+
/**
|
679
|
+
* Triggers a `change` and `input` event once all the provided options have
|
680
|
+
* been selected.
|
681
|
+
*
|
682
|
+
* @remarks
|
683
|
+
*
|
684
|
+
* If there's no `<select>` element matching `selector`, the
|
685
|
+
* method throws an error.
|
686
|
+
*
|
687
|
+
* @example
|
688
|
+
* ```js
|
689
|
+
* frame.select('select#colors', 'blue'); // single selection
|
690
|
+
* frame.select('select#colors', 'red', 'green', 'blue'); // multiple selections
|
691
|
+
* ```
|
692
|
+
*
|
693
|
+
* @param selector - a selector to query the frame for
|
694
|
+
* @param values - an array of values to select. If the `<select>` has the
|
695
|
+
* `multiple` attribute, all values are considered, otherwise only the first
|
696
|
+
* one is taken into account.
|
697
|
+
* @returns the list of values that were successfully selected.
|
698
|
+
*/
|
699
|
+
select(selector, ...values) {
|
700
|
+
return this._secondaryWorld.select(selector, ...values);
|
701
|
+
}
|
702
|
+
/**
|
703
|
+
* This method fetches an element with `selector`, scrolls it into view if
|
704
|
+
* needed, and then uses {@link Page.touchscreen} to tap in the center of the
|
705
|
+
* element.
|
706
|
+
*
|
707
|
+
* @remarks
|
708
|
+
*
|
709
|
+
* If there's no element matching `selector`, the method throws an error.
|
710
|
+
*
|
711
|
+
* @param selector - the selector to tap.
|
712
|
+
* @returns a promise that resolves when the element has been tapped.
|
713
|
+
*/
|
714
|
+
async tap(selector) {
|
715
|
+
return this._secondaryWorld.tap(selector);
|
716
|
+
}
|
717
|
+
/**
|
718
|
+
* Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character
|
719
|
+
* in the text.
|
720
|
+
*
|
721
|
+
* @remarks
|
722
|
+
* To press a special key, like `Control` or `ArrowDown`, use
|
723
|
+
* {@link Keyboard.press}.
|
724
|
+
*
|
725
|
+
* @example
|
726
|
+
* ```js
|
727
|
+
* await frame.type('#mytextarea', 'Hello'); // Types instantly
|
728
|
+
* await frame.type('#mytextarea', 'World', {delay: 100}); // Types slower, like a user
|
729
|
+
* ```
|
730
|
+
*
|
731
|
+
* @param selector - the selector for the element to type into. If there are
|
732
|
+
* multiple the first will be used.
|
733
|
+
* @param text - text to type into the element
|
734
|
+
* @param options - takes one option, `delay`, which sets the time to wait
|
735
|
+
* between key presses in milliseconds. Defaults to `0`.
|
736
|
+
*
|
737
|
+
* @returns a promise that resolves when the typing is complete.
|
738
|
+
*/
|
739
|
+
async type(selector, text, options) {
|
740
|
+
return this._mainWorld.type(selector, text, options);
|
741
|
+
}
|
742
|
+
/**
|
743
|
+
* @remarks
|
744
|
+
*
|
745
|
+
* This method behaves differently depending on the first parameter. If it's a
|
746
|
+
* `string`, it will be treated as a `selector` or `xpath` (if the string
|
747
|
+
* starts with `//`). This method then is a shortcut for
|
748
|
+
* {@link Frame.waitForSelector} or {@link Frame.waitForXPath}.
|
749
|
+
*
|
750
|
+
* If the first argument is a function this method is a shortcut for
|
751
|
+
* {@link Frame.waitForFunction}.
|
752
|
+
*
|
753
|
+
* If the first argument is a `number`, it's treated as a timeout in
|
754
|
+
* milliseconds and the method returns a promise which resolves after the
|
755
|
+
* timeout.
|
756
|
+
*
|
757
|
+
* @param selectorOrFunctionOrTimeout - a selector, predicate or timeout to
|
758
|
+
* wait for.
|
759
|
+
* @param options - optional waiting parameters.
|
760
|
+
* @param args - arguments to pass to `pageFunction`.
|
761
|
+
*
|
762
|
+
* @deprecated Don't use this method directly. Instead use the more explicit
|
763
|
+
* methods available: {@link Frame.waitForSelector},
|
764
|
+
* {@link Frame.waitForXPath}, {@link Frame.waitForFunction} or
|
765
|
+
* {@link Frame.waitForTimeout}.
|
766
|
+
*/
|
767
|
+
waitFor(selectorOrFunctionOrTimeout, options = {}, ...args) {
|
768
|
+
const xPathPattern = '//';
|
769
|
+
console.warn('waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.');
|
770
|
+
if (helper_js_1.helper.isString(selectorOrFunctionOrTimeout)) {
|
771
|
+
const string = selectorOrFunctionOrTimeout;
|
772
|
+
if (string.startsWith(xPathPattern))
|
773
|
+
return this.waitForXPath(string, options);
|
774
|
+
return this.waitForSelector(string, options);
|
775
|
+
}
|
776
|
+
if (helper_js_1.helper.isNumber(selectorOrFunctionOrTimeout))
|
777
|
+
return new Promise((fulfill) => setTimeout(fulfill, selectorOrFunctionOrTimeout));
|
778
|
+
if (typeof selectorOrFunctionOrTimeout === 'function')
|
779
|
+
return this.waitForFunction(selectorOrFunctionOrTimeout, options, ...args);
|
780
|
+
return Promise.reject(new Error('Unsupported target type: ' + typeof selectorOrFunctionOrTimeout));
|
781
|
+
}
|
782
|
+
/**
|
783
|
+
* Causes your script to wait for the given number of milliseconds.
|
784
|
+
*
|
785
|
+
* @remarks
|
786
|
+
* It's generally recommended to not wait for a number of seconds, but instead
|
787
|
+
* use {@link Frame.waitForSelector}, {@link Frame.waitForXPath} or
|
788
|
+
* {@link Frame.waitForFunction} to wait for exactly the conditions you want.
|
789
|
+
*
|
790
|
+
* @example
|
791
|
+
*
|
792
|
+
* Wait for 1 second:
|
793
|
+
*
|
794
|
+
* ```
|
795
|
+
* await frame.waitForTimeout(1000);
|
796
|
+
* ```
|
797
|
+
*
|
798
|
+
* @param milliseconds - the number of milliseconds to wait.
|
799
|
+
*/
|
800
|
+
waitForTimeout(milliseconds) {
|
801
|
+
return new Promise((resolve) => {
|
802
|
+
setTimeout(resolve, milliseconds);
|
803
|
+
});
|
804
|
+
}
|
805
|
+
/**
|
806
|
+
* @remarks
|
807
|
+
*
|
808
|
+
*
|
809
|
+
* Wait for the `selector` to appear in page. If at the moment of calling the
|
810
|
+
* method the `selector` already exists, the method will return immediately.
|
811
|
+
* If the selector doesn't appear after the `timeout` milliseconds of waiting,
|
812
|
+
* the function will throw.
|
813
|
+
*
|
814
|
+
* This method works across navigations.
|
815
|
+
*
|
816
|
+
* @example
|
817
|
+
* ```js
|
818
|
+
* const puppeteer = require('puppeteer');
|
819
|
+
*
|
820
|
+
* (async () => {
|
821
|
+
* const browser = await puppeteer.launch();
|
822
|
+
* const page = await browser.newPage();
|
823
|
+
* let currentURL;
|
824
|
+
* page.mainFrame()
|
825
|
+
* .waitForSelector('img')
|
826
|
+
* .then(() => console.log('First URL with image: ' + currentURL));
|
827
|
+
*
|
828
|
+
* for (currentURL of ['https://example.com', 'https://google.com', 'https://bbc.com']) {
|
829
|
+
* await page.goto(currentURL);
|
830
|
+
* }
|
831
|
+
* await browser.close();
|
832
|
+
* })();
|
833
|
+
* ```
|
834
|
+
* @param selector - the selector to wait for.
|
835
|
+
* @param options - options to define if the element should be visible and how
|
836
|
+
* long to wait before timing out.
|
837
|
+
* @returns a promise which resolves when an element matching the selector
|
838
|
+
* string is added to the DOM.
|
839
|
+
*/
|
840
|
+
async waitForSelector(selector, options = {}) {
|
841
|
+
const handle = await this._secondaryWorld.waitForSelector(selector, options);
|
842
|
+
if (!handle)
|
843
|
+
return null;
|
844
|
+
const mainExecutionContext = await this._mainWorld.executionContext();
|
845
|
+
const result = await mainExecutionContext._adoptElementHandle(handle);
|
846
|
+
await handle.dispose();
|
847
|
+
return result;
|
848
|
+
}
|
849
|
+
/**
|
850
|
+
* @remarks
|
851
|
+
* Wait for the `xpath` to appear in page. If at the moment of calling the
|
852
|
+
* method the `xpath` already exists, the method will return immediately. If
|
853
|
+
* the xpath doesn't appear after the `timeout` milliseconds of waiting, the
|
854
|
+
* function will throw.
|
855
|
+
*
|
856
|
+
* For a code example, see the example for {@link Frame.waitForSelector}. That
|
857
|
+
* function behaves identically other than taking a CSS selector rather than
|
858
|
+
* an XPath.
|
859
|
+
*
|
860
|
+
* @param xpath - the XPath expression to wait for.
|
861
|
+
* @param options - options to configure the visiblity of the element and how
|
862
|
+
* long to wait before timing out.
|
863
|
+
*/
|
864
|
+
async waitForXPath(xpath, options = {}) {
|
865
|
+
const handle = await this._secondaryWorld.waitForXPath(xpath, options);
|
866
|
+
if (!handle)
|
867
|
+
return null;
|
868
|
+
const mainExecutionContext = await this._mainWorld.executionContext();
|
869
|
+
const result = await mainExecutionContext._adoptElementHandle(handle);
|
870
|
+
await handle.dispose();
|
871
|
+
return result;
|
872
|
+
}
|
873
|
+
/**
|
874
|
+
* @remarks
|
875
|
+
*
|
876
|
+
* @example
|
877
|
+
*
|
878
|
+
* The `waitForFunction` can be used to observe viewport size change:
|
879
|
+
* ```js
|
880
|
+
* const puppeteer = require('puppeteer');
|
881
|
+
*
|
882
|
+
* (async () => {
|
883
|
+
* . const browser = await puppeteer.launch();
|
884
|
+
* . const page = await browser.newPage();
|
885
|
+
* . const watchDog = page.mainFrame().waitForFunction('window.innerWidth < 100');
|
886
|
+
* . page.setViewport({width: 50, height: 50});
|
887
|
+
* . await watchDog;
|
888
|
+
* . await browser.close();
|
889
|
+
* })();
|
890
|
+
* ```
|
891
|
+
*
|
892
|
+
* To pass arguments from Node.js to the predicate of `page.waitForFunction` function:
|
893
|
+
*
|
894
|
+
* ```js
|
895
|
+
* const selector = '.foo';
|
896
|
+
* await frame.waitForFunction(
|
897
|
+
* selector => !!document.querySelector(selector),
|
898
|
+
* {}, // empty options object
|
899
|
+
* selector
|
900
|
+
*);
|
901
|
+
* ```
|
902
|
+
*
|
903
|
+
* @param pageFunction - the function to evaluate in the frame context.
|
904
|
+
* @param options - options to configure the polling method and timeout.
|
905
|
+
* @param args - arguments to pass to the `pageFunction`.
|
906
|
+
* @returns the promise which resolve when the `pageFunction` returns a truthy value.
|
907
|
+
*/
|
908
|
+
waitForFunction(pageFunction, options = {}, ...args) {
|
909
|
+
return this._mainWorld.waitForFunction(pageFunction, options, ...args);
|
910
|
+
}
|
911
|
+
/**
|
912
|
+
* @returns the frame's title.
|
913
|
+
*/
|
914
|
+
async title() {
|
915
|
+
return this._secondaryWorld.title();
|
916
|
+
}
|
917
|
+
/**
|
918
|
+
* @internal
|
919
|
+
*/
|
920
|
+
_navigated(framePayload) {
|
921
|
+
this._name = framePayload.name;
|
922
|
+
this._url = `${framePayload.url}${framePayload.urlFragment || ''}`;
|
923
|
+
}
|
924
|
+
/**
|
925
|
+
* @internal
|
926
|
+
*/
|
927
|
+
_navigatedWithinDocument(url) {
|
928
|
+
this._url = url;
|
929
|
+
}
|
930
|
+
/**
|
931
|
+
* @internal
|
932
|
+
*/
|
933
|
+
_onLifecycleEvent(loaderId, name) {
|
934
|
+
if (name === 'init') {
|
935
|
+
this._loaderId = loaderId;
|
936
|
+
this._lifecycleEvents.clear();
|
937
|
+
}
|
938
|
+
this._lifecycleEvents.add(name);
|
939
|
+
}
|
940
|
+
/**
|
941
|
+
* @internal
|
942
|
+
*/
|
943
|
+
_onLoadingStopped() {
|
944
|
+
this._lifecycleEvents.add('DOMContentLoaded');
|
945
|
+
this._lifecycleEvents.add('load');
|
946
|
+
}
|
947
|
+
/**
|
948
|
+
* @internal
|
949
|
+
*/
|
950
|
+
_detach() {
|
951
|
+
this._detached = true;
|
952
|
+
this._mainWorld._detach();
|
953
|
+
this._secondaryWorld._detach();
|
954
|
+
if (this._parentFrame)
|
955
|
+
this._parentFrame._childFrames.delete(this);
|
956
|
+
this._parentFrame = null;
|
957
|
+
}
|
958
|
+
}
|
959
|
+
exports.Frame = Frame;
|
960
|
+
function assertNoLegacyNavigationOptions(options) {
|
961
|
+
assert_js_1.assert(options['networkIdleTimeout'] === undefined, 'ERROR: networkIdleTimeout option is no longer supported.');
|
962
|
+
assert_js_1.assert(options['networkIdleInflight'] === undefined, 'ERROR: networkIdleInflight option is no longer supported.');
|
963
|
+
assert_js_1.assert(options.waitUntil !== 'networkidle', 'ERROR: "networkidle" option is no longer supported. Use "networkidle2" instead');
|
964
|
+
}
|
965
|
+
//# sourceMappingURL=FrameManager.js.map
|