isomorfeus-puppetmaster 0.5.0 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -13
- data/lib/isomorfeus/puppetmaster/driver/puppeteer.rb +3 -3
- data/lib/isomorfeus/puppetmaster/driver/puppeteer_document.rb +30 -30
- data/lib/isomorfeus/puppetmaster/driver/puppeteer_node.rb +4 -4
- data/lib/isomorfeus/puppetmaster/node.rb +3 -3
- data/lib/isomorfeus/puppetmaster/server.rb +1 -1
- data/lib/isomorfeus/puppetmaster/server_registration.rb +3 -3
- data/lib/isomorfeus/puppetmaster/version.rb +1 -1
- data/lib/isomorfeus/puppetmaster.rb +2 -2
- data/lib/isomorfeus-puppetmaster.rb +8 -2
- data/node_modules/.package-lock.json +56 -45
- data/node_modules/debug/package.json +1 -1
- data/node_modules/debug/src/common.js +14 -1
- data/node_modules/{mkdirp → mkdirp-classic}/LICENSE +2 -2
- data/node_modules/mkdirp-classic/README.md +18 -0
- data/node_modules/{mkdirp → mkdirp-classic}/index.js +2 -3
- data/node_modules/mkdirp-classic/package.json +18 -0
- data/node_modules/node-fetch/lib/index.es.js +25 -3
- data/node_modules/node-fetch/lib/index.js +25 -3
- data/node_modules/node-fetch/lib/index.mjs +25 -3
- data/node_modules/node-fetch/package.json +8 -6
- data/node_modules/progress/lib/node-progress.js +4 -3
- data/node_modules/progress/package.json +1 -1
- data/node_modules/puppeteer-core/CHANGELOG.md +64 -0
- data/node_modules/puppeteer-core/README.md +13 -15
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +5 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +20 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +20 -7
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +8 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +26 -8
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +18 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +16 -9
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts +4 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js +26 -18
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js +120 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +10 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +9 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +8 -8
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +2 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +21 -9
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +157 -74
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +5 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +32 -29
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +14 -4
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +2 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +3 -4
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +27 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +46 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +7 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +5 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +51 -6
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +157 -50
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +5 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +3 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +3 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js +30 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +9 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js +6 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/assert.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js +5 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js +3 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/global.js.map +1 -0
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +20 -21
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +11 -5
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +6 -2
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js +30 -15
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +7 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js +17 -3
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/install.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/node.js.map +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js +1 -1
- data/node_modules/puppeteer-core/lib/cjs/puppeteer/web.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +5 -5
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +20 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +16 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +8 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +23 -5
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +18 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +10 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts +4 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js +16 -8
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js +120 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +10 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +7 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/EvalTypes.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +21 -9
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +152 -69
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +5 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +22 -19
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +14 -4
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +2 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +2 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +27 -5
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +35 -10
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +6 -4
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +5 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +51 -6
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +136 -29
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +3 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +3 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts +21 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +26 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +8 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js +4 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/assert.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/common/helper.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts +17 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.d.ts.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js +2 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/global.js.map +1 -0
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +9 -10
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +7 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +6 -2
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js +27 -12
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +7 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.d.ts.map +1 -1
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js +17 -3
- data/node_modules/puppeteer-core/lib/esm/puppeteer/node/install.js.map +1 -1
- data/node_modules/puppeteer-core/lib/types.d.ts +3898 -3710
- data/node_modules/puppeteer-core/package.json +35 -41
- data/node_modules/tar-fs/.travis.yml +2 -1
- data/node_modules/tar-fs/README.md +4 -2
- data/node_modules/tar-fs/index.js +11 -8
- data/node_modules/tar-fs/package.json +4 -4
- data/node_modules/tar-fs/test/index.js +1 -1
- data/node_modules/tr46/.npmignore +4 -0
- data/node_modules/tr46/index.js +193 -0
- data/node_modules/tr46/lib/.gitkeep +0 -0
- data/node_modules/tr46/lib/mappingTable.json +1 -0
- data/node_modules/tr46/package.json +31 -0
- data/node_modules/unbzip2-stream/README.md +1 -1
- data/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -1
- data/node_modules/unbzip2-stream/index.js +3 -2
- data/node_modules/unbzip2-stream/lib/bzip2.js +4 -6
- data/node_modules/unbzip2-stream/package.json +1 -1
- data/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/webidl-conversions/README.md +53 -0
- data/node_modules/webidl-conversions/lib/index.js +189 -0
- data/node_modules/webidl-conversions/package.json +23 -0
- data/node_modules/whatwg-url/LICENSE.txt +21 -0
- data/node_modules/whatwg-url/README.md +67 -0
- data/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- data/node_modules/whatwg-url/lib/URL.js +196 -0
- data/node_modules/whatwg-url/lib/public-api.js +11 -0
- data/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- data/node_modules/whatwg-url/lib/utils.js +20 -0
- data/node_modules/whatwg-url/package.json +32 -0
- data/node_modules/ws/LICENSE +0 -2
- data/node_modules/ws/README.md +49 -52
- data/node_modules/ws/index.js +3 -0
- data/node_modules/ws/lib/buffer-util.js +3 -6
- data/node_modules/ws/lib/constants.js +3 -1
- data/node_modules/ws/lib/event-target.js +172 -90
- data/node_modules/ws/lib/extension.js +8 -28
- data/node_modules/ws/lib/permessage-deflate.js +10 -16
- data/node_modules/ws/lib/receiver.js +143 -38
- data/node_modules/ws/lib/sender.js +29 -12
- data/node_modules/ws/lib/stream.js +20 -5
- data/node_modules/ws/lib/subprotocol.js +62 -0
- data/node_modules/ws/lib/validation.js +28 -8
- data/node_modules/ws/lib/websocket-server.js +129 -62
- data/node_modules/ws/lib/websocket.js +311 -104
- data/node_modules/ws/package.json +10 -5
- data/node_modules/ws/wrapper.mjs +8 -0
- data/package.json +1 -1
- metadata +79 -57
- data/node_modules/.bin/mkdirp +0 -12
- data/node_modules/.bin/mkdirp.cmd +0 -17
- data/node_modules/.bin/mkdirp.ps1 +0 -28
- data/node_modules/minimist/.travis.yml +0 -8
- data/node_modules/minimist/LICENSE +0 -18
- data/node_modules/minimist/example/parse.js +0 -2
- data/node_modules/minimist/index.js +0 -245
- data/node_modules/minimist/package.json +0 -45
- data/node_modules/minimist/readme.markdown +0 -95
- data/node_modules/minimist/test/all_bool.js +0 -32
- data/node_modules/minimist/test/bool.js +0 -178
- data/node_modules/minimist/test/dash.js +0 -31
- data/node_modules/minimist/test/default_bool.js +0 -35
- data/node_modules/minimist/test/dotted.js +0 -22
- data/node_modules/minimist/test/kv_short.js +0 -16
- data/node_modules/minimist/test/long.js +0 -31
- data/node_modules/minimist/test/num.js +0 -36
- data/node_modules/minimist/test/parse.js +0 -197
- data/node_modules/minimist/test/parse_modified.js +0 -9
- data/node_modules/minimist/test/proto.js +0 -44
- data/node_modules/minimist/test/short.js +0 -67
- data/node_modules/minimist/test/stop_early.js +0 -15
- data/node_modules/minimist/test/unknown.js +0 -102
- data/node_modules/minimist/test/whitespace.js +0 -8
- data/node_modules/mkdirp/bin/cmd.js +0 -33
- data/node_modules/mkdirp/bin/usage.txt +0 -12
- data/node_modules/mkdirp/package.json +0 -34
- data/node_modules/mkdirp/readme.markdown +0 -100
- data/node_modules/node-fetch/CHANGELOG.md +0 -272
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../src/common/Page.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAEL,UAAU,EAEX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EACL,KAAK,EAGN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAkB,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EACL,WAAW,EACX,iBAAiB,EAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,aAAa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GAAG,IAAI,CAAC;IAIhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiEG;IACH,eAAe,CACb,YAAY,EAAE,QAAQ,GAAG,MAAM,EAC/B,OAAO,GAAE;QACP,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACtB,EACN,GAAG,IAAI,EAAE,sBAAsB,EAAE,GAChC,OAAO,CAAC,QAAQ,CAAC;CAGrB"}
|
@@ -35,16 +35,6 @@ const FileChooser_js_1 = require("./FileChooser.js");
|
|
35
35
|
const ConsoleMessage_js_1 = require("./ConsoleMessage.js");
|
36
36
|
const PDFOptions_js_1 = require("./PDFOptions.js");
|
37
37
|
const environment_js_1 = require("../environment.js");
|
38
|
-
class ScreenshotTaskQueue {
|
39
|
-
constructor() {
|
40
|
-
this._chain = Promise.resolve(undefined);
|
41
|
-
}
|
42
|
-
postTask(task) {
|
43
|
-
const result = this._chain.then(task);
|
44
|
-
this._chain = result.catch(() => { });
|
45
|
-
return result;
|
46
|
-
}
|
47
|
-
}
|
48
38
|
/**
|
49
39
|
* Page provides methods to interact with a single tab or
|
50
40
|
* {@link https://developer.chrome.com/extensions/background_pages | extension background page} in Chromium.
|
@@ -92,7 +82,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
92
82
|
/**
|
93
83
|
* @internal
|
94
84
|
*/
|
95
|
-
constructor(client, target, ignoreHTTPSErrors) {
|
85
|
+
constructor(client, target, ignoreHTTPSErrors, screenshotTaskQueue) {
|
96
86
|
super();
|
97
87
|
this._closed = false;
|
98
88
|
this._timeoutSettings = new TimeoutSettings_js_1.TimeoutSettings();
|
@@ -103,6 +93,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
103
93
|
// something?
|
104
94
|
this._fileChooserInterceptors = new Set();
|
105
95
|
this._userDragInterceptionEnabled = false;
|
96
|
+
this._handlerMap = new WeakMap();
|
106
97
|
this._client = client;
|
107
98
|
this._target = target;
|
108
99
|
this._keyboard = new Input_js_1.Keyboard(client);
|
@@ -113,7 +104,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
113
104
|
this._emulationManager = new EmulationManager_js_1.EmulationManager(client);
|
114
105
|
this._tracing = new Tracing_js_1.Tracing(client);
|
115
106
|
this._coverage = new Coverage_js_1.Coverage(client);
|
116
|
-
this._screenshotTaskQueue =
|
107
|
+
this._screenshotTaskQueue = screenshotTaskQueue;
|
117
108
|
this._viewport = null;
|
118
109
|
client.on('Target.attachedToTarget', (event) => {
|
119
110
|
if (event.targetInfo.type !== 'worker' &&
|
@@ -122,7 +113,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
122
113
|
// We still want to attach to workers for emitting events.
|
123
114
|
// We still want to attach to iframes so sessions may interact with them.
|
124
115
|
// We detach from all other types out of an abundance of caution.
|
125
|
-
// See https://source.chromium.org/chromium/chromium/src/+/
|
116
|
+
// See https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypePage%5B%5D%22
|
126
117
|
// for the complete list of available types.
|
127
118
|
client
|
128
119
|
.send('Target.detachFromTarget', {
|
@@ -131,10 +122,12 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
131
122
|
.catch(helper_js_1.debugError);
|
132
123
|
return;
|
133
124
|
}
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
125
|
+
if (event.targetInfo.type === 'worker') {
|
126
|
+
const session = Connection_js_1.Connection.fromSession(client).session(event.sessionId);
|
127
|
+
const worker = new WebWorker_js_1.WebWorker(session, event.targetInfo.url, this._addConsoleMessage.bind(this), this._handleException.bind(this));
|
128
|
+
this._workers.set(event.sessionId, worker);
|
129
|
+
this.emit("workercreated" /* WorkerCreated */, worker);
|
130
|
+
}
|
138
131
|
});
|
139
132
|
client.on('Target.detachedFromTarget', (event) => {
|
140
133
|
const worker = this._workers.get(event.sessionId);
|
@@ -171,8 +164,8 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
171
164
|
/**
|
172
165
|
* @internal
|
173
166
|
*/
|
174
|
-
static async create(client, target, ignoreHTTPSErrors, defaultViewport) {
|
175
|
-
const page = new Page(client, target, ignoreHTTPSErrors);
|
167
|
+
static async create(client, target, ignoreHTTPSErrors, defaultViewport, screenshotTaskQueue) {
|
168
|
+
const page = new Page(client, target, ignoreHTTPSErrors, screenshotTaskQueue);
|
176
169
|
await page._initialize();
|
177
170
|
if (defaultViewport)
|
178
171
|
await page.setViewport(defaultViewport);
|
@@ -222,9 +215,11 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
222
215
|
// dispatching is delegated to EventEmitter.
|
223
216
|
on(eventName, handler) {
|
224
217
|
if (eventName === 'request') {
|
225
|
-
|
218
|
+
const wrap = (event) => {
|
226
219
|
event.enqueueInterceptAction(() => handler(event));
|
227
|
-
}
|
220
|
+
};
|
221
|
+
this._handlerMap.set(handler, wrap);
|
222
|
+
return super.on(eventName, wrap);
|
228
223
|
}
|
229
224
|
return super.on(eventName, handler);
|
230
225
|
}
|
@@ -233,6 +228,12 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
233
228
|
// to EventEmitter.
|
234
229
|
return super.once(eventName, handler);
|
235
230
|
}
|
231
|
+
off(eventName, handler) {
|
232
|
+
if (eventName === 'request') {
|
233
|
+
handler = this._handlerMap.get(handler) || handler;
|
234
|
+
}
|
235
|
+
return super.off(eventName, handler);
|
236
|
+
}
|
236
237
|
/**
|
237
238
|
* This method is typically coupled with an action that triggers file
|
238
239
|
* choosing. The following example clicks a button that issues a file chooser
|
@@ -301,6 +302,13 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
301
302
|
target() {
|
302
303
|
return this._target;
|
303
304
|
}
|
305
|
+
/**
|
306
|
+
* Get the CDP session client the page belongs to.
|
307
|
+
* @internal
|
308
|
+
*/
|
309
|
+
client() {
|
310
|
+
return this._client;
|
311
|
+
}
|
304
312
|
/**
|
305
313
|
* Get the browser the page belongs to.
|
306
314
|
*/
|
@@ -755,8 +763,8 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
755
763
|
const item = Object.assign({}, cookie);
|
756
764
|
if (!item.url && startsWithHTTP)
|
757
765
|
item.url = pageURL;
|
758
|
-
assert_js_1.assert(item.url !== 'about:blank', `Blank page can not have cookie "${item.name}"`);
|
759
|
-
assert_js_1.assert(!String.prototype.startsWith.call(item.url || '', 'data:'), `Data URL page can not have cookie "${item.name}"`);
|
766
|
+
(0, assert_js_1.assert)(item.url !== 'about:blank', `Blank page can not have cookie "${item.name}"`);
|
767
|
+
(0, assert_js_1.assert)(!String.prototype.startsWith.call(item.url || '', 'data:'), `Data URL page can not have cookie "${item.name}"`);
|
760
768
|
return item;
|
761
769
|
});
|
762
770
|
await this.deleteCookie(...items);
|
@@ -844,7 +852,17 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
844
852
|
async exposeFunction(name, puppeteerFunction) {
|
845
853
|
if (this._pageBindings.has(name))
|
846
854
|
throw new Error(`Failed to add page binding with name ${name}: window['${name}'] already exists!`);
|
847
|
-
|
855
|
+
let exposedFunction;
|
856
|
+
if (typeof puppeteerFunction === 'function') {
|
857
|
+
exposedFunction = puppeteerFunction;
|
858
|
+
}
|
859
|
+
else if (typeof puppeteerFunction.default === 'function') {
|
860
|
+
exposedFunction = puppeteerFunction.default;
|
861
|
+
}
|
862
|
+
else {
|
863
|
+
throw new Error(`Failed to add page binding with name ${name}: ${puppeteerFunction} is not a function or a module with a default export.`);
|
864
|
+
}
|
865
|
+
this._pageBindings.set(name, exposedFunction);
|
848
866
|
const expression = helper_js_1.helper.pageBindingInitString('exposedFun', name);
|
849
867
|
await this._client.send('Runtime.addBinding', { name: name });
|
850
868
|
await this._client.send('Page.addScriptToEvaluateOnNewDocument', {
|
@@ -958,8 +976,8 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
958
976
|
// @see https://github.com/puppeteer/puppeteer/issues/3865
|
959
977
|
return;
|
960
978
|
}
|
961
|
-
const context = this._frameManager.executionContextById(event.executionContextId);
|
962
|
-
const values = event.args.map((arg) => JSHandle_js_1.createJSHandle(context, arg));
|
979
|
+
const context = this._frameManager.executionContextById(event.executionContextId, this._client);
|
980
|
+
const values = event.args.map((arg) => (0, JSHandle_js_1.createJSHandle)(context, arg));
|
963
981
|
this._addConsoleMessage(event.type, values, event.stackTrace);
|
964
982
|
}
|
965
983
|
async _onBindingCalled(event) {
|
@@ -1030,7 +1048,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1030
1048
|
if (validDialogTypes.has(event.type)) {
|
1031
1049
|
dialogType = event.type;
|
1032
1050
|
}
|
1033
|
-
assert_js_1.assert(dialogType, 'Unknown javascript dialog type: ' + event.type);
|
1051
|
+
(0, assert_js_1.assert)(dialogType, 'Unknown javascript dialog type: ' + event.type);
|
1034
1052
|
const dialog = new Dialog_js_1.Dialog(this._client, dialogType, event.message, event.defaultPrompt);
|
1035
1053
|
this.emit("dialog" /* Dialog */, dialog);
|
1036
1054
|
}
|
@@ -1285,6 +1303,85 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1285
1303
|
return false;
|
1286
1304
|
}, timeout, this._sessionClosePromise());
|
1287
1305
|
}
|
1306
|
+
/**
|
1307
|
+
* @param options - Optional waiting parameters
|
1308
|
+
* @returns Promise which resolves when network is idle
|
1309
|
+
*/
|
1310
|
+
async waitForNetworkIdle(options = {}) {
|
1311
|
+
const { idleTime = 500, timeout = this._timeoutSettings.timeout() } = options;
|
1312
|
+
const networkManager = this._frameManager.networkManager();
|
1313
|
+
let idleResolveCallback;
|
1314
|
+
const idlePromise = new Promise((resolve) => {
|
1315
|
+
idleResolveCallback = resolve;
|
1316
|
+
});
|
1317
|
+
let abortRejectCallback;
|
1318
|
+
const abortPromise = new Promise((_, reject) => {
|
1319
|
+
abortRejectCallback = reject;
|
1320
|
+
});
|
1321
|
+
let idleTimer;
|
1322
|
+
const onIdle = () => idleResolveCallback();
|
1323
|
+
const cleanup = () => {
|
1324
|
+
idleTimer && clearTimeout(idleTimer);
|
1325
|
+
abortRejectCallback(new Error('abort'));
|
1326
|
+
};
|
1327
|
+
const evaluate = () => {
|
1328
|
+
idleTimer && clearTimeout(idleTimer);
|
1329
|
+
if (networkManager.numRequestsInProgress() === 0)
|
1330
|
+
idleTimer = setTimeout(onIdle, idleTime);
|
1331
|
+
};
|
1332
|
+
evaluate();
|
1333
|
+
const eventHandler = () => {
|
1334
|
+
evaluate();
|
1335
|
+
return false;
|
1336
|
+
};
|
1337
|
+
const listenToEvent = (event) => helper_js_1.helper.waitForEvent(networkManager, event, eventHandler, timeout, abortPromise);
|
1338
|
+
const eventPromises = [
|
1339
|
+
listenToEvent(NetworkManager_js_1.NetworkManagerEmittedEvents.Request),
|
1340
|
+
listenToEvent(NetworkManager_js_1.NetworkManagerEmittedEvents.Response),
|
1341
|
+
];
|
1342
|
+
await Promise.race([
|
1343
|
+
idlePromise,
|
1344
|
+
...eventPromises,
|
1345
|
+
this._sessionClosePromise(),
|
1346
|
+
]).then((r) => {
|
1347
|
+
cleanup();
|
1348
|
+
return r;
|
1349
|
+
}, (error) => {
|
1350
|
+
cleanup();
|
1351
|
+
throw error;
|
1352
|
+
});
|
1353
|
+
}
|
1354
|
+
/**
|
1355
|
+
* @param urlOrPredicate - A URL or predicate to wait for.
|
1356
|
+
* @param options - Optional waiting parameters
|
1357
|
+
* @returns Promise which resolves to the matched frame.
|
1358
|
+
* @example
|
1359
|
+
* ```js
|
1360
|
+
* const frame = await page.waitForFrame(async (frame) => {
|
1361
|
+
* return frame.name() === 'Test';
|
1362
|
+
* });
|
1363
|
+
* ```
|
1364
|
+
* @remarks
|
1365
|
+
* Optional Parameter have:
|
1366
|
+
*
|
1367
|
+
* - `timeout`: Maximum wait time in milliseconds, defaults to `30` seconds,
|
1368
|
+
* pass `0` to disable the timeout. The default value can be changed by using
|
1369
|
+
* the {@link Page.setDefaultTimeout} method.
|
1370
|
+
*/
|
1371
|
+
async waitForFrame(urlOrPredicate, options = {}) {
|
1372
|
+
const { timeout = this._timeoutSettings.timeout() } = options;
|
1373
|
+
async function predicate(frame) {
|
1374
|
+
if (helper_js_1.helper.isString(urlOrPredicate))
|
1375
|
+
return urlOrPredicate === frame.url();
|
1376
|
+
if (typeof urlOrPredicate === 'function')
|
1377
|
+
return !!(await urlOrPredicate(frame));
|
1378
|
+
return false;
|
1379
|
+
}
|
1380
|
+
return Promise.race([
|
1381
|
+
helper_js_1.helper.waitForEvent(this._frameManager, FrameManager_js_1.FrameManagerEmittedEvents.FrameAttached, predicate, timeout, this._sessionClosePromise()),
|
1382
|
+
helper_js_1.helper.waitForEvent(this._frameManager, FrameManager_js_1.FrameManagerEmittedEvents.FrameNavigated, predicate, timeout, this._sessionClosePromise()),
|
1383
|
+
]);
|
1384
|
+
}
|
1288
1385
|
/**
|
1289
1386
|
* This method navigate to the previous page in history.
|
1290
1387
|
* @param options - Navigation parameters
|
@@ -1444,13 +1541,17 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1444
1541
|
* ```
|
1445
1542
|
*/
|
1446
1543
|
async emulateMediaType(type) {
|
1447
|
-
assert_js_1.assert(type === 'screen' || type === 'print' || type === null, 'Unsupported media type: ' + type);
|
1544
|
+
(0, assert_js_1.assert)(type === 'screen' || type === 'print' || type === null, 'Unsupported media type: ' + type);
|
1448
1545
|
await this._client.send('Emulation.setEmulatedMedia', {
|
1449
1546
|
media: type || '',
|
1450
1547
|
});
|
1451
1548
|
}
|
1549
|
+
/**
|
1550
|
+
* Enables CPU throttling to emulate slow CPUs.
|
1551
|
+
* @param factor - slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
|
1552
|
+
*/
|
1452
1553
|
async emulateCPUThrottling(factor) {
|
1453
|
-
assert_js_1.assert(factor === null || factor >= 1, 'Throttling rate should be greater or equal to 1');
|
1554
|
+
(0, assert_js_1.assert)(factor === null || factor >= 1, 'Throttling rate should be greater or equal to 1');
|
1454
1555
|
await this._client.send('Emulation.setCPUThrottlingRate', {
|
1455
1556
|
rate: factor !== null ? factor : 1,
|
1456
1557
|
});
|
@@ -1513,7 +1614,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1513
1614
|
if (Array.isArray(features)) {
|
1514
1615
|
features.every((mediaFeature) => {
|
1515
1616
|
const name = mediaFeature.name;
|
1516
|
-
assert_js_1.assert(/^(?:prefers-(?:color-scheme|reduced-motion)|color-gamut)$/.test(name), 'Unsupported media feature: ' + name);
|
1617
|
+
(0, assert_js_1.assert)(/^(?:prefers-(?:color-scheme|reduced-motion)|color-gamut)$/.test(name), 'Unsupported media feature: ' + name);
|
1517
1618
|
return true;
|
1518
1619
|
});
|
1519
1620
|
await this._client.send('Emulation.setEmulatedMedia', {
|
@@ -1605,7 +1706,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1605
1706
|
'tritanopia',
|
1606
1707
|
]);
|
1607
1708
|
try {
|
1608
|
-
assert_js_1.assert(!type || visionDeficiencies.has(type), `Unsupported vision deficiency: ${type}`);
|
1709
|
+
(0, assert_js_1.assert)(!type || visionDeficiencies.has(type), `Unsupported vision deficiency: ${type}`);
|
1609
1710
|
await this._client.send('Emulation.setEmulatedVisionDeficiency', {
|
1610
1711
|
type: type || 'none',
|
1611
1712
|
});
|
@@ -1822,7 +1923,10 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1822
1923
|
// because it may be a 0-length file with no extension created beforehand
|
1823
1924
|
// (i.e. as a temp file).
|
1824
1925
|
if (options.type) {
|
1825
|
-
|
1926
|
+
const type = options.type;
|
1927
|
+
if (type !== 'png' && type !== 'jpeg' && type !== 'webp') {
|
1928
|
+
(0, assert_js_1.assertNever)(type, 'Unknown options.type value: ' + type);
|
1929
|
+
}
|
1826
1930
|
screenshotType = options.type;
|
1827
1931
|
}
|
1828
1932
|
else if (options.path) {
|
@@ -1834,32 +1938,34 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1834
1938
|
screenshotType = 'png';
|
1835
1939
|
else if (extension === 'jpg' || extension === 'jpeg')
|
1836
1940
|
screenshotType = 'jpeg';
|
1837
|
-
|
1941
|
+
else if (extension === 'webp')
|
1942
|
+
screenshotType = 'webp';
|
1943
|
+
(0, assert_js_1.assert)(screenshotType, `Unsupported screenshot type for extension \`.${extension}\``);
|
1838
1944
|
}
|
1839
1945
|
if (!screenshotType)
|
1840
1946
|
screenshotType = 'png';
|
1841
1947
|
if (options.quality) {
|
1842
|
-
assert_js_1.assert(screenshotType === 'jpeg', 'options.quality is unsupported for the ' +
|
1948
|
+
(0, assert_js_1.assert)(screenshotType === 'jpeg' || screenshotType === 'webp', 'options.quality is unsupported for the ' +
|
1843
1949
|
screenshotType +
|
1844
1950
|
' screenshots');
|
1845
|
-
assert_js_1.assert(typeof options.quality === 'number', 'Expected options.quality to be a number but found ' +
|
1951
|
+
(0, assert_js_1.assert)(typeof options.quality === 'number', 'Expected options.quality to be a number but found ' +
|
1846
1952
|
typeof options.quality);
|
1847
|
-
assert_js_1.assert(Number.isInteger(options.quality), 'Expected options.quality to be an integer');
|
1848
|
-
assert_js_1.assert(options.quality >= 0 && options.quality <= 100, 'Expected options.quality to be between 0 and 100 (inclusive), got ' +
|
1953
|
+
(0, assert_js_1.assert)(Number.isInteger(options.quality), 'Expected options.quality to be an integer');
|
1954
|
+
(0, assert_js_1.assert)(options.quality >= 0 && options.quality <= 100, 'Expected options.quality to be between 0 and 100 (inclusive), got ' +
|
1849
1955
|
options.quality);
|
1850
1956
|
}
|
1851
|
-
assert_js_1.assert(!options.clip || !options.fullPage, 'options.clip and options.fullPage are exclusive');
|
1957
|
+
(0, assert_js_1.assert)(!options.clip || !options.fullPage, 'options.clip and options.fullPage are exclusive');
|
1852
1958
|
if (options.clip) {
|
1853
|
-
assert_js_1.assert(typeof options.clip.x === 'number', 'Expected options.clip.x to be a number but found ' +
|
1959
|
+
(0, assert_js_1.assert)(typeof options.clip.x === 'number', 'Expected options.clip.x to be a number but found ' +
|
1854
1960
|
typeof options.clip.x);
|
1855
|
-
assert_js_1.assert(typeof options.clip.y === 'number', 'Expected options.clip.y to be a number but found ' +
|
1961
|
+
(0, assert_js_1.assert)(typeof options.clip.y === 'number', 'Expected options.clip.y to be a number but found ' +
|
1856
1962
|
typeof options.clip.y);
|
1857
|
-
assert_js_1.assert(typeof options.clip.width === 'number', 'Expected options.clip.width to be a number but found ' +
|
1963
|
+
(0, assert_js_1.assert)(typeof options.clip.width === 'number', 'Expected options.clip.width to be a number but found ' +
|
1858
1964
|
typeof options.clip.width);
|
1859
|
-
assert_js_1.assert(typeof options.clip.height === 'number', 'Expected options.clip.height to be a number but found ' +
|
1965
|
+
(0, assert_js_1.assert)(typeof options.clip.height === 'number', 'Expected options.clip.height to be a number but found ' +
|
1860
1966
|
typeof options.clip.height);
|
1861
|
-
assert_js_1.assert(options.clip.width !== 0, 'Expected options.clip.width not to be 0.');
|
1862
|
-
assert_js_1.assert(options.clip.height !== 0, 'Expected options.clip.height not to be 0.');
|
1967
|
+
(0, assert_js_1.assert)(options.clip.width !== 0, 'Expected options.clip.width not to be 0.');
|
1968
|
+
(0, assert_js_1.assert)(options.clip.height !== 0, 'Expected options.clip.height not to be 0.');
|
1863
1969
|
}
|
1864
1970
|
return this._screenshotTaskQueue.postTask(() => this._screenshotTask(screenshotType, options));
|
1865
1971
|
}
|
@@ -1891,7 +1997,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1891
1997
|
});
|
1892
1998
|
}
|
1893
1999
|
}
|
1894
|
-
const shouldSetDefaultBackground = options.omitBackground && format === 'png';
|
2000
|
+
const shouldSetDefaultBackground = options.omitBackground && (format === 'png' || format === 'webp');
|
1895
2001
|
if (shouldSetDefaultBackground) {
|
1896
2002
|
await this._setTransparentBackgroundColor();
|
1897
2003
|
}
|
@@ -1944,12 +2050,12 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1944
2050
|
* @param options - options for generating the PDF.
|
1945
2051
|
*/
|
1946
2052
|
async createPDFStream(options = {}) {
|
1947
|
-
const { scale = 1, displayHeaderFooter = false, headerTemplate = '', footerTemplate = '', printBackground = false, landscape = false, pageRanges = '', preferCSSPageSize = false, margin = {}, omitBackground = false, } = options;
|
2053
|
+
const { scale = 1, displayHeaderFooter = false, headerTemplate = '', footerTemplate = '', printBackground = false, landscape = false, pageRanges = '', preferCSSPageSize = false, margin = {}, omitBackground = false, timeout = 30000, } = options;
|
1948
2054
|
let paperWidth = 8.5;
|
1949
2055
|
let paperHeight = 11;
|
1950
2056
|
if (options.format) {
|
1951
2057
|
const format = PDFOptions_js_1.paperFormats[options.format.toLowerCase()];
|
1952
|
-
assert_js_1.assert(format, 'Unknown paper format: ' + options.format);
|
2058
|
+
(0, assert_js_1.assert)(format, 'Unknown paper format: ' + options.format);
|
1953
2059
|
paperWidth = format.width;
|
1954
2060
|
paperHeight = format.height;
|
1955
2061
|
}
|
@@ -1965,7 +2071,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1965
2071
|
if (omitBackground) {
|
1966
2072
|
await this._setTransparentBackgroundColor();
|
1967
2073
|
}
|
1968
|
-
const
|
2074
|
+
const printCommandPromise = this._client.send('Page.printToPDF', {
|
1969
2075
|
transferMode: 'ReturnAsStream',
|
1970
2076
|
landscape,
|
1971
2077
|
displayHeaderFooter,
|
@@ -1982,6 +2088,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
1982
2088
|
pageRanges,
|
1983
2089
|
preferCSSPageSize,
|
1984
2090
|
});
|
2091
|
+
const result = await helper_js_1.helper.waitWithTimeout(printCommandPromise, 'Page.printToPDF', timeout);
|
1985
2092
|
if (omitBackground) {
|
1986
2093
|
await this._resetDefaultBackgroundColor();
|
1987
2094
|
}
|
@@ -2005,7 +2112,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
2005
2112
|
return this.mainFrame().title();
|
2006
2113
|
}
|
2007
2114
|
async close(options = { runBeforeUnload: undefined }) {
|
2008
|
-
assert_js_1.assert(!!this._client._connection, 'Protocol error: Connection closed. Most likely the page has been closed.');
|
2115
|
+
(0, assert_js_1.assert)(!!this._client._connection, 'Protocol error: Connection closed. Most likely the page has been closed.');
|
2009
2116
|
const runBeforeUnload = !!options.runBeforeUnload;
|
2010
2117
|
if (runBeforeUnload) {
|
2011
2118
|
await this._client.send('Page.close');
|
@@ -2416,7 +2523,7 @@ function convertPrintParameterToInches(parameter) {
|
|
2416
2523
|
valueText = text;
|
2417
2524
|
}
|
2418
2525
|
const value = Number(valueText);
|
2419
|
-
assert_js_1.assert(!isNaN(value), 'Failed to parse parameter value: ' + text);
|
2526
|
+
(0, assert_js_1.assert)(!isNaN(value), 'Failed to parse parameter value: ' + text);
|
2420
2527
|
pixels = value * unitToPixels[unit];
|
2421
2528
|
}
|
2422
2529
|
else {
|