chrome-devtools-frontend 1.0.936819 → 1.0.938678
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/gni/all_devtools_files.gni +0 -20
- package/config/gni/devtools_grd_files.gni +2 -10
- package/front_end/Images/whatsnew.avif +0 -0
- package/front_end/Tests.js +0 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +25 -0
- package/front_end/core/platform/string-utilities.ts +23 -0
- package/front_end/core/sdk/DOMModel.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +1 -0
- package/front_end/entrypoints/devtools_app/devtools_app.json +0 -5
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +0 -3
- package/front_end/entrypoints/lighthouse_worker/LighthouseService.ts +3 -1
- package/front_end/entrypoints/main/MainImpl.ts +15 -0
- package/front_end/entrypoints/node_app/node_app-meta.ts +0 -3
- package/front_end/entrypoints/node_app/node_app.js +3 -0
- package/front_end/entrypoints/shell/shell.json +3 -7
- package/front_end/entrypoints/worker_app/worker_app.json +0 -2
- package/front_end/generated/InspectorBackendCommands.js +14 -5
- package/front_end/generated/SupportedCSSProperties.js +8 -4
- package/front_end/generated/protocol-mapping.d.ts +10 -0
- package/front_end/generated/protocol-proxy-api.d.ts +19 -0
- package/front_end/generated/protocol.d.ts +56 -1
- package/front_end/legacy_test_runner/test_runner/test_runner.js +2 -4
- package/front_end/models/issues_manager/DeprecationIssue.ts +67 -0
- package/front_end/models/issues_manager/IssuesManager.ts +5 -0
- package/front_end/models/issues_manager/descriptions/deprecation.md +3 -0
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +8 -1
- package/front_end/panels/accessibility/accessibility-meta.ts +0 -3
- package/front_end/panels/application/components/ReportsGrid.ts +38 -4
- package/front_end/panels/application/components/reportingApiGrid.css +4 -0
- package/front_end/panels/application/module.json +1 -3
- package/front_end/panels/browser_debugger/browser_debugger-meta.ts +0 -5
- package/front_end/panels/console/console-meta.ts +1 -3
- package/front_end/panels/coverage/coverage-meta.ts +0 -3
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +18 -17
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +31 -10
- package/front_end/panels/css_overview/css_overview-meta.ts +0 -3
- package/front_end/panels/elements/StylePropertyTreeElement.ts +3 -0
- package/front_end/panels/elements/elements-meta.ts +0 -2
- package/front_end/panels/elements/stylesSidebarPane.css +8 -0
- package/front_end/panels/event_listeners/EventListenersView.ts +2 -0
- package/front_end/panels/help/ReleaseNoteText.ts +28 -0
- package/front_end/panels/issues/issuesTree.css +11 -0
- package/front_end/panels/lighthouse/module.json +0 -1
- package/front_end/panels/media/module.json +0 -1
- package/front_end/panels/network/module.json +0 -1
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +3 -0
- package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +0 -2
- package/front_end/panels/sources/JavaScriptBreakpointsSidebarPane.ts +14 -17
- package/front_end/panels/sources/javaScriptBreakpointsSidebarPane.css +18 -44
- package/front_end/panels/sources/sources-meta.ts +0 -2
- package/front_end/panels/timeline/module.json +0 -1
- package/front_end/third_party/puppeteer/package/CHANGELOG.md +29 -0
- package/front_end/third_party/puppeteer/package/README.md +12 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +13 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +25 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +6 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js +16 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +9 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +8 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +21 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +155 -72
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +32 -29
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +14 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +3 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +13 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +2 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +33 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +92 -46
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts +21 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +14 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +11 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +30 -15
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +9 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +22 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js +6 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +21 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +150 -68
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +22 -19
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +15 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +2 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +1 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +33 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +69 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts +21 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js +26 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js +27 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +3862 -3771
- package/front_end/third_party/puppeteer/package/package.json +33 -40
- package/front_end/ui/components/data_grid/DataGrid.ts +3 -1
- package/front_end/ui/components/data_grid/DataGridUtils.ts +8 -5
- package/front_end/ui/components/data_grid/dataGrid.css +0 -5
- package/front_end/ui/components/icon_button/iconButton.css +1 -0
- package/front_end/ui/components/settings/settingCheckbox.css +1 -1
- package/front_end/ui/legacy/ContextMenu.ts +5 -2
- package/front_end/ui/legacy/ListWidget.ts +2 -4
- package/front_end/ui/legacy/SoftContextMenu.ts +4 -1
- package/front_end/ui/legacy/XLink.ts +6 -6
- package/front_end/ui/legacy/checkboxTextLabel.css +1 -1
- package/front_end/ui/legacy/components/perf_ui/module.json +1 -3
- package/front_end/ui/legacy/components/source_frame/module.json +0 -1
- package/front_end/ui/legacy/inspectorCommon.css +1 -1
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +1 -1
- package/front_end/ui/legacy/inspectorSyntaxHighlightDark.css +1 -1
- package/front_end/ui/legacy/softContextMenu.css +10 -0
- package/front_end/ui/legacy/tabbedPane.css +5 -0
- package/front_end/ui/legacy/themeColors.css +1 -0
- package/front_end/ui/legacy/treeoutline.css +16 -0
- package/front_end/ui/legacy/viewContainers.css +6 -1
- package/package.json +1 -1
- package/scripts/build/ninja/copy-file.js +10 -1
- package/scripts/build/ninja/copy-files.js +10 -1
- package/scripts/eslint_rules/lib/check_test_definitions.js +2 -1
- package/scripts/eslint_rules/tests/check_test_definitions_test.js +34 -0
- package/scripts/eslint_rules/tests/migrate_create_shadow_root_with_styles_test.js +1 -1
- package/scripts/eslint_rules/tests/migrate_register_required_css_test.js +1 -1
- package/front_end/entrypoints/inspector_main/module.json +0 -9
- package/front_end/panels/accessibility/module.json +0 -7
- package/front_end/panels/browser_debugger/module.json +0 -7
- package/front_end/panels/console/module.json +0 -6
- package/front_end/panels/coverage/module.json +0 -6
- package/front_end/panels/css_overview/module.json +0 -4
- package/front_end/panels/elements/module.json +0 -6
- package/front_end/panels/protocol_monitor/module.json +0 -6
- package/front_end/panels/sources/module.json +0 -7
|
@@ -37,6 +37,7 @@ import { PuppeteerLifeCycleEvent } from './LifecycleWatcher.js';
|
|
|
37
37
|
import { Protocol } from 'devtools-protocol';
|
|
38
38
|
import { SerializableOrJSHandle, EvaluateHandleFn, WrapElementHandle, EvaluateFn, EvaluateFnReturnType, UnwrapPromiseLike } from './EvalTypes.js';
|
|
39
39
|
import { PDFOptions } from './PDFOptions.js';
|
|
40
|
+
import { TaskQueue } from './TaskQueue.js';
|
|
40
41
|
/**
|
|
41
42
|
* @public
|
|
42
43
|
*/
|
|
@@ -385,7 +386,7 @@ export declare class Page extends EventEmitter {
|
|
|
385
386
|
/**
|
|
386
387
|
* @internal
|
|
387
388
|
*/
|
|
388
|
-
static create(client: CDPSession, target: Target, ignoreHTTPSErrors: boolean, defaultViewport: Viewport | null): Promise<Page>;
|
|
389
|
+
static create(client: CDPSession, target: Target, ignoreHTTPSErrors: boolean, defaultViewport: Viewport | null, screenshotTaskQueue: TaskQueue): Promise<Page>;
|
|
389
390
|
private _closed;
|
|
390
391
|
private _client;
|
|
391
392
|
private _target;
|
|
@@ -406,10 +407,11 @@ export declare class Page extends EventEmitter {
|
|
|
406
407
|
private _fileChooserInterceptors;
|
|
407
408
|
private _disconnectPromise?;
|
|
408
409
|
private _userDragInterceptionEnabled;
|
|
410
|
+
private _handlerMap;
|
|
409
411
|
/**
|
|
410
412
|
* @internal
|
|
411
413
|
*/
|
|
412
|
-
constructor(client: CDPSession, target: Target, ignoreHTTPSErrors: boolean);
|
|
414
|
+
constructor(client: CDPSession, target: Target, ignoreHTTPSErrors: boolean, screenshotTaskQueue: TaskQueue);
|
|
413
415
|
private _initialize;
|
|
414
416
|
private _onFileChooser;
|
|
415
417
|
/**
|
|
@@ -425,6 +427,7 @@ export declare class Page extends EventEmitter {
|
|
|
425
427
|
*/
|
|
426
428
|
on<K extends keyof PageEventObject>(eventName: K, handler: (event: PageEventObject[K]) => void): EventEmitter;
|
|
427
429
|
once<K extends keyof PageEventObject>(eventName: K, handler: (event: PageEventObject[K]) => void): EventEmitter;
|
|
430
|
+
off<K extends keyof PageEventObject>(eventName: K, handler: (event: PageEventObject[K]) => void): EventEmitter;
|
|
428
431
|
/**
|
|
429
432
|
* This method is typically coupled with an action that triggers file
|
|
430
433
|
* choosing. The following example clicks a button that issues a file chooser
|
|
@@ -922,7 +925,9 @@ export declare class Page extends EventEmitter {
|
|
|
922
925
|
* })();
|
|
923
926
|
* ```
|
|
924
927
|
*/
|
|
925
|
-
exposeFunction(name: string, puppeteerFunction: Function
|
|
928
|
+
exposeFunction(name: string, puppeteerFunction: Function | {
|
|
929
|
+
default: Function;
|
|
930
|
+
}): Promise<void>;
|
|
926
931
|
/**
|
|
927
932
|
* Provide credentials for `HTTP authentication`.
|
|
928
933
|
* @remarks To disable authentication, pass `null`.
|
|
@@ -1209,6 +1214,26 @@ export declare class Page extends EventEmitter {
|
|
|
1209
1214
|
idleTime?: number;
|
|
1210
1215
|
timeout?: number;
|
|
1211
1216
|
}): Promise<void>;
|
|
1217
|
+
/**
|
|
1218
|
+
* @param urlOrPredicate - A URL or predicate to wait for.
|
|
1219
|
+
* @param options - Optional waiting parameters
|
|
1220
|
+
* @returns Promise which resolves to the matched frame.
|
|
1221
|
+
* @example
|
|
1222
|
+
* ```js
|
|
1223
|
+
* const frame = await page.waitForFrame(async (frame) => {
|
|
1224
|
+
* return frame.name() === 'Test';
|
|
1225
|
+
* });
|
|
1226
|
+
* ```
|
|
1227
|
+
* @remarks
|
|
1228
|
+
* Optional Parameter have:
|
|
1229
|
+
*
|
|
1230
|
+
* - `timeout`: Maximum wait time in milliseconds, defaults to `30` seconds,
|
|
1231
|
+
* pass `0` to disable the timeout. The default value can be changed by using
|
|
1232
|
+
* the {@link Page.setDefaultTimeout} method.
|
|
1233
|
+
*/
|
|
1234
|
+
waitForFrame(urlOrPredicate: string | ((frame: Frame) => boolean | Promise<boolean>), options?: {
|
|
1235
|
+
timeout?: number;
|
|
1236
|
+
}): Promise<Frame>;
|
|
1212
1237
|
/**
|
|
1213
1238
|
* This method navigate to the previous page in history.
|
|
1214
1239
|
* @param options - Navigation parameters
|
|
@@ -1341,6 +1366,10 @@ export declare class Page extends EventEmitter {
|
|
|
1341
1366
|
* ```
|
|
1342
1367
|
*/
|
|
1343
1368
|
emulateMediaType(type?: string): Promise<void>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Enables CPU throttling to emulate slow CPUs.
|
|
1371
|
+
* @param factor - slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
|
|
1372
|
+
*/
|
|
1344
1373
|
emulateCPUThrottling(factor: number | null): Promise<void>;
|
|
1345
1374
|
/**
|
|
1346
1375
|
* @param features - `<?Array<Object>>` Given an array of media feature
|
|
@@ -1638,7 +1667,7 @@ export declare class Page extends EventEmitter {
|
|
|
1638
1667
|
* @returns Promise which resolves to buffer or a base64 string (depending on
|
|
1639
1668
|
* the value of `encoding`) with captured screenshot.
|
|
1640
1669
|
*/
|
|
1641
|
-
screenshot(options?: ScreenshotOptions): Promise<Buffer | string
|
|
1670
|
+
screenshot(options?: ScreenshotOptions): Promise<Buffer | string>;
|
|
1642
1671
|
private _screenshotTask;
|
|
1643
1672
|
/**
|
|
1644
1673
|
* Generatees a PDF of the page with the `print` CSS media type.
|
|
@@ -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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N,GAAG,IAAI,EAAE,sBAAsB,EAAE,GAChC,OAAO,CAAC,QAAQ,CAAC;IAQpB;;;;;;;;;;;;;;;;;;OAkBG;IACH,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAInD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE;QACP,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KACb,GACL,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAIhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,YAAY,CACV,KAAK,EAAE,MAAM,EACb,OAAO,GAAE;QACP,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KACb,GACL,OAAO,CAAC,aAAa,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' &&
|
|
@@ -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
|
|
@@ -762,8 +763,8 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
762
763
|
const item = Object.assign({}, cookie);
|
|
763
764
|
if (!item.url && startsWithHTTP)
|
|
764
765
|
item.url = pageURL;
|
|
765
|
-
assert_js_1.assert(item.url !== 'about:blank', `Blank page can not have cookie "${item.name}"`);
|
|
766
|
-
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}"`);
|
|
767
768
|
return item;
|
|
768
769
|
});
|
|
769
770
|
await this.deleteCookie(...items);
|
|
@@ -851,7 +852,17 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
851
852
|
async exposeFunction(name, puppeteerFunction) {
|
|
852
853
|
if (this._pageBindings.has(name))
|
|
853
854
|
throw new Error(`Failed to add page binding with name ${name}: window['${name}'] already exists!`);
|
|
854
|
-
|
|
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);
|
|
855
866
|
const expression = helper_js_1.helper.pageBindingInitString('exposedFun', name);
|
|
856
867
|
await this._client.send('Runtime.addBinding', { name: name });
|
|
857
868
|
await this._client.send('Page.addScriptToEvaluateOnNewDocument', {
|
|
@@ -965,8 +976,8 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
965
976
|
// @see https://github.com/puppeteer/puppeteer/issues/3865
|
|
966
977
|
return;
|
|
967
978
|
}
|
|
968
|
-
const context = this._frameManager.executionContextById(event.executionContextId);
|
|
969
|
-
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));
|
|
970
981
|
this._addConsoleMessage(event.type, values, event.stackTrace);
|
|
971
982
|
}
|
|
972
983
|
async _onBindingCalled(event) {
|
|
@@ -1037,7 +1048,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1037
1048
|
if (validDialogTypes.has(event.type)) {
|
|
1038
1049
|
dialogType = event.type;
|
|
1039
1050
|
}
|
|
1040
|
-
assert_js_1.assert(dialogType, 'Unknown javascript dialog type: ' + event.type);
|
|
1051
|
+
(0, assert_js_1.assert)(dialogType, 'Unknown javascript dialog type: ' + event.type);
|
|
1041
1052
|
const dialog = new Dialog_js_1.Dialog(this._client, dialogType, event.message, event.defaultPrompt);
|
|
1042
1053
|
this.emit("dialog" /* Dialog */, dialog);
|
|
1043
1054
|
}
|
|
@@ -1340,6 +1351,37 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1340
1351
|
throw error;
|
|
1341
1352
|
});
|
|
1342
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
|
+
}
|
|
1343
1385
|
/**
|
|
1344
1386
|
* This method navigate to the previous page in history.
|
|
1345
1387
|
* @param options - Navigation parameters
|
|
@@ -1499,13 +1541,17 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1499
1541
|
* ```
|
|
1500
1542
|
*/
|
|
1501
1543
|
async emulateMediaType(type) {
|
|
1502
|
-
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);
|
|
1503
1545
|
await this._client.send('Emulation.setEmulatedMedia', {
|
|
1504
1546
|
media: type || '',
|
|
1505
1547
|
});
|
|
1506
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
|
+
*/
|
|
1507
1553
|
async emulateCPUThrottling(factor) {
|
|
1508
|
-
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');
|
|
1509
1555
|
await this._client.send('Emulation.setCPUThrottlingRate', {
|
|
1510
1556
|
rate: factor !== null ? factor : 1,
|
|
1511
1557
|
});
|
|
@@ -1568,7 +1614,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1568
1614
|
if (Array.isArray(features)) {
|
|
1569
1615
|
features.every((mediaFeature) => {
|
|
1570
1616
|
const name = mediaFeature.name;
|
|
1571
|
-
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);
|
|
1572
1618
|
return true;
|
|
1573
1619
|
});
|
|
1574
1620
|
await this._client.send('Emulation.setEmulatedMedia', {
|
|
@@ -1660,7 +1706,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1660
1706
|
'tritanopia',
|
|
1661
1707
|
]);
|
|
1662
1708
|
try {
|
|
1663
|
-
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}`);
|
|
1664
1710
|
await this._client.send('Emulation.setEmulatedVisionDeficiency', {
|
|
1665
1711
|
type: type || 'none',
|
|
1666
1712
|
});
|
|
@@ -1879,7 +1925,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1879
1925
|
if (options.type) {
|
|
1880
1926
|
const type = options.type;
|
|
1881
1927
|
if (type !== 'png' && type !== 'jpeg' && type !== 'webp') {
|
|
1882
|
-
assert_js_1.assertNever(type, 'Unknown options.type value: ' + type);
|
|
1928
|
+
(0, assert_js_1.assertNever)(type, 'Unknown options.type value: ' + type);
|
|
1883
1929
|
}
|
|
1884
1930
|
screenshotType = options.type;
|
|
1885
1931
|
}
|
|
@@ -1894,32 +1940,32 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
1894
1940
|
screenshotType = 'jpeg';
|
|
1895
1941
|
else if (extension === 'webp')
|
|
1896
1942
|
screenshotType = 'webp';
|
|
1897
|
-
assert_js_1.assert(screenshotType, `Unsupported screenshot type for extension \`.${extension}\``);
|
|
1943
|
+
(0, assert_js_1.assert)(screenshotType, `Unsupported screenshot type for extension \`.${extension}\``);
|
|
1898
1944
|
}
|
|
1899
1945
|
if (!screenshotType)
|
|
1900
1946
|
screenshotType = 'png';
|
|
1901
1947
|
if (options.quality) {
|
|
1902
|
-
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 ' +
|
|
1903
1949
|
screenshotType +
|
|
1904
1950
|
' screenshots');
|
|
1905
|
-
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 ' +
|
|
1906
1952
|
typeof options.quality);
|
|
1907
|
-
assert_js_1.assert(Number.isInteger(options.quality), 'Expected options.quality to be an integer');
|
|
1908
|
-
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 ' +
|
|
1909
1955
|
options.quality);
|
|
1910
1956
|
}
|
|
1911
|
-
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');
|
|
1912
1958
|
if (options.clip) {
|
|
1913
|
-
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 ' +
|
|
1914
1960
|
typeof options.clip.x);
|
|
1915
|
-
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 ' +
|
|
1916
1962
|
typeof options.clip.y);
|
|
1917
|
-
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 ' +
|
|
1918
1964
|
typeof options.clip.width);
|
|
1919
|
-
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 ' +
|
|
1920
1966
|
typeof options.clip.height);
|
|
1921
|
-
assert_js_1.assert(options.clip.width !== 0, 'Expected options.clip.width not to be 0.');
|
|
1922
|
-
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.');
|
|
1923
1969
|
}
|
|
1924
1970
|
return this._screenshotTaskQueue.postTask(() => this._screenshotTask(screenshotType, options));
|
|
1925
1971
|
}
|
|
@@ -2009,7 +2055,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
2009
2055
|
let paperHeight = 11;
|
|
2010
2056
|
if (options.format) {
|
|
2011
2057
|
const format = PDFOptions_js_1.paperFormats[options.format.toLowerCase()];
|
|
2012
|
-
assert_js_1.assert(format, 'Unknown paper format: ' + options.format);
|
|
2058
|
+
(0, assert_js_1.assert)(format, 'Unknown paper format: ' + options.format);
|
|
2013
2059
|
paperWidth = format.width;
|
|
2014
2060
|
paperHeight = format.height;
|
|
2015
2061
|
}
|
|
@@ -2066,7 +2112,7 @@ class Page extends EventEmitter_js_1.EventEmitter {
|
|
|
2066
2112
|
return this.mainFrame().title();
|
|
2067
2113
|
}
|
|
2068
2114
|
async close(options = { runBeforeUnload: undefined }) {
|
|
2069
|
-
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.');
|
|
2070
2116
|
const runBeforeUnload = !!options.runBeforeUnload;
|
|
2071
2117
|
if (runBeforeUnload) {
|
|
2072
2118
|
await this._client.send('Page.close');
|
|
@@ -2477,7 +2523,7 @@ function convertPrintParameterToInches(parameter) {
|
|
|
2477
2523
|
valueText = text;
|
|
2478
2524
|
}
|
|
2479
2525
|
const value = Number(valueText);
|
|
2480
|
-
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);
|
|
2481
2527
|
pixels = value * unitToPixels[unit];
|
|
2482
2528
|
}
|
|
2483
2529
|
else {
|