chrome-devtools-frontend 1.0.1550444 → 1.0.1555174
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/docs/styleguide/ux/components.md +34 -8
- package/eslint.config.mjs +7 -0
- package/front_end/Images/generate-css-vars.js +8 -4
- package/front_end/Images/src/spark.svg +10 -0
- package/front_end/core/common/Settings.ts +20 -8
- package/front_end/core/host/UserMetrics.ts +3 -1
- package/front_end/core/i18n/collect-ui-strings.js +19 -10
- package/front_end/core/i18n/generate-locales-js.js +4 -4
- package/front_end/core/protocol_client/CDPConnection.ts +1 -0
- package/front_end/core/protocol_client/InspectorBackend.ts +5 -1
- package/front_end/core/root/Runtime.ts +0 -12
- package/front_end/core/sdk/DOMModel.ts +38 -3
- package/front_end/core/sdk/DebuggerModel.ts +9 -4
- package/front_end/core/sdk/IsolateManager.ts +7 -0
- package/front_end/core/sdk/PageResourceLoader.ts +3 -3
- package/front_end/core/sdk/RehydratingConnection.ts +5 -2
- package/front_end/core/sdk/ResourceTreeModel.ts +0 -1
- package/front_end/entrypoints/main/MainImpl.ts +28 -10
- package/front_end/generated/SupportedCSSProperties.js +32 -0
- package/front_end/models/ai_assistance/AiConversation.ts +94 -4
- package/front_end/models/ai_assistance/agents/AiAgent.ts +30 -15
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +179 -41
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +5 -0
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +62 -0
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +2 -1
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +1 -7
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +124 -12
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +125 -30
- package/front_end/models/ai_assistance/performance/AICallTree.ts +42 -0
- package/front_end/models/ai_code_generation/AiCodeGeneration.ts +12 -0
- package/front_end/models/issues_manager/Issue.ts +1 -0
- package/front_end/models/issues_manager/IssueAggregator.ts +9 -0
- package/front_end/models/issues_manager/IssuesManager.ts +5 -0
- package/front_end/models/issues_manager/PermissionElementIssue.ts +262 -0
- package/front_end/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
- package/front_end/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
- package/front_end/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
- package/front_end/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
- package/front_end/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
- package/front_end/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +23 -23
- package/front_end/models/stack_trace/StackTraceModel.ts +37 -18
- package/front_end/models/trace/Processor.ts +14 -15
- package/front_end/models/trace/insights/Common.ts +2 -8
- package/front_end/models/trace/insights/types.ts +12 -2
- package/front_end/models/trace/types/TraceEvents.ts +4 -1
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +28 -6
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +9 -23
- package/front_end/panels/ai_assistance/ai_assistance.ts +1 -0
- package/front_end/panels/ai_assistance/components/ChatView.ts +78 -2
- package/front_end/panels/ai_assistance/components/CollapsibleAssistanceContentWidget.ts +71 -0
- package/front_end/panels/ai_assistance/components/PerformanceAgentFlameChart.ts +126 -0
- package/front_end/panels/ai_assistance/components/PerformanceAgentMarkdownRenderer.ts +131 -2
- package/front_end/panels/ai_assistance/components/chatView.css +28 -0
- package/front_end/panels/ai_assistance/components/collapsibleAssistanceContentWidget.css +33 -0
- package/front_end/panels/application/AppManifestView.ts +1007 -521
- package/front_end/panels/application/ApplicationPanelSidebar.ts +1 -17
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +2 -6
- package/front_end/panels/application/ExtensionStorageItemsView.ts +3 -5
- package/front_end/panels/application/KeyValueStorageItemsView.ts +3 -2
- package/front_end/panels/application/components/BackForwardCacheView.ts +2 -2
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +133 -118
- package/front_end/panels/application/preloading/PreloadingView.ts +46 -45
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +80 -75
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +169 -133
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +74 -93
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +142 -117
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +51 -11
- package/front_end/panels/application/preloading/components/components.ts +0 -2
- package/front_end/panels/common/Annotation.ts +184 -0
- package/front_end/panels/common/AnnotationManager.ts +148 -11
- package/front_end/panels/common/ExtensionView.ts +47 -0
- package/front_end/panels/common/PersistenceUtils.ts +22 -25
- package/front_end/panels/common/annotation.css +40 -0
- package/front_end/panels/common/common.ts +1 -0
- package/front_end/panels/console/ConsoleInsightTeaser.ts +187 -5
- package/front_end/panels/console/ConsolePinPane.ts +437 -217
- package/front_end/panels/console/ConsolePrompt.ts +32 -223
- package/front_end/panels/console/ConsoleView.ts +67 -66
- package/front_end/panels/console/ConsoleViewMessage.ts +8 -3
- package/front_end/panels/console/consoleInsightTeaser.css +23 -0
- package/front_end/panels/console/consoleView.css +1 -1
- package/front_end/panels/elements/AdoptedStyleSheetTreeElement.ts +89 -0
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +2 -2
- package/front_end/panels/elements/ComputedStyleWidget.ts +16 -5
- package/front_end/panels/elements/ElementsPanel.ts +38 -12
- package/front_end/panels/elements/ElementsSidebarPane.ts +1 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +313 -353
- package/front_end/panels/elements/ElementsTreeOutline.ts +39 -13
- package/front_end/panels/elements/StylePropertyTreeElement.ts +15 -14
- package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
- package/front_end/panels/emulation/MediaQueryInspector.ts +171 -125
- package/front_end/panels/explain/components/ConsoleInsight.ts +175 -150
- package/front_end/panels/explain/components/consoleInsight.css +348 -347
- package/front_end/panels/issues/AffectedPermissionElementsView.ts +46 -0
- package/front_end/panels/issues/IssueView.ts +2 -0
- package/front_end/panels/issues/IssuesPane.ts +6 -0
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +165 -149
- package/front_end/panels/layer_viewer/Layers3DView.ts +131 -78
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +149 -100
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +90 -64
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +25 -34
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +60 -44
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +170 -151
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +50 -51
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterDisplay.css +0 -13
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +20 -18
- package/front_end/panels/mobile_throttling/CalibrationController.ts +3 -1
- package/front_end/panels/network/NetworkDataGridNode.ts +14 -6
- package/front_end/panels/network/NetworkItemView.ts +42 -3
- package/front_end/panels/network/NetworkLogView.ts +10 -11
- package/front_end/panels/network/NetworkPanel.ts +63 -1
- package/front_end/panels/network/RequestInitiatorView.ts +146 -113
- package/front_end/panels/network/components/RequestHeaderSection.css +51 -50
- package/front_end/panels/network/components/RequestHeaderSection.ts +81 -71
- package/front_end/panels/network/components/RequestHeadersView.css +1 -1
- package/front_end/panels/network/components/RequestHeadersView.ts +26 -11
- package/front_end/panels/network/components/RequestTrustTokensView.css +24 -14
- package/front_end/panels/network/components/RequestTrustTokensView.ts +144 -140
- package/front_end/panels/profiler/IsolateSelector.ts +2 -1
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +49 -33
- package/front_end/panels/recorder/RecorderController.ts +2 -3
- package/front_end/panels/recorder/components/ControlButton.ts +68 -34
- package/front_end/panels/recorder/components/CreateRecordingView.ts +9 -6
- package/front_end/panels/recorder/components/RecordingView.ts +81 -88
- package/front_end/panels/recorder/components/ReplaySection.ts +226 -145
- package/front_end/panels/recorder/{controllers → components}/SelectorPicker.ts +129 -52
- package/front_end/panels/recorder/components/StepEditor.ts +21 -67
- package/front_end/panels/recorder/components/StepView.ts +222 -180
- package/front_end/panels/recorder/components/TimelineSection.ts +69 -48
- package/front_end/panels/recorder/components/components.ts +2 -2
- package/front_end/panels/recorder/components/selectorPicker.css +14 -0
- package/front_end/panels/recorder/components/stepEditor.css +0 -5
- package/front_end/panels/recorder/components/stepView.css +196 -198
- package/front_end/panels/recorder/extensions/ExtensionManager.ts +4 -48
- package/front_end/panels/recorder/models/ScreenshotUtils.ts +17 -11
- package/front_end/panels/security/CookieControlsView.ts +30 -26
- package/front_end/panels/settings/components/SyncSection.ts +0 -1
- package/front_end/panels/sources/CSSPlugin.ts +3 -3
- package/front_end/panels/sources/CallStackSidebarPane.ts +60 -75
- package/front_end/panels/sources/SourcesPanel.ts +1 -11
- package/front_end/panels/sources/TabbedEditorContainer.ts +11 -8
- package/front_end/panels/sources/ThreadsSidebarPane.ts +96 -101
- package/front_end/panels/sources/threadsSidebarPane.css +6 -5
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +0 -1
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +2 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +23 -33
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +4 -3
- package/front_end/panels/timeline/TimelineFlameChartView.ts +12 -0
- package/front_end/panels/timeline/TimelinePanel.ts +3 -5
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +164 -142
- package/front_end/panels/timeline/components/InteractionBreakdown.ts +48 -28
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +18 -23
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +98 -73
- package/front_end/panels/timeline/components/Sidebar.ts +16 -7
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +174 -137
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +262 -291
- package/front_end/panels/timeline/components/Utils.ts +25 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +210 -146
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +8 -20
- package/front_end/panels/timeline/components/insights/Cache.ts +0 -9
- package/front_end/panels/timeline/components/insights/Checklist.ts +53 -43
- package/front_end/panels/timeline/components/insights/DOMSize.ts +11 -33
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +6 -12
- package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +0 -9
- package/front_end/panels/timeline/components/insights/EventRef.ts +47 -109
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +0 -9
- package/front_end/panels/timeline/components/insights/ForcedReflow.ts +0 -9
- package/front_end/panels/timeline/components/insights/INPBreakdown.ts +0 -9
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +1 -10
- package/front_end/panels/timeline/components/insights/ImageRef.ts +112 -0
- package/front_end/panels/timeline/components/insights/InsightRenderer.ts +91 -0
- package/front_end/panels/timeline/components/insights/LCPBreakdown.ts +0 -9
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +11 -14
- package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +0 -9
- package/front_end/panels/timeline/components/insights/ModernHTTP.ts +0 -9
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.ts +6 -21
- package/front_end/panels/timeline/components/insights/NodeLink.ts +68 -43
- package/front_end/panels/timeline/components/insights/README.md +2 -3
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +0 -9
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +0 -9
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +0 -9
- package/front_end/panels/timeline/components/insights/Viewport.ts +7 -19
- package/front_end/panels/timeline/components/insights/baseInsightComponent.css +5 -0
- package/front_end/panels/timeline/components/insights/insights.ts +2 -0
- package/front_end/panels/timeline/components/interactionBreakdown.css +15 -13
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +50 -48
- package/front_end/panels/timeline/enable-easter-egg.js +7 -3
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.d.ts +96 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +87 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.d.ts +2 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.js +5 -24
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.js +42 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +10 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.d.ts +27 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.js +90 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js +14 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.js +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +22 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CdpSession.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CdpSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js +4 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebWorker.js +8 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +30 -0
- 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/ConnectOptions.d.ts +15 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +2 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +5 -3
- 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/LaunchOptions.js +17 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +221 -4
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +182 -95
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.d.ts +96 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +87 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.d.ts +2 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.js +4 -22
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.js +38 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +10 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.d.ts +27 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.js +85 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js +14 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/util.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.js +26 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +22 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CdpSession.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CdpSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +2 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebWorker.js +8 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +31 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +15 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +2 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +5 -3
- 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/LaunchOptions.js +16 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +221 -4
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/BluetoothEmulation.ts +103 -0
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +96 -1
- package/front_end/third_party/puppeteer/package/src/api/DeviceRequestPrompt.ts +2 -10
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +6 -0
- package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/BluetoothEmulation.ts +52 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +15 -0
- package/front_end/third_party/puppeteer/package/src/bidi/DeviceRequestPrompt.ts +138 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +7 -3
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +10 -2
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +30 -2
- package/front_end/third_party/puppeteer/package/src/bidi/util.ts +8 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/BluetoothEmulation.ts +47 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +33 -3
- package/front_end/third_party/puppeteer/package/src/cdp/CdpSession.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +3 -8
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +2 -2
- package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +9 -4
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +13 -0
- package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +8 -3
- package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +45 -1
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +20 -0
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +5 -17
- package/front_end/third_party/puppeteer/package/src/node/LaunchOptions.ts +23 -7
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +4 -0
- package/front_end/ui/components/annotations/AnnotationRepository.ts +153 -13
- package/front_end/ui/components/settings/SettingCheckbox.ts +4 -6
- package/front_end/ui/components/snackbars/Snackbars.docs.ts +0 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionTeaserPlaceholder.ts +12 -3
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +182 -0
- package/front_end/ui/components/text_editor/text_editor.ts +1 -0
- package/front_end/ui/helpers/OpenInNewTab.ts +5 -1
- package/front_end/ui/i18n/i18n.ts +9 -9
- package/front_end/ui/kit/icons/Icon.docs.ts +22 -65
- package/front_end/ui/kit/kit.ts +1 -0
- package/front_end/ui/kit/link/Link.docs.ts +15 -0
- package/front_end/ui/kit/link/Link.ts +151 -0
- package/front_end/ui/kit/link/link.css +27 -0
- package/front_end/ui/legacy/EmptyWidget.ts +6 -0
- package/front_end/ui/legacy/Floaty.ts +442 -0
- package/front_end/ui/legacy/InspectorView.ts +12 -0
- package/front_end/ui/legacy/ReportView.ts +1 -1
- package/front_end/ui/legacy/SelectMenu.docs.ts +0 -1
- package/front_end/ui/legacy/TabbedPane.ts +150 -65
- package/front_end/ui/legacy/Widget.ts +1 -3
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +36 -36
- package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +22 -37
- package/front_end/ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.ts +31 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +2 -2
- package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -11
- package/front_end/ui/legacy/floaty.css +77 -0
- package/front_end/ui/legacy/legacy.ts +2 -0
- package/front_end/ui/legacy/tabbedPane.css +4 -7
- package/front_end/ui/visual_logging/KnownContextValues.ts +7 -0
- package/inspector_overlay/loadCSS.rollup.js +5 -4
- package/package.json +2 -2
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +0 -99
- package/front_end/panels/recorder/components/SelectButton.ts +0 -304
- package/front_end/panels/recorder/controllers/controllers.ts +0 -7
- package/front_end/ui/components/chrome_link/ChromeLink.ts +0 -76
- package/front_end/ui/components/chrome_link/chromeLink.css +0 -12
- package/front_end/ui/components/chrome_link/chrome_link.ts +0 -9
- /package/front_end/panels/recorder/components/{selectButton.css → replaySection.css} +0 -0
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ export interface SupportedWebDriverCapabilities {
|
|
|
25
25
|
firstMatch?: SupportedWebDriverCapability[];
|
|
26
26
|
alwaysMatch?: SupportedWebDriverCapability;
|
|
27
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ChromeReleaseChannel = 'chrome' | 'chrome-beta' | 'chrome-canary' | 'chrome-dev';
|
|
28
32
|
/**
|
|
29
33
|
* Generic browser options that can be passed when launching any browser or when
|
|
30
34
|
* connecting to an existing browser instance.
|
|
@@ -36,6 +40,17 @@ export interface ConnectOptions {
|
|
|
36
40
|
* @defaultValue `false`
|
|
37
41
|
*/
|
|
38
42
|
acceptInsecureCerts?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* If specified, puppeteer looks for an open WebSocket at the well-known
|
|
45
|
+
* default user data directory for the specified channel and attempts to
|
|
46
|
+
* connect to it using ws://localhost:$ActivePort/devtools/browser. Only works
|
|
47
|
+
* for Chrome and when run in Node.js.
|
|
48
|
+
*
|
|
49
|
+
* This option is experimental when used with puppeteer.connect().
|
|
50
|
+
*
|
|
51
|
+
* @experimental
|
|
52
|
+
*/
|
|
53
|
+
channel?: ChromeReleaseChannel;
|
|
39
54
|
/**
|
|
40
55
|
* Experimental setting to disable monitoring network events by default. When
|
|
41
56
|
* set to `false`, parts of Puppeteer that depend on network events would not
|
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectOptions.d.ts","sourceRoot":"","sources":["../../../../src/common/ConnectOptions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAErD,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,eAAe,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAChD,OAAO,CAAC,iBAAiB,EACzB,yBAAyB,GAAG,qBAAqB,CAClD,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,UAAU,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAC5C,WAAW,CAAC,EAAE,4BAA4B,CAAC;CAC5C;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;I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CAAC,EAAE,MAAM,MAAM,CAAC;IAE3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEjC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,8BAA8B,CAAC;CAC/C"}
|
|
@@ -31,7 +31,7 @@ declare const PuppeteerUtil: Readonly<{
|
|
|
31
31
|
pierceQuerySelector: (root: Node, selector: string) => Element | null;
|
|
32
32
|
pierceQuerySelectorAll: (element: Node, selector: string) => Element[];
|
|
33
33
|
customQuerySelectors: {
|
|
34
|
-
"__#
|
|
34
|
+
"__#60017@#selectors": Map<string, CustomQuerySelectors.CustomQuerySelector>;
|
|
35
35
|
register(name: string, handler: import("../index.js").CustomQueryHandler): void;
|
|
36
36
|
unregister(name: string): void;
|
|
37
37
|
get(name: string): CustomQuerySelectors.CustomQuerySelector | undefined;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { Browser } from '../api/Browser.js';
|
|
7
7
|
import { BrowserLauncher, type ResolvedLaunchArgs } from './BrowserLauncher.js';
|
|
8
|
-
import type
|
|
8
|
+
import { type ChromeReleaseChannel, type LaunchOptions } from './LaunchOptions.js';
|
|
9
9
|
import type { PuppeteerNode } from './PuppeteerNode.js';
|
|
10
10
|
/**
|
|
11
11
|
* @internal
|
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChromeLauncher.d.ts","sourceRoot":"","sources":["../../../../src/node/ChromeLauncher.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"ChromeLauncher.d.ts","sourceRoot":"","sources":["../../../../src/node/ChromeLauncher.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAI/C,OAAO,EAAC,eAAe,EAAE,KAAK,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAGtD;;GAEG;AACH,qBAAa,cAAe,SAAQ,eAAe;gBACrC,SAAS,EAAE,aAAa;IAI3B,MAAM,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;IAwB9D;;OAEG;IACY,sBAAsB,CACnC,OAAO,GAAE,aAAkB,GAC1B,OAAO,CAAC,kBAAkB,CAAC;IA4E9B;;OAEG;IACY,gBAAgB,CAC7B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;QAAC,MAAM,EAAE,OAAO,CAAA;KAAC,GACtB,OAAO,CAAC,IAAI,CAAC;IAWP,WAAW,CAAC,OAAO,GAAE,aAAkB,GAAG,MAAM,EAAE;IAqHlD,cAAc,CACrB,OAAO,CAAC,EAAE,oBAAoB,EAC9B,YAAY,UAAO,GAClB,MAAM;CAUV;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,MAAM,EAAO,GAAG,MAAM,EAAE,CAW1E;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAW3E"}
|
|
@@ -18,6 +18,7 @@ const browsers_1 = require("@puppeteer/browsers");
|
|
|
18
18
|
const util_js_1 = require("../common/util.js");
|
|
19
19
|
const assert_js_1 = require("../util/assert.js");
|
|
20
20
|
const BrowserLauncher_js_1 = require("./BrowserLauncher.js");
|
|
21
|
+
const LaunchOptions_js_1 = require("./LaunchOptions.js");
|
|
21
22
|
const fs_js_1 = require("./util/fs.js");
|
|
22
23
|
/**
|
|
23
24
|
* @internal
|
|
@@ -209,7 +210,7 @@ class ChromeLauncher extends BrowserLauncher_js_1.BrowserLauncher {
|
|
|
209
210
|
if (channel) {
|
|
210
211
|
return (0, browsers_1.computeSystemExecutablePath)({
|
|
211
212
|
browser: browsers_1.Browser.CHROME,
|
|
212
|
-
channel: convertPuppeteerChannelToBrowsersChannel(channel),
|
|
213
|
+
channel: (0, LaunchOptions_js_1.convertPuppeteerChannelToBrowsersChannel)(channel),
|
|
213
214
|
});
|
|
214
215
|
}
|
|
215
216
|
else {
|
|
@@ -218,18 +219,6 @@ class ChromeLauncher extends BrowserLauncher_js_1.BrowserLauncher {
|
|
|
218
219
|
}
|
|
219
220
|
}
|
|
220
221
|
exports.ChromeLauncher = ChromeLauncher;
|
|
221
|
-
function convertPuppeteerChannelToBrowsersChannel(channel) {
|
|
222
|
-
switch (channel) {
|
|
223
|
-
case 'chrome':
|
|
224
|
-
return browsers_1.ChromeReleaseChannel.STABLE;
|
|
225
|
-
case 'chrome-dev':
|
|
226
|
-
return browsers_1.ChromeReleaseChannel.DEV;
|
|
227
|
-
case 'chrome-beta':
|
|
228
|
-
return browsers_1.ChromeReleaseChannel.BETA;
|
|
229
|
-
case 'chrome-canary':
|
|
230
|
-
return browsers_1.ChromeReleaseChannel.CANARY;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
222
|
/**
|
|
234
223
|
* Extracts all features from the given command-line flag
|
|
235
224
|
* (e.g. `--enable-features`, `--enable-features=`).
|
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChromeLauncher.js","sourceRoot":"","sources":["../../../../src/node/ChromeLauncher.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;
|
|
1
|
+
{"version":3,"file":"ChromeLauncher.js","sourceRoot":"","sources":["../../../../src/node/ChromeLauncher.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AA0SH,kCAWC;AAQD,kDAWC;AAtUD,+CAAyC;AACz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IAAI,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,EAAE,CAAC;YAC1B,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,CAAC,EAAE,CAAC;QACN,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* Copyright 2020 Google Inc.
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import
|
|
6
|
+
import { ChromeReleaseChannel as BrowsersChromeReleaseChannel } from '@puppeteer/browsers';
|
|
7
|
+
import type { ChromeReleaseChannel, ConnectOptions } from '../common/ConnectOptions.js';
|
|
7
8
|
import type { SupportedBrowser } from '../common/SupportedBrowser.js';
|
|
9
|
+
export type { ChromeReleaseChannel };
|
|
8
10
|
/**
|
|
9
|
-
* @
|
|
11
|
+
* @internal
|
|
10
12
|
*/
|
|
11
|
-
export
|
|
13
|
+
export declare function convertPuppeteerChannelToBrowsersChannel(channel: ChromeReleaseChannel): BrowsersChromeReleaseChannel;
|
|
12
14
|
/**
|
|
13
15
|
* Generic launch options that can be passed when launching any browser.
|
|
14
16
|
* @public
|
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LaunchOptions.d.ts","sourceRoot":"","sources":["../../../../src/node/LaunchOptions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"LaunchOptions.d.ts","sourceRoot":"","sources":["../../../../src/node/LaunchOptions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,oBAAoB,IAAI,4BAA4B,EAAC,MAAM,qBAAqB,CAAC;AAEzF,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EACf,MAAM,6BAA6B,CAAC;AAC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AO,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB"}
|
|
@@ -5,4 +5,21 @@
|
|
|
5
5
|
* SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.convertPuppeteerChannelToBrowsersChannel = convertPuppeteerChannelToBrowsersChannel;
|
|
9
|
+
const browsers_1 = require("@puppeteer/browsers");
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
function convertPuppeteerChannelToBrowsersChannel(channel) {
|
|
14
|
+
switch (channel) {
|
|
15
|
+
case 'chrome':
|
|
16
|
+
return browsers_1.ChromeReleaseChannel.STABLE;
|
|
17
|
+
case 'chrome-dev':
|
|
18
|
+
return browsers_1.ChromeReleaseChannel.DEV;
|
|
19
|
+
case 'chrome-beta':
|
|
20
|
+
return browsers_1.ChromeReleaseChannel.BETA;
|
|
21
|
+
case 'chrome-canary':
|
|
22
|
+
return browsers_1.ChromeReleaseChannel.CANARY;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
8
25
|
//# sourceMappingURL=LaunchOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LaunchOptions.js","sourceRoot":"","sources":["../../../../src/node/LaunchOptions.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
|
|
1
|
+
{"version":3,"file":"LaunchOptions.js","sourceRoot":"","sources":["../../../../src/node/LaunchOptions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAeH,4FAaC;AA1BD,kDAAyF;AAUzF;;GAEG;AACH,SAAgB,wCAAwC,CACtD,OAA6B;IAE7B,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,QAAQ;YACX,OAAO,+BAA4B,CAAC,MAAM,CAAC;QAC7C,KAAK,YAAY;YACf,OAAO,+BAA4B,CAAC,GAAG,CAAC;QAC1C,KAAK,aAAa;YAChB,OAAO,+BAA4B,CAAC,IAAI,CAAC;QAC3C,KAAK,eAAe;YAClB,OAAO,+BAA4B,CAAC,MAAM,CAAC;IAC/C,CAAC;AACH,CAAC"}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
9
|
export declare const PUPPETEER_REVISIONS: Readonly<{
|
|
10
|
-
chrome: "
|
|
11
|
-
'chrome-headless-shell': "
|
|
12
|
-
firefox: "stable_145.0.
|
|
10
|
+
chrome: "143.0.7499.40";
|
|
11
|
+
'chrome-headless-shell': "143.0.7499.40";
|
|
12
|
+
firefox: "stable_145.0.2";
|
|
13
13
|
}>;
|
|
14
14
|
//# sourceMappingURL=revisions.d.ts.map
|
|
@@ -10,8 +10,8 @@ exports.PUPPETEER_REVISIONS = void 0;
|
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
exports.PUPPETEER_REVISIONS = Object.freeze({
|
|
13
|
-
chrome: '
|
|
14
|
-
'chrome-headless-shell': '
|
|
15
|
-
firefox: 'stable_145.0.
|
|
13
|
+
chrome: '143.0.7499.40',
|
|
14
|
+
'chrome-headless-shell': '143.0.7499.40',
|
|
15
|
+
firefox: 'stable_145.0.2',
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=revisions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revisions.js","sourceRoot":"","sources":["../../../src/revisions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH;;GAEG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"revisions.js","sourceRoot":"","sources":["../../../src/revisions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH;;GAEG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,eAAe;IACvB,uBAAuB,EAAE,eAAe;IACxC,OAAO,EAAE,gBAAgB;CAC1B,CAAC,CAAC"}
|
|
@@ -6,8 +6,8 @@ export declare class Mutex {
|
|
|
6
6
|
#private;
|
|
7
7
|
static Guard: {
|
|
8
8
|
new (mutex: Mutex, onRelease?: () => void): {
|
|
9
|
-
"__#
|
|
10
|
-
"__#
|
|
9
|
+
"__#60009@#mutex": Mutex;
|
|
10
|
+
"__#60009@#onRelease"?: () => void;
|
|
11
11
|
[Symbol.dispose](): void;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.packageVersion = void 0;
|
|
9
9
|
// If moved update release-please config
|
|
10
10
|
// x-release-please-start-version
|
|
11
|
-
exports.packageVersion = '24.
|
|
11
|
+
exports.packageVersion = '24.32.0';
|
|
12
12
|
// x-release-please-end
|
|
13
13
|
//# sourceMappingURL=version.js.map
|
|
@@ -91,6 +91,33 @@ export declare interface ActionOptions {
|
|
|
91
91
|
*/
|
|
92
92
|
export declare type ActionResult = 'continue' | 'abort' | 'respond';
|
|
93
93
|
|
|
94
|
+
/**
|
|
95
|
+
* @license
|
|
96
|
+
* Copyright 2025 Google Inc.
|
|
97
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
* Emulated bluetooth adapter state.
|
|
102
|
+
*/
|
|
103
|
+
export declare type AdapterState = 'absent' | 'powered-off' | 'powered-on';
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare interface AddScreenParams {
|
|
109
|
+
left: number;
|
|
110
|
+
top: number;
|
|
111
|
+
width: number;
|
|
112
|
+
height: number;
|
|
113
|
+
workAreaInsets?: WorkAreaInsets;
|
|
114
|
+
devicePixelRatio?: number;
|
|
115
|
+
rotation?: number;
|
|
116
|
+
colorDepth?: number;
|
|
117
|
+
label?: string;
|
|
118
|
+
isInternal?: boolean;
|
|
119
|
+
}
|
|
120
|
+
|
|
94
121
|
/**
|
|
95
122
|
* @public
|
|
96
123
|
*/
|
|
@@ -127,6 +154,83 @@ export declare type AwaitablePredicate<T> = (value: T) => Awaitable<boolean>;
|
|
|
127
154
|
*/
|
|
128
155
|
export declare type AwaitedLocator<T> = T extends Locator<infer S> ? S : never;
|
|
129
156
|
|
|
157
|
+
/**
|
|
158
|
+
* Exposes the bluetooth emulation abilities.
|
|
159
|
+
*
|
|
160
|
+
* @remarks {@link https://webbluetoothcg.github.io/web-bluetooth/#simulated-bluetooth-adapter|Web Bluetooth specification}
|
|
161
|
+
* requires the emulated adapters should be isolated per top-level navigable. However,
|
|
162
|
+
* at the moment Chromium's bluetooth emulation implementation is tight to the browser
|
|
163
|
+
* context, not the page. This means the bluetooth emulation exposed from different pages
|
|
164
|
+
* of the same browser context would interfere their states.
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
*
|
|
168
|
+
* ```ts
|
|
169
|
+
* await page.bluetooth.emulateAdapter('powered-on');
|
|
170
|
+
* await page.bluetooth.simulatePreconnectedPeripheral({
|
|
171
|
+
* address: '09:09:09:09:09:09',
|
|
172
|
+
* name: 'SOME_NAME',
|
|
173
|
+
* manufacturerData: [
|
|
174
|
+
* {
|
|
175
|
+
* key: 17,
|
|
176
|
+
* data: 'AP8BAX8=',
|
|
177
|
+
* },
|
|
178
|
+
* ],
|
|
179
|
+
* knownServiceUuids: ['12345678-1234-5678-9abc-def123456789'],
|
|
180
|
+
* });
|
|
181
|
+
* await page.bluetooth.disableEmulation();
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* @experimental
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export declare interface BluetoothEmulation {
|
|
188
|
+
/**
|
|
189
|
+
* Emulate Bluetooth adapter. Required for bluetooth simulations
|
|
190
|
+
* See {@link https://webbluetoothcg.github.io/web-bluetooth/#bluetooth-simulateAdapter-command|bluetooth.simulateAdapter}.
|
|
191
|
+
*
|
|
192
|
+
* @param state - The desired bluetooth adapter state.
|
|
193
|
+
* @param leSupported - Mark if the adapter supports low-energy bluetooth.
|
|
194
|
+
*
|
|
195
|
+
* @experimental
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
emulateAdapter(state: AdapterState, leSupported?: boolean): Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Disable emulated bluetooth adapter.
|
|
201
|
+
* See {@link https://webbluetoothcg.github.io/web-bluetooth/#bluetooth-disableSimulation-command|bluetooth.disableSimulation}.
|
|
202
|
+
*
|
|
203
|
+
* @experimental
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
disableEmulation(): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* Simulated preconnected Bluetooth Peripheral.
|
|
209
|
+
* See {@link https://webbluetoothcg.github.io/web-bluetooth/#bluetooth-simulateconnectedperipheral-command|bluetooth.simulatePreconnectedPeripheral}.
|
|
210
|
+
*
|
|
211
|
+
* @param preconnectedPeripheral - The peripheral to simulate.
|
|
212
|
+
*
|
|
213
|
+
* @experimental
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
simulatePreconnectedPeripheral(preconnectedPeripheral: PreconnectedPeripheral): Promise<void>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* Represents the simulated bluetooth peripheral's manufacturer data.
|
|
222
|
+
*/
|
|
223
|
+
export declare interface BluetoothManufacturerData {
|
|
224
|
+
/**
|
|
225
|
+
* The company identifier, as defined by the {@link https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/|Bluetooth SIG}.
|
|
226
|
+
*/
|
|
227
|
+
key: number;
|
|
228
|
+
/**
|
|
229
|
+
* The manufacturer-specific data as a base64-encoded string.
|
|
230
|
+
*/
|
|
231
|
+
data: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
130
234
|
/**
|
|
131
235
|
* @public
|
|
132
236
|
*/
|
|
@@ -377,6 +481,26 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
|
|
|
377
481
|
* `--enable-unsafe-extension-debugging` flag is set.
|
|
378
482
|
*/
|
|
379
483
|
abstract uninstallExtension(id: string): Promise<void>;
|
|
484
|
+
/**
|
|
485
|
+
* Gets a list of {@link ScreenInfo | screen information objects}.
|
|
486
|
+
*/
|
|
487
|
+
abstract screens(): Promise<ScreenInfo[]>;
|
|
488
|
+
/**
|
|
489
|
+
* Adds a new screen, returns the added {@link ScreenInfo | screen information object}.
|
|
490
|
+
*
|
|
491
|
+
* @remarks
|
|
492
|
+
*
|
|
493
|
+
* Only supported in headless mode.
|
|
494
|
+
*/
|
|
495
|
+
abstract addScreen(params: AddScreenParams): Promise<ScreenInfo>;
|
|
496
|
+
/**
|
|
497
|
+
* Removes a screen.
|
|
498
|
+
*
|
|
499
|
+
* @remarks
|
|
500
|
+
*
|
|
501
|
+
* Only supported in headless mode. Fails if the primary screen id is specified.
|
|
502
|
+
*/
|
|
503
|
+
abstract removeScreen(screenId: string): Promise<void>;
|
|
380
504
|
/**
|
|
381
505
|
* Whether Puppeteer is connected to this {@link Browser | browser}.
|
|
382
506
|
*
|
|
@@ -1051,6 +1175,17 @@ export declare interface ConnectOptions {
|
|
|
1051
1175
|
* @defaultValue `false`
|
|
1052
1176
|
*/
|
|
1053
1177
|
acceptInsecureCerts?: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* If specified, puppeteer looks for an open WebSocket at the well-known
|
|
1180
|
+
* default user data directory for the specified channel and attempts to
|
|
1181
|
+
* connect to it using ws://localhost:$ActivePort/devtools/browser. Only works
|
|
1182
|
+
* for Chrome and when run in Node.js.
|
|
1183
|
+
*
|
|
1184
|
+
* This option is experimental when used with puppeteer.connect().
|
|
1185
|
+
*
|
|
1186
|
+
* @experimental
|
|
1187
|
+
*/
|
|
1188
|
+
channel?: ChromeReleaseChannel;
|
|
1054
1189
|
/**
|
|
1055
1190
|
* Experimental setting to disable monitoring network events by default. When
|
|
1056
1191
|
* set to `false`, parts of Puppeteer that depend on network events would not
|
|
@@ -1511,6 +1646,7 @@ export declare type CreatePageOptions = {
|
|
|
1511
1646
|
type: 'tab';
|
|
1512
1647
|
} | {
|
|
1513
1648
|
type: 'window';
|
|
1649
|
+
windowBounds?: WindowBounds;
|
|
1514
1650
|
};
|
|
1515
1651
|
|
|
1516
1652
|
/**
|
|
@@ -1676,7 +1812,7 @@ export declare abstract class DeviceRequestPrompt {
|
|
|
1676
1812
|
/**
|
|
1677
1813
|
* Current list of selectable devices.
|
|
1678
1814
|
*/
|
|
1679
|
-
|
|
1815
|
+
readonly devices: DeviceRequestPromptDevice[];
|
|
1680
1816
|
/**
|
|
1681
1817
|
* Resolve to the first device in the prompt matching a filter.
|
|
1682
1818
|
*/
|
|
@@ -1696,7 +1832,7 @@ export declare abstract class DeviceRequestPrompt {
|
|
|
1696
1832
|
*
|
|
1697
1833
|
* @public
|
|
1698
1834
|
*/
|
|
1699
|
-
export declare
|
|
1835
|
+
export declare interface DeviceRequestPromptDevice {
|
|
1700
1836
|
/**
|
|
1701
1837
|
* Device id during a prompt.
|
|
1702
1838
|
*/
|
|
@@ -1705,7 +1841,6 @@ export declare class DeviceRequestPromptDevice {
|
|
|
1705
1841
|
* Device name as it appears in a prompt.
|
|
1706
1842
|
*/
|
|
1707
1843
|
name: string;
|
|
1708
|
-
|
|
1709
1844
|
}
|
|
1710
1845
|
|
|
1711
1846
|
/**
|
|
@@ -6388,6 +6523,10 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
6388
6523
|
* method is only available in Chrome.
|
|
6389
6524
|
*/
|
|
6390
6525
|
abstract openDevTools(): Promise<Page>;
|
|
6526
|
+
/**
|
|
6527
|
+
* {@inheritDoc BluetoothEmulation}
|
|
6528
|
+
*/
|
|
6529
|
+
abstract get bluetooth(): BluetoothEmulation;
|
|
6391
6530
|
}
|
|
6392
6531
|
|
|
6393
6532
|
/**
|
|
@@ -6764,6 +6903,17 @@ declare namespace PQuerySelector {
|
|
|
6764
6903
|
}
|
|
6765
6904
|
}
|
|
6766
6905
|
|
|
6906
|
+
/**
|
|
6907
|
+
* @public
|
|
6908
|
+
* A bluetooth peripheral to be simulated.
|
|
6909
|
+
*/
|
|
6910
|
+
export declare interface PreconnectedPeripheral {
|
|
6911
|
+
address: string;
|
|
6912
|
+
name: string;
|
|
6913
|
+
manufacturerData: BluetoothManufacturerData[];
|
|
6914
|
+
knownServiceUuids: string[];
|
|
6915
|
+
}
|
|
6916
|
+
|
|
6767
6917
|
/**
|
|
6768
6918
|
* A list of pre-defined network conditions to be used with
|
|
6769
6919
|
* {@link Page.emulateNetworkConditions}.
|
|
@@ -6907,6 +7057,10 @@ declare namespace Puppeteer_2 {
|
|
|
6907
7057
|
export {
|
|
6908
7058
|
Protocol,
|
|
6909
7059
|
Session,
|
|
7060
|
+
AdapterState,
|
|
7061
|
+
BluetoothManufacturerData,
|
|
7062
|
+
PreconnectedPeripheral,
|
|
7063
|
+
BluetoothEmulation,
|
|
6910
7064
|
BrowserContextOptions,
|
|
6911
7065
|
TargetFilterCallback,
|
|
6912
7066
|
Permission,
|
|
@@ -6914,7 +7068,13 @@ declare namespace Puppeteer_2 {
|
|
|
6914
7068
|
BrowserEvent,
|
|
6915
7069
|
BrowserEvents,
|
|
6916
7070
|
DebugInfo,
|
|
7071
|
+
WindowState,
|
|
7072
|
+
WindowBounds,
|
|
6917
7073
|
CreatePageOptions,
|
|
7074
|
+
ScreenOrientation_2 as ScreenOrientation,
|
|
7075
|
+
ScreenInfo,
|
|
7076
|
+
WorkAreaInsets,
|
|
7077
|
+
AddScreenParams,
|
|
6918
7078
|
Browser,
|
|
6919
7079
|
BrowserContextEvent,
|
|
6920
7080
|
BrowserContextEvents,
|
|
@@ -7026,6 +7186,7 @@ declare namespace Puppeteer_2 {
|
|
|
7026
7186
|
ProtocolType,
|
|
7027
7187
|
SupportedWebDriverCapability,
|
|
7028
7188
|
SupportedWebDriverCapabilities,
|
|
7189
|
+
ChromeReleaseChannel,
|
|
7029
7190
|
ConnectOptions,
|
|
7030
7191
|
ConsoleMessageLocation,
|
|
7031
7192
|
ConsoleMessageType,
|
|
@@ -7076,7 +7237,6 @@ declare namespace Puppeteer_2 {
|
|
|
7076
7237
|
Viewport,
|
|
7077
7238
|
DownloadPolicy,
|
|
7078
7239
|
DownloadBehavior,
|
|
7079
|
-
ChromeReleaseChannel,
|
|
7080
7240
|
LaunchOptions,
|
|
7081
7241
|
BrowserLauncher,
|
|
7082
7242
|
PuppeteerNode,
|
|
@@ -7419,6 +7579,37 @@ export declare interface ScreencastOptions {
|
|
|
7419
7579
|
ffmpegPath?: string;
|
|
7420
7580
|
}
|
|
7421
7581
|
|
|
7582
|
+
/**
|
|
7583
|
+
* @public
|
|
7584
|
+
*/
|
|
7585
|
+
export declare interface ScreenInfo {
|
|
7586
|
+
left: number;
|
|
7587
|
+
top: number;
|
|
7588
|
+
width: number;
|
|
7589
|
+
height: number;
|
|
7590
|
+
availLeft: number;
|
|
7591
|
+
availTop: number;
|
|
7592
|
+
availWidth: number;
|
|
7593
|
+
availHeight: number;
|
|
7594
|
+
devicePixelRatio: number;
|
|
7595
|
+
colorDepth: number;
|
|
7596
|
+
orientation: ScreenOrientation_2;
|
|
7597
|
+
isExtended: boolean;
|
|
7598
|
+
isInternal: boolean;
|
|
7599
|
+
isPrimary: boolean;
|
|
7600
|
+
label: string;
|
|
7601
|
+
id: string;
|
|
7602
|
+
}
|
|
7603
|
+
|
|
7604
|
+
/**
|
|
7605
|
+
* @public
|
|
7606
|
+
*/
|
|
7607
|
+
declare interface ScreenOrientation_2 {
|
|
7608
|
+
angle: number;
|
|
7609
|
+
type: string;
|
|
7610
|
+
}
|
|
7611
|
+
export { ScreenOrientation_2 as ScreenOrientation }
|
|
7612
|
+
|
|
7422
7613
|
/**
|
|
7423
7614
|
* @public
|
|
7424
7615
|
*/
|
|
@@ -8141,4 +8332,30 @@ export declare abstract class WebWorker extends EventEmitter<Record<EventType, u
|
|
|
8141
8332
|
close(): Promise<void>;
|
|
8142
8333
|
}
|
|
8143
8334
|
|
|
8335
|
+
/**
|
|
8336
|
+
* @public
|
|
8337
|
+
*/
|
|
8338
|
+
export declare interface WindowBounds {
|
|
8339
|
+
left?: number;
|
|
8340
|
+
top?: number;
|
|
8341
|
+
width?: number;
|
|
8342
|
+
height?: number;
|
|
8343
|
+
windowState?: WindowState;
|
|
8344
|
+
}
|
|
8345
|
+
|
|
8346
|
+
/**
|
|
8347
|
+
* @public
|
|
8348
|
+
*/
|
|
8349
|
+
export declare type WindowState = 'normal' | 'minimized' | 'maximized' | 'fullscreen';
|
|
8350
|
+
|
|
8351
|
+
/**
|
|
8352
|
+
* @public
|
|
8353
|
+
*/
|
|
8354
|
+
export declare interface WorkAreaInsets {
|
|
8355
|
+
top?: number;
|
|
8356
|
+
left?: number;
|
|
8357
|
+
bottom?: number;
|
|
8358
|
+
right?: number;
|
|
8359
|
+
}
|
|
8360
|
+
|
|
8144
8361
|
export { }
|