chrome-devtools-frontend 1.0.1625079 → 1.0.1626437
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/front_end/core/common/VersionController.ts +9 -7
- package/front_end/core/common/common.ts +0 -4
- package/front_end/core/host/AidaClient.ts +1 -1
- package/front_end/core/host/AidaClientTypes.ts +2 -0
- package/front_end/core/host/AidaGcaTranslation.ts +2 -2
- package/front_end/core/host/Platform.ts +0 -9
- package/front_end/core/host/UserMetrics.ts +0 -55
- package/front_end/core/root/ExperimentNames.ts +0 -1
- package/front_end/core/sdk/CPUThrottlingManager.ts +1 -1
- package/front_end/core/sdk/CSSMetadata.ts +60 -63
- package/front_end/core/sdk/CSSProperty.ts +1 -5
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +11 -32
- package/front_end/{panels/application → core/sdk}/DOMStorageModel.ts +12 -10
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/entrypoints/main/MainImpl.ts +12 -8
- package/front_end/entrypoints/main/SimpleApp.ts +3 -4
- package/front_end/entrypoints/main/main-meta.ts +1 -1
- package/front_end/generated/InspectorBackendCommands.ts +3 -3
- package/front_end/generated/SupportedCSSProperties.js +21 -21
- package/front_end/generated/protocol.ts +4 -1
- package/front_end/models/ai_assistance/StorageItem.ts +16 -0
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +82 -0
- package/front_end/models/ai_assistance/ai_assistance.ts +4 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +9 -37
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +26 -3
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +10 -2
- package/front_end/models/ai_code_generation/AiCodeGeneration.ts +5 -1
- package/front_end/models/issues_manager/CookieIssue.ts +0 -4
- package/front_end/models/issues_manager/RelatedIssue.ts +0 -14
- package/front_end/models/javascript_metadata/NativeFunctions.js +0 -4
- package/front_end/models/web_mcp/WebMCPModel.ts +11 -2
- package/front_end/models/workspace/IgnoreListManager.ts +1 -1
- package/front_end/models/workspace/UISourceCode.ts +10 -5
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +6 -1
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +26 -9
- package/front_end/panels/application/ApplicationPanelSidebar.ts +32 -42
- package/front_end/panels/application/BackForwardCacheTreeElement.ts +2 -2
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +2 -2
- package/front_end/panels/application/DOMStorageItemsView.ts +18 -13
- package/front_end/panels/application/InterestGroupTreeElement.ts +2 -2
- package/front_end/panels/application/ReportingApiTreeElement.ts +3 -3
- package/front_end/panels/application/ResourcesPanel.ts +1 -2
- package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +1 -2
- package/front_end/panels/application/StorageView.ts +1 -2
- package/front_end/panels/application/TrustTokensTreeElement.ts +2 -2
- package/front_end/panels/application/WebMCPTreeElement.ts +2 -2
- package/front_end/panels/application/WebMCPView.ts +74 -16
- package/front_end/panels/application/application.ts +0 -2
- package/front_end/panels/application/webMCPView.css +13 -2
- package/front_end/panels/console/ConsolePrompt.ts +1 -1
- package/front_end/panels/console/ConsoleView.ts +3 -4
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -152
- package/front_end/panels/elements/ElementsTreeElement.ts +4 -9
- package/front_end/panels/elements/StandaloneStylesContainer.ts +3 -0
- package/front_end/panels/elements/StylePropertiesSection.ts +0 -61
- package/front_end/panels/elements/StylePropertyTreeElement.ts +36 -23
- package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +6 -4
- package/front_end/panels/elements/StylesContainer.ts +1 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +12 -7
- package/front_end/panels/elements/stylesSidebarPane.css +0 -8
- package/front_end/panels/emulation/AdvancedApp.ts +3 -3
- package/front_end/panels/emulation/DeviceModeToolbar.ts +207 -377
- package/front_end/panels/emulation/emulation-meta.ts +1 -1
- package/front_end/panels/network/NetworkPanel.ts +1 -1
- package/front_end/panels/profiler/HeapProfilerPanel.ts +1 -2
- package/front_end/panels/screencast/ScreencastApp.ts +3 -3
- package/front_end/panels/screencast/screencast-meta.ts +1 -2
- package/front_end/panels/settings/SettingsScreen.ts +2 -2
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +2 -4
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +5 -1
- package/front_end/panels/sources/SourcesNavigator.ts +1 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +1 -3
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +179 -145
- package/front_end/panels/timeline/TimelinePanel.ts +2 -2
- package/front_end/panels/timeline/timelineTreeView.css +2 -2
- 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/Page.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js +53 -23
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +3 -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 +18 -8
- 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/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
- 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 +4 -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/TargetManager.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js +54 -19
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.js +2 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +3 -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 +37 -1
- 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/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +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 +1 -0
- 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/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/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 +47 -65
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +143 -55
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js +53 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +3 -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 +18 -8
- 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/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js.map +1 -1
- 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 +4 -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/TargetManager.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js +54 -19
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.js +2 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +3 -0
- 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 +37 -1
- 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/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +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 +1 -0
- 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/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/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 +47 -65
- package/front_end/third_party/puppeteer/package/package.json +6 -6
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +2 -2
- package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +69 -27
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +27 -8
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -2
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +6 -0
- package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +60 -18
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +7 -9
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +3 -0
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +37 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +7 -2
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +1 -0
- 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/ui/components/text_editor/AiCodeCompletionProvider.ts +19 -14
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +8 -7
- package/front_end/ui/components/tooltips/Tooltip.ts +3 -3
- package/front_end/{core/common → ui/legacy}/AppProvider.ts +1 -1
- package/front_end/ui/legacy/InspectorView.ts +4 -3
- package/front_end/ui/legacy/TabbedPane.ts +1 -1
- package/front_end/ui/legacy/UIUserMetrics.ts +70 -0
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +1 -8
- package/front_end/ui/legacy/components/inline_editor/inline_editor.ts +0 -6
- package/front_end/ui/legacy/legacy.ts +6 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
- package/package.json +1 -1
- package/front_end/Images/src/custom-typography.svg +0 -3
- package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +0 -798
- package/front_end/ui/legacy/components/inline_editor/FontEditorUnitConverter.ts +0 -250
- package/front_end/ui/legacy/components/inline_editor/FontEditorUtils.ts +0 -204
- package/front_end/ui/legacy/components/inline_editor/fontEditor.css +0 -185
- /package/front_end/{core/common → ui/legacy}/App.ts +0 -0
|
@@ -37,7 +37,6 @@ import {Session} from 'webdriver-bidi-protocol';
|
|
|
37
37
|
*/
|
|
38
38
|
export declare class Accessibility {
|
|
39
39
|
#private;
|
|
40
|
-
|
|
41
40
|
/**
|
|
42
41
|
* Captures the current state of the accessibility tree.
|
|
43
42
|
* The returned object represents the root accessible node of the page.
|
|
@@ -599,7 +598,6 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
|
|
|
599
598
|
* Whether Puppeteer is connected to this {@link Browser | browser}.
|
|
600
599
|
*/
|
|
601
600
|
abstract get connected(): boolean;
|
|
602
|
-
|
|
603
601
|
/**
|
|
604
602
|
* Get debug information from Puppeteer.
|
|
605
603
|
*
|
|
@@ -611,7 +609,6 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
|
|
|
611
609
|
* @experimental
|
|
612
610
|
*/
|
|
613
611
|
abstract get debugInfo(): DebugInfo;
|
|
614
|
-
|
|
615
612
|
/**
|
|
616
613
|
* Retrieves a map of all extensions installed in the browser, where the keys
|
|
617
614
|
* are extension IDs and the values are the corresponding {@link Extension} instances.
|
|
@@ -661,13 +658,11 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
|
|
|
661
658
|
*/
|
|
662
659
|
export declare abstract class BrowserContext extends EventEmitter<BrowserContextEvents> {
|
|
663
660
|
#private;
|
|
664
|
-
|
|
665
661
|
/**
|
|
666
662
|
* Gets all active {@link Target | targets} inside this
|
|
667
663
|
* {@link BrowserContext | browser context}.
|
|
668
664
|
*/
|
|
669
665
|
abstract targets(): Target[];
|
|
670
|
-
|
|
671
666
|
/**
|
|
672
667
|
* Waits until a {@link Target | target} matching the given `predicate`
|
|
673
668
|
* appears and returns it.
|
|
@@ -921,7 +916,6 @@ export declare interface BrowserEvents extends Record<EventType, unknown> {
|
|
|
921
916
|
*/
|
|
922
917
|
export declare abstract class BrowserLauncher {
|
|
923
918
|
#private;
|
|
924
|
-
|
|
925
919
|
get browser(): SupportedBrowser;
|
|
926
920
|
launch(options?: LaunchOptions): Promise<Browser>;
|
|
927
921
|
abstract executablePath(
|
|
@@ -979,7 +973,6 @@ export declare abstract class CDPSession extends EventEmitter<CDPSessionEvents>
|
|
|
979
973
|
* @public
|
|
980
974
|
*/
|
|
981
975
|
abstract get detached(): boolean;
|
|
982
|
-
|
|
983
976
|
abstract send<T extends keyof ProtocolMapping.Commands>(
|
|
984
977
|
method: T,
|
|
985
978
|
params?: ProtocolMapping.Commands[T]['paramsType'][0],
|
|
@@ -1239,9 +1232,7 @@ export declare class Connection extends EventEmitter<CDPSessionEvents> {
|
|
|
1239
1232
|
idGenerator?: () => number,
|
|
1240
1233
|
);
|
|
1241
1234
|
static fromSession(session: CDPSession): Connection | undefined;
|
|
1242
|
-
|
|
1243
1235
|
get timeout(): number;
|
|
1244
|
-
|
|
1245
1236
|
/**
|
|
1246
1237
|
* @param sessionId - The session id
|
|
1247
1238
|
* @returns The current CDP session if it exists
|
|
@@ -1253,9 +1244,7 @@ export declare class Connection extends EventEmitter<CDPSessionEvents> {
|
|
|
1253
1244
|
params?: ProtocolMapping.Commands[T]['paramsType'][0],
|
|
1254
1245
|
options?: CommandOptions,
|
|
1255
1246
|
): Promise<ProtocolMapping.Commands[T]['returnType']>;
|
|
1256
|
-
|
|
1257
1247
|
dispose(): void;
|
|
1258
|
-
|
|
1259
1248
|
/**
|
|
1260
1249
|
* @param targetInfo - The target info
|
|
1261
1250
|
* @returns The CDP session that is created
|
|
@@ -1342,7 +1331,6 @@ export declare interface ConnectOptions {
|
|
|
1342
1331
|
* Callback to decide if Puppeteer should connect to a given target or not.
|
|
1343
1332
|
*/
|
|
1344
1333
|
targetFilter?: TargetFilterCallback;
|
|
1345
|
-
|
|
1346
1334
|
/**
|
|
1347
1335
|
* Whether to handle the DevTools windows as pages in Puppeteer. Supported
|
|
1348
1336
|
* only in Chrome with CDP.
|
|
@@ -1371,7 +1359,6 @@ export declare interface ConnectOptions {
|
|
|
1371
1359
|
browserWSEndpoint?: string;
|
|
1372
1360
|
browserURL?: string;
|
|
1373
1361
|
transport?: ConnectionTransport;
|
|
1374
|
-
|
|
1375
1362
|
/**
|
|
1376
1363
|
* Headers to use for the web socket connection.
|
|
1377
1364
|
* @remarks
|
|
@@ -1407,9 +1394,45 @@ export declare interface ConnectOptions {
|
|
|
1407
1394
|
* @remarks
|
|
1408
1395
|
* Currently only supported for CDP connections.
|
|
1409
1396
|
*
|
|
1397
|
+
* Inner `<iframe>` content loading is currently not blocked.
|
|
1398
|
+
*
|
|
1399
|
+
* Cannot be used along with {@link ConnectOptions.allowlist}.
|
|
1400
|
+
*
|
|
1401
|
+
* @experimental
|
|
1402
|
+
*/
|
|
1403
|
+
blocklist?: string[];
|
|
1404
|
+
/**
|
|
1405
|
+
* A list of URL patterns to allow.
|
|
1406
|
+
*
|
|
1407
|
+
* **Requires Chrome 149+.**
|
|
1408
|
+
*
|
|
1409
|
+
* This option allows you to restrict the browser from accessing any URLs
|
|
1410
|
+
* except for those that match the patterns in the allowList.
|
|
1411
|
+
* It uses the standard [URLPattern](https://urlpattern.spec.whatwg.org/) API to match URLs.
|
|
1412
|
+
*
|
|
1413
|
+
* When connecting to an existing browser, Puppeteer will silently detach from any
|
|
1414
|
+
* already open targets that violate the patterns.
|
|
1415
|
+
*
|
|
1416
|
+
* For any network requests made by the browser (including navigations and
|
|
1417
|
+
* subresources like images or scripts), the request will fail with an error
|
|
1418
|
+
* if the URL does not match any pattern in the allowlist.
|
|
1419
|
+
*
|
|
1420
|
+
* @example Pattern to allow a specific domain:
|
|
1421
|
+
* `*://example.com/*`
|
|
1422
|
+
*
|
|
1423
|
+
* @example Pattern to allow all subdomains:
|
|
1424
|
+
* `*://*.example.com/*`
|
|
1425
|
+
*
|
|
1426
|
+
* @remarks
|
|
1427
|
+
* Currently only supported for CDP connections.
|
|
1428
|
+
*
|
|
1429
|
+
* Inner `<iframe>` content loading is currently not blocked.
|
|
1430
|
+
*
|
|
1431
|
+
* Cannot be used along with {@link ConnectOptions.blocklist}.
|
|
1432
|
+
*
|
|
1410
1433
|
* @experimental
|
|
1411
1434
|
*/
|
|
1412
|
-
|
|
1435
|
+
allowlist?: string[];
|
|
1413
1436
|
}
|
|
1414
1437
|
|
|
1415
1438
|
/**
|
|
@@ -1418,7 +1441,6 @@ export declare interface ConnectOptions {
|
|
|
1418
1441
|
*/
|
|
1419
1442
|
export declare class ConsoleMessage {
|
|
1420
1443
|
#private;
|
|
1421
|
-
|
|
1422
1444
|
/**
|
|
1423
1445
|
* The type of the console message.
|
|
1424
1446
|
*/
|
|
@@ -1746,7 +1768,6 @@ export declare type CookieSourceScheme = 'Unset' | 'NonSecure' | 'Secure';
|
|
|
1746
1768
|
*/
|
|
1747
1769
|
export declare class Coverage {
|
|
1748
1770
|
#private;
|
|
1749
|
-
|
|
1750
1771
|
/**
|
|
1751
1772
|
* @param options - Set of configurable options for coverage defaults to
|
|
1752
1773
|
* `resetOnNavigation : true, reportAnonymousScripts : false,`
|
|
@@ -1843,7 +1864,6 @@ export declare interface Credentials {
|
|
|
1843
1864
|
export declare class CSSCoverage {
|
|
1844
1865
|
#private;
|
|
1845
1866
|
constructor(client: CDPSession);
|
|
1846
|
-
|
|
1847
1867
|
start(options?: {resetOnNavigation?: boolean}): Promise<void>;
|
|
1848
1868
|
stop(): Promise<CoverageEntry[]>;
|
|
1849
1869
|
}
|
|
@@ -2045,7 +2065,6 @@ export declare interface DeviceRequestPromptDevice {
|
|
|
2045
2065
|
*/
|
|
2046
2066
|
export declare abstract class Dialog {
|
|
2047
2067
|
#private;
|
|
2048
|
-
|
|
2049
2068
|
/**
|
|
2050
2069
|
* The type of the dialog.
|
|
2051
2070
|
*/
|
|
@@ -2059,7 +2078,6 @@ export declare abstract class Dialog {
|
|
|
2059
2078
|
* is not a `prompt`.
|
|
2060
2079
|
*/
|
|
2061
2080
|
defaultValue(): string;
|
|
2062
|
-
|
|
2063
2081
|
/**
|
|
2064
2082
|
* A promise that resolves when the dialog has been accepted.
|
|
2065
2083
|
*
|
|
@@ -2156,7 +2174,6 @@ export declare abstract class ElementHandle<
|
|
|
2156
2174
|
ElementType extends Node = Element,
|
|
2157
2175
|
> extends JSHandle<ElementType> {
|
|
2158
2176
|
#private;
|
|
2159
|
-
|
|
2160
2177
|
/**
|
|
2161
2178
|
* Frame corresponding to the current handle.
|
|
2162
2179
|
*/
|
|
@@ -2512,7 +2529,6 @@ export declare abstract class ElementHandle<
|
|
|
2512
2529
|
this: ElementHandle<HTMLInputElement>,
|
|
2513
2530
|
...paths: string[]
|
|
2514
2531
|
): Promise<void>;
|
|
2515
|
-
|
|
2516
2532
|
/**
|
|
2517
2533
|
* This method scrolls element into view if needed, and then uses
|
|
2518
2534
|
* {@link Touchscreen.tap} to tap in the center of the element.
|
|
@@ -2606,7 +2622,6 @@ export declare abstract class ElementHandle<
|
|
|
2606
2622
|
},
|
|
2607
2623
|
): Promise<string>;
|
|
2608
2624
|
screenshot(options?: Readonly<ScreenshotOptions>): Promise<Uint8Array>;
|
|
2609
|
-
|
|
2610
2625
|
/**
|
|
2611
2626
|
* Resolves to true if the element is visible in the current viewport. If an
|
|
2612
2627
|
* element is an SVG, we check if the svg owner element is in the viewport
|
|
@@ -2724,7 +2739,6 @@ export declare class EventEmitter<
|
|
|
2724
2739
|
Events extends Record<EventType, unknown>,
|
|
2725
2740
|
> implements CommonEventEmitter<EventsWithWildcard<Events>> {
|
|
2726
2741
|
#private;
|
|
2727
|
-
|
|
2728
2742
|
/**
|
|
2729
2743
|
* Bind an event listener to fire when an event occurs.
|
|
2730
2744
|
* @param type - the event type you'd like to listen to. Can be a string or symbol.
|
|
@@ -2841,7 +2855,6 @@ export declare type ExperimentsConfiguration = Record<string, never>;
|
|
|
2841
2855
|
*/
|
|
2842
2856
|
export declare abstract class Extension {
|
|
2843
2857
|
#private;
|
|
2844
|
-
|
|
2845
2858
|
/**
|
|
2846
2859
|
* Whether the extension is enabled.
|
|
2847
2860
|
*
|
|
@@ -2911,7 +2924,6 @@ export declare class ExtensionTransport implements ConnectionTransport {
|
|
|
2911
2924
|
static connectTab(tabId: number): Promise<ExtensionTransport>;
|
|
2912
2925
|
onmessage?: (message: string) => void;
|
|
2913
2926
|
onclose?: () => void;
|
|
2914
|
-
|
|
2915
2927
|
send(message: string): void;
|
|
2916
2928
|
close(): void;
|
|
2917
2929
|
}
|
|
@@ -2940,7 +2952,6 @@ export declare class ExtensionTransport implements ConnectionTransport {
|
|
|
2940
2952
|
*/
|
|
2941
2953
|
export declare class FileChooser {
|
|
2942
2954
|
#private;
|
|
2943
|
-
|
|
2944
2955
|
/**
|
|
2945
2956
|
* Whether file chooser allow for
|
|
2946
2957
|
* {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-multiple | multiple}
|
|
@@ -3076,7 +3087,6 @@ export declare type FlattenHandle<T> = T extends HandleOr<infer U> ? U : never;
|
|
|
3076
3087
|
*/
|
|
3077
3088
|
export declare abstract class Frame extends EventEmitter<FrameEvents> {
|
|
3078
3089
|
#private;
|
|
3079
|
-
|
|
3080
3090
|
/**
|
|
3081
3091
|
* The page associated with the frame.
|
|
3082
3092
|
*/
|
|
@@ -3147,7 +3157,6 @@ export declare abstract class Frame extends EventEmitter<FrameEvents> {
|
|
|
3147
3157
|
abstract waitForNavigation(
|
|
3148
3158
|
options?: WaitForOptions,
|
|
3149
3159
|
): Promise<HTTPResponse | null>;
|
|
3150
|
-
|
|
3151
3160
|
/**
|
|
3152
3161
|
* @returns The frame element associated with this frame (if any).
|
|
3153
3162
|
*/
|
|
@@ -3437,7 +3446,6 @@ export declare abstract class Frame extends EventEmitter<FrameEvents> {
|
|
|
3437
3446
|
* what point to consider the content setting successful.
|
|
3438
3447
|
*/
|
|
3439
3448
|
abstract setContent(html: string, options?: WaitForOptions): Promise<void>;
|
|
3440
|
-
|
|
3441
3449
|
/**
|
|
3442
3450
|
* The frame's `name` attribute as specified in the tag.
|
|
3443
3451
|
*
|
|
@@ -3478,7 +3486,6 @@ export declare abstract class Frame extends EventEmitter<FrameEvents> {
|
|
|
3478
3486
|
* @deprecated Use the `detached` getter.
|
|
3479
3487
|
*/
|
|
3480
3488
|
isDetached(): boolean;
|
|
3481
|
-
|
|
3482
3489
|
/**
|
|
3483
3490
|
* Adds a `<script>` tag into the page with the desired url or content.
|
|
3484
3491
|
*
|
|
@@ -3597,7 +3604,6 @@ export declare abstract class Frame extends EventEmitter<FrameEvents> {
|
|
|
3597
3604
|
* The frame's title.
|
|
3598
3605
|
*/
|
|
3599
3606
|
title(): Promise<string>;
|
|
3600
|
-
|
|
3601
3607
|
/**
|
|
3602
3608
|
* Retrieves the list of extension execution realms associated with this frame.
|
|
3603
3609
|
* Extension execution realms are created by extension content scripts injected
|
|
@@ -3795,7 +3801,6 @@ export declare abstract class HTTPRequest {
|
|
|
3795
3801
|
* @experimental
|
|
3796
3802
|
*/
|
|
3797
3803
|
abstract get client(): CDPSession;
|
|
3798
|
-
|
|
3799
3804
|
/**
|
|
3800
3805
|
* The URL of the request
|
|
3801
3806
|
*/
|
|
@@ -3841,7 +3846,6 @@ export declare abstract class HTTPRequest {
|
|
|
3841
3846
|
enqueueInterceptAction(
|
|
3842
3847
|
pendingHandler: () => void | PromiseLike<unknown>,
|
|
3843
3848
|
): void;
|
|
3844
|
-
|
|
3845
3849
|
/**
|
|
3846
3850
|
* Awaits pending interception handlers and then decides how to fulfill
|
|
3847
3851
|
* the request interception.
|
|
@@ -3945,7 +3949,6 @@ export declare abstract class HTTPRequest {
|
|
|
3945
3949
|
abstract failure(): {
|
|
3946
3950
|
errorText: string;
|
|
3947
3951
|
} | null;
|
|
3948
|
-
|
|
3949
3952
|
/**
|
|
3950
3953
|
* Continues request with optional request overrides.
|
|
3951
3954
|
*
|
|
@@ -4187,7 +4190,6 @@ export declare interface Issue {
|
|
|
4187
4190
|
*/
|
|
4188
4191
|
export declare class JSCoverage {
|
|
4189
4192
|
#private;
|
|
4190
|
-
|
|
4191
4193
|
start(options?: {
|
|
4192
4194
|
resetOnNavigation?: boolean;
|
|
4193
4195
|
reportAnonymousScripts?: boolean;
|
|
@@ -4260,7 +4262,6 @@ export declare abstract class JSHandle<T = unknown> {
|
|
|
4260
4262
|
* Used for nominally typing {@link JSHandle}.
|
|
4261
4263
|
*/
|
|
4262
4264
|
_?: T;
|
|
4263
|
-
|
|
4264
4265
|
/**
|
|
4265
4266
|
* Evaluates the given function with the current handle as its first argument.
|
|
4266
4267
|
*/
|
|
@@ -4333,7 +4334,6 @@ export declare abstract class JSHandle<T = unknown> {
|
|
|
4333
4334
|
* Useful during debugging.
|
|
4334
4335
|
*/
|
|
4335
4336
|
abstract toString(): string;
|
|
4336
|
-
|
|
4337
4337
|
/**
|
|
4338
4338
|
* Provides access to the
|
|
4339
4339
|
* {@link https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#type-RemoteObject | Protocol.Runtime.RemoteObject}
|
|
@@ -5105,7 +5105,6 @@ export declare abstract class Locator<T> extends EventEmitter<LocatorEvents> {
|
|
|
5105
5105
|
* Used for nominally typing {@link Locator}.
|
|
5106
5106
|
*/
|
|
5107
5107
|
_?: T;
|
|
5108
|
-
|
|
5109
5108
|
get timeout(): number;
|
|
5110
5109
|
/**
|
|
5111
5110
|
* Creates a new locator instance by cloning the current locator and setting
|
|
@@ -5157,7 +5156,6 @@ export declare abstract class Locator<T> extends EventEmitter<LocatorEvents> {
|
|
|
5157
5156
|
this: Locator<ElementType>,
|
|
5158
5157
|
value: boolean,
|
|
5159
5158
|
): Locator<ElementType>;
|
|
5160
|
-
|
|
5161
5159
|
/**
|
|
5162
5160
|
* Clones the locator.
|
|
5163
5161
|
*/
|
|
@@ -5190,7 +5188,6 @@ export declare abstract class Locator<T> extends EventEmitter<LocatorEvents> {
|
|
|
5190
5188
|
* @public
|
|
5191
5189
|
*/
|
|
5192
5190
|
filter<S extends T>(predicate: Predicate<T, S>): Locator<S>;
|
|
5193
|
-
|
|
5194
5191
|
/**
|
|
5195
5192
|
* Clicks the located element.
|
|
5196
5193
|
*/
|
|
@@ -5202,11 +5199,12 @@ export declare abstract class Locator<T> extends EventEmitter<LocatorEvents> {
|
|
|
5202
5199
|
* Fills out the input identified by the locator using the provided value. The
|
|
5203
5200
|
* type of the input is determined at runtime and the appropriate fill-out
|
|
5204
5201
|
* method is chosen based on the type. `contenteditable`, select, textarea and
|
|
5205
|
-
* input elements are supported.
|
|
5202
|
+
* input elements are supported. For checkboxes, radio buttons and switches
|
|
5203
|
+
* specify a boolean value.
|
|
5206
5204
|
*/
|
|
5207
5205
|
fill<ElementType extends Element>(
|
|
5208
5206
|
this: Locator<ElementType>,
|
|
5209
|
-
value: string,
|
|
5207
|
+
value: string | boolean,
|
|
5210
5208
|
options?: Readonly<LocatorFillOptions>,
|
|
5211
5209
|
): Promise<void>;
|
|
5212
5210
|
/**
|
|
@@ -5698,7 +5696,6 @@ export declare interface Offset {
|
|
|
5698
5696
|
*/
|
|
5699
5697
|
export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
5700
5698
|
#private;
|
|
5701
|
-
|
|
5702
5699
|
/**
|
|
5703
5700
|
* `true` if the service worker are being bypassed, `false` otherwise.
|
|
5704
5701
|
*/
|
|
@@ -5715,7 +5712,6 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
5715
5712
|
* `true` if the page has JavaScript enabled, `false` otherwise.
|
|
5716
5713
|
*/
|
|
5717
5714
|
abstract isJavaScriptEnabled(): boolean;
|
|
5718
|
-
|
|
5719
5715
|
/**
|
|
5720
5716
|
* This method is typically coupled with an action that triggers file
|
|
5721
5717
|
* choosing.
|
|
@@ -5991,7 +5987,6 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
5991
5987
|
* {@link https://pptr.dev/guides/page-interactions#prefixed-selector-syntax | prefix}.
|
|
5992
5988
|
*/
|
|
5993
5989
|
locator<Ret>(func: () => Awaitable<Ret>): Locator<Ret>;
|
|
5994
|
-
|
|
5995
5990
|
/**
|
|
5996
5991
|
* Finds the first element that matches the selector. If no element matches
|
|
5997
5992
|
* the selector, the return value resolves to `null`.
|
|
@@ -6667,7 +6662,6 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
6667
6662
|
* @returns A promise which resolves once the network is idle.
|
|
6668
6663
|
*/
|
|
6669
6664
|
waitForNetworkIdle(options?: WaitForNetworkIdleOptions): Promise<void>;
|
|
6670
|
-
|
|
6671
6665
|
/**
|
|
6672
6666
|
* Waits for a frame matching the given conditions to appear.
|
|
6673
6667
|
*
|
|
@@ -7056,7 +7050,6 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7056
7050
|
* @defaultValue `true`
|
|
7057
7051
|
*/
|
|
7058
7052
|
abstract setCacheEnabled(enabled?: boolean): Promise<void>;
|
|
7059
|
-
|
|
7060
7053
|
/**
|
|
7061
7054
|
* Captures a screencast of this {@link Page | page}.
|
|
7062
7055
|
*
|
|
@@ -7098,7 +7091,6 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7098
7091
|
* You must have {@link https://ffmpeg.org/ | ffmpeg} installed on your system.
|
|
7099
7092
|
*/
|
|
7100
7093
|
screencast(options?: Readonly<ScreencastOptions>): Promise<ScreenRecorder>;
|
|
7101
|
-
|
|
7102
7094
|
/**
|
|
7103
7095
|
* Captures a screenshot of this {@link Page | page}.
|
|
7104
7096
|
*
|
|
@@ -7128,7 +7120,6 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7128
7120
|
* @param enabled - Whether to emulate focus.
|
|
7129
7121
|
*/
|
|
7130
7122
|
abstract emulateFocusedPage(enabled: boolean): Promise<void>;
|
|
7131
|
-
|
|
7132
7123
|
/**
|
|
7133
7124
|
* Generates a PDF of the page with the `print` CSS media type.
|
|
7134
7125
|
*
|
|
@@ -7552,10 +7543,9 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7552
7543
|
* @experimental
|
|
7553
7544
|
*/
|
|
7554
7545
|
abstract windowId(): Promise<WindowId>;
|
|
7555
|
-
|
|
7556
7546
|
/**
|
|
7557
|
-
* Opens DevTools for the
|
|
7558
|
-
* method is only available in Chrome.
|
|
7547
|
+
* Opens DevTools for the this page if not already open and returns the DevTools page.
|
|
7548
|
+
* This method is only available in Chrome.
|
|
7559
7549
|
*/
|
|
7560
7550
|
abstract openDevTools(): Promise<Page>;
|
|
7561
7551
|
/**
|
|
@@ -8155,7 +8145,6 @@ export declare class Puppeteer {
|
|
|
8155
8145
|
* Unregisters all custom query handlers.
|
|
8156
8146
|
*/
|
|
8157
8147
|
static clearCustomQueryHandlers(): void;
|
|
8158
|
-
|
|
8159
8148
|
/**
|
|
8160
8149
|
* This method attaches Puppeteer to an existing browser instance.
|
|
8161
8150
|
*
|
|
@@ -8455,7 +8444,6 @@ export declare type PuppeteerLifeCycleEvent =
|
|
|
8455
8444
|
*/
|
|
8456
8445
|
export declare class PuppeteerNode extends Puppeteer {
|
|
8457
8446
|
#private;
|
|
8458
|
-
|
|
8459
8447
|
/**
|
|
8460
8448
|
* This method attaches Puppeteer to an existing browser instance.
|
|
8461
8449
|
*
|
|
@@ -8512,7 +8500,6 @@ export declare class PuppeteerNode extends Puppeteer {
|
|
|
8512
8500
|
* The default executable path.
|
|
8513
8501
|
*/
|
|
8514
8502
|
executablePath(): string;
|
|
8515
|
-
|
|
8516
8503
|
/**
|
|
8517
8504
|
* The name of the browser that was last launched.
|
|
8518
8505
|
*/
|
|
@@ -8580,7 +8567,6 @@ export declare interface QueryOptions {
|
|
|
8580
8567
|
*/
|
|
8581
8568
|
export declare abstract class Realm {
|
|
8582
8569
|
#private;
|
|
8583
|
-
|
|
8584
8570
|
/**
|
|
8585
8571
|
* Returns the origin that created the Realm.
|
|
8586
8572
|
* For example, if the realm was created by an extension content script,
|
|
@@ -8602,7 +8588,6 @@ export declare abstract class Realm {
|
|
|
8602
8588
|
* @experimental
|
|
8603
8589
|
*/
|
|
8604
8590
|
abstract extension(): Promise<Extension | null>;
|
|
8605
|
-
|
|
8606
8591
|
/**
|
|
8607
8592
|
* Evaluates a function in the realm's context and returns a
|
|
8608
8593
|
* {@link JSHandle} to the result.
|
|
@@ -8879,7 +8864,6 @@ export type {ScreenOrientation_2 as ScreenOrientation};
|
|
|
8879
8864
|
*/
|
|
8880
8865
|
export declare class ScreenRecorder extends PassThrough {
|
|
8881
8866
|
#private;
|
|
8882
|
-
|
|
8883
8867
|
/**
|
|
8884
8868
|
* Stops the recorder.
|
|
8885
8869
|
*
|
|
@@ -8965,7 +8949,6 @@ export declare interface ScreenshotOptions {
|
|
|
8965
8949
|
*/
|
|
8966
8950
|
export declare class SecurityDetails {
|
|
8967
8951
|
#private;
|
|
8968
|
-
|
|
8969
8952
|
/**
|
|
8970
8953
|
* The name of the issuer of the certificate.
|
|
8971
8954
|
*/
|
|
@@ -9098,7 +9081,6 @@ export declare interface SerializedAXNode {
|
|
|
9098
9081
|
* Children of this node, if there are any.
|
|
9099
9082
|
*/
|
|
9100
9083
|
children?: SerializedAXNode[];
|
|
9101
|
-
|
|
9102
9084
|
/**
|
|
9103
9085
|
* Get an ElementHandle for this AXNode if available.
|
|
9104
9086
|
*
|
|
@@ -9322,7 +9304,6 @@ export declare abstract class Touchscreen {
|
|
|
9322
9304
|
*/
|
|
9323
9305
|
export declare class Tracing {
|
|
9324
9306
|
#private;
|
|
9325
|
-
|
|
9326
9307
|
/**
|
|
9327
9308
|
* Starts a trace for the current page.
|
|
9328
9309
|
* @remarks
|
|
@@ -9459,7 +9440,6 @@ export declare interface WaitForOptions {
|
|
|
9459
9440
|
* @defaultValue `'load'`
|
|
9460
9441
|
*/
|
|
9461
9442
|
waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[];
|
|
9462
|
-
|
|
9463
9443
|
/**
|
|
9464
9444
|
* A signal object that allows you to cancel the call.
|
|
9465
9445
|
*/
|
|
@@ -9565,7 +9545,6 @@ export declare class WebMCP extends EventEmitter<{
|
|
|
9565
9545
|
toolresponded: WebMCPToolCallResult;
|
|
9566
9546
|
}> {
|
|
9567
9547
|
#private;
|
|
9568
|
-
|
|
9569
9548
|
/**
|
|
9570
9549
|
* Gets all WebMCP tools defined by the page.
|
|
9571
9550
|
*/
|
|
@@ -9582,6 +9561,11 @@ export declare interface WebMCPAnnotation {
|
|
|
9582
9561
|
* A hint indicating that the tool does not modify any state.
|
|
9583
9562
|
*/
|
|
9584
9563
|
readOnly?: boolean;
|
|
9564
|
+
/**
|
|
9565
|
+
* A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd
|
|
9566
|
+
* party data.
|
|
9567
|
+
*/
|
|
9568
|
+
untrustedContent?: boolean;
|
|
9585
9569
|
/**
|
|
9586
9570
|
* If the declarative tool was declared with the autosubmit attribute.
|
|
9587
9571
|
*/
|
|
@@ -9629,7 +9613,6 @@ export declare class WebMCPTool extends EventEmitter<{
|
|
|
9629
9613
|
* Source location that defined the tool (if available).
|
|
9630
9614
|
*/
|
|
9631
9615
|
location?: ConsoleMessageLocation;
|
|
9632
|
-
|
|
9633
9616
|
/**
|
|
9634
9617
|
* The corresponding ElementHandle when tool was registered via a form.
|
|
9635
9618
|
*/
|
|
@@ -9737,7 +9720,6 @@ export declare interface WebMCPToolsRemovedEvent {
|
|
|
9737
9720
|
*/
|
|
9738
9721
|
export declare abstract class WebWorker extends EventEmitter<WebWorkerEvents> {
|
|
9739
9722
|
#private;
|
|
9740
|
-
|
|
9741
9723
|
/**
|
|
9742
9724
|
* The URL of this web worker.
|
|
9743
9725
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "puppeteer-core",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.43.0",
|
|
4
4
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"puppeteer",
|
|
@@ -148,13 +148,13 @@
|
|
|
148
148
|
"author": "The Chromium Authors",
|
|
149
149
|
"license": "Apache-2.0",
|
|
150
150
|
"dependencies": {
|
|
151
|
-
"@puppeteer/browsers": "2.13.
|
|
151
|
+
"@puppeteer/browsers": "2.13.1",
|
|
152
152
|
"chromium-bidi": "14.0.0",
|
|
153
153
|
"debug": "^4.4.3",
|
|
154
|
-
"devtools-protocol": "0.0.
|
|
155
|
-
"typed-query-selector": "^2.12.
|
|
154
|
+
"devtools-protocol": "0.0.1608973",
|
|
155
|
+
"typed-query-selector": "^2.12.2",
|
|
156
156
|
"webdriver-bidi-protocol": "0.4.1",
|
|
157
|
-
"ws": "^8.
|
|
157
|
+
"ws": "^8.20.0"
|
|
158
158
|
},
|
|
159
159
|
"devDependencies": {
|
|
160
160
|
"@types/chrome": "0.1.40",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"@types/ws": "8.18.1",
|
|
164
164
|
"mitt": "3.0.1",
|
|
165
165
|
"parsel-js": "1.2.2",
|
|
166
|
-
"rxjs": "7.8.2",
|
|
166
|
+
"rxjs": "^7.8.2",
|
|
167
167
|
"urlpattern-polyfill": "10.1.0"
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -3233,8 +3233,8 @@ export abstract class Page extends EventEmitter<PageEvents> {
|
|
|
3233
3233
|
}
|
|
3234
3234
|
|
|
3235
3235
|
/**
|
|
3236
|
-
* Opens DevTools for the
|
|
3237
|
-
* method is only available in Chrome.
|
|
3236
|
+
* Opens DevTools for the this page if not already open and returns the DevTools page.
|
|
3237
|
+
* This method is only available in Chrome.
|
|
3238
3238
|
*/
|
|
3239
3239
|
abstract openDevTools(): Promise<Page>;
|
|
3240
3240
|
|