chrome-devtools-frontend 1.0.1624583 → 1.0.1625854

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.
Files changed (182) hide show
  1. package/.agents/skills/foundation-test-migration/SKILL.md +2 -2
  2. package/front_end/core/common/VersionController.ts +9 -7
  3. package/front_end/core/common/common.ts +0 -4
  4. package/front_end/core/host/Platform.ts +0 -9
  5. package/front_end/core/host/UserMetrics.ts +0 -55
  6. package/front_end/core/root/ExperimentNames.ts +0 -1
  7. package/front_end/core/sdk/CPUThrottlingManager.ts +1 -1
  8. package/front_end/core/sdk/CSSMetadata.ts +0 -8
  9. package/front_end/core/sdk/CSSProperty.ts +1 -5
  10. package/front_end/core/sdk/CSSPropertyParserMatchers.ts +0 -30
  11. package/front_end/{panels/application → core/sdk}/DOMStorageModel.ts +12 -10
  12. package/front_end/core/sdk/sdk.ts +2 -0
  13. package/front_end/entrypoints/main/MainImpl.ts +12 -8
  14. package/front_end/entrypoints/main/SimpleApp.ts +3 -4
  15. package/front_end/entrypoints/main/main-meta.ts +1 -1
  16. package/front_end/generated/InspectorBackendCommands.ts +3 -3
  17. package/front_end/generated/SupportedCSSProperties.js +21 -21
  18. package/front_end/generated/protocol.ts +4 -1
  19. package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +6 -2
  20. package/front_end/models/ai_code_completion/AiCodeCompletion.ts +10 -2
  21. package/front_end/models/ai_code_generation/AiCodeGeneration.ts +5 -1
  22. package/front_end/models/issues_manager/CookieIssue.ts +0 -4
  23. package/front_end/models/issues_manager/RelatedIssue.ts +0 -14
  24. package/front_end/models/javascript_metadata/NativeFunctions.js +4 -0
  25. package/front_end/models/trace/insights/DuplicatedJavaScript.ts +4 -0
  26. package/front_end/models/trace/insights/FontDisplay.ts +4 -0
  27. package/front_end/models/trace/insights/LegacyJavaScript.ts +4 -0
  28. package/front_end/models/workspace/IgnoreListManager.ts +1 -1
  29. package/front_end/models/workspace/UISourceCode.ts +10 -5
  30. package/front_end/panels/ai_assistance/components/ChatMessage.ts +26 -9
  31. package/front_end/panels/application/ApplicationPanelSidebar.ts +32 -42
  32. package/front_end/panels/application/BackForwardCacheTreeElement.ts +2 -2
  33. package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +2 -2
  34. package/front_end/panels/application/DOMStorageItemsView.ts +18 -13
  35. package/front_end/panels/application/InterestGroupTreeElement.ts +2 -2
  36. package/front_end/panels/application/ReportingApiTreeElement.ts +3 -3
  37. package/front_end/panels/application/ResourcesPanel.ts +1 -2
  38. package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +1 -2
  39. package/front_end/panels/application/StorageView.ts +1 -2
  40. package/front_end/panels/application/TrustTokensTreeElement.ts +2 -2
  41. package/front_end/panels/application/WebMCPTreeElement.ts +2 -2
  42. package/front_end/panels/application/application.ts +0 -2
  43. package/front_end/panels/console/ConsolePrompt.ts +1 -1
  44. package/front_end/panels/console/ConsoleView.ts +3 -4
  45. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -152
  46. package/front_end/panels/elements/ElementsTreeElement.ts +4 -9
  47. package/front_end/panels/elements/StylePropertiesSection.ts +0 -61
  48. package/front_end/panels/elements/StylePropertyTreeElement.ts +1 -21
  49. package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +6 -4
  50. package/front_end/panels/elements/StylesSidebarPane.ts +2 -3
  51. package/front_end/panels/elements/stylesSidebarPane.css +0 -8
  52. package/front_end/panels/emulation/AdvancedApp.ts +3 -3
  53. package/front_end/panels/emulation/DeviceModeToolbar.ts +275 -433
  54. package/front_end/panels/emulation/emulation-meta.ts +1 -1
  55. package/front_end/panels/network/NetworkPanel.ts +1 -1
  56. package/front_end/panels/profiler/HeapProfilerPanel.ts +1 -2
  57. package/front_end/panels/screencast/ScreencastApp.ts +3 -3
  58. package/front_end/panels/screencast/screencast-meta.ts +1 -2
  59. package/front_end/panels/settings/SettingsScreen.ts +2 -2
  60. package/front_end/panels/sources/AiCodeCompletionPlugin.ts +2 -4
  61. package/front_end/panels/sources/SourcesNavigator.ts +1 -1
  62. package/front_end/panels/sources/UISourceCodeFrame.ts +1 -3
  63. package/front_end/panels/timeline/TimelinePanel.ts +2 -2
  64. package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +12 -4
  65. package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +4 -0
  66. package/front_end/panels/timeline/components/insights/FontDisplay.ts +4 -0
  67. package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +4 -0
  68. package/front_end/third_party/chromium/README.chromium +1 -1
  69. package/front_end/third_party/puppeteer/README.chromium +2 -2
  70. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +2 -2
  71. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts +3 -2
  72. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts.map +1 -1
  73. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js +53 -23
  74. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js.map +1 -1
  75. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +3 -2
  76. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
  77. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +18 -8
  78. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
  79. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
  80. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
  81. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
  82. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
  83. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +4 -0
  84. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
  85. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.d.ts +1 -1
  86. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.d.ts.map +1 -1
  87. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js +54 -19
  88. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js.map +1 -1
  89. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.d.ts +5 -0
  90. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.d.ts.map +1 -1
  91. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.js +2 -9
  92. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.js.map +1 -1
  93. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  94. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +3 -0
  95. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  96. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +37 -1
  97. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  98. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
  99. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  100. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +5 -2
  101. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
  102. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  103. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +1 -0
  104. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  105. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
  106. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
  107. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
  108. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.d.ts +1 -1
  109. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.js +1 -1
  110. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +47 -65
  111. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +143 -55
  112. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +2 -2
  113. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts +3 -2
  114. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts.map +1 -1
  115. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js +53 -23
  116. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js.map +1 -1
  117. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +3 -2
  118. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
  119. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +18 -8
  120. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
  121. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
  122. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
  123. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js.map +1 -1
  124. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
  125. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +4 -0
  126. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
  127. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.d.ts +1 -1
  128. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.d.ts.map +1 -1
  129. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js +54 -19
  130. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js.map +1 -1
  131. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.d.ts +5 -0
  132. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.d.ts.map +1 -1
  133. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.js +2 -9
  134. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.js.map +1 -1
  135. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  136. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +3 -0
  137. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
  138. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +37 -1
  139. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  140. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  141. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js +5 -2
  142. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
  143. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  144. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +1 -0
  145. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  146. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
  147. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
  148. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.d.ts +1 -1
  149. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.js +1 -1
  150. package/front_end/third_party/puppeteer/package/lib/types.d.ts +47 -65
  151. package/front_end/third_party/puppeteer/package/package.json +6 -6
  152. package/front_end/third_party/puppeteer/package/src/api/Page.ts +2 -2
  153. package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +69 -27
  154. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +27 -8
  155. package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -2
  156. package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +6 -0
  157. package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +60 -18
  158. package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +7 -9
  159. package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +3 -0
  160. package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +37 -1
  161. package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +7 -2
  162. package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +1 -0
  163. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  164. package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
  165. package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +19 -14
  166. package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +8 -7
  167. package/front_end/{core/common → ui/legacy}/AppProvider.ts +1 -1
  168. package/front_end/ui/legacy/InspectorView.ts +4 -3
  169. package/front_end/ui/legacy/TabbedPane.ts +1 -1
  170. package/front_end/ui/legacy/UIUserMetrics.ts +70 -0
  171. package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +1 -8
  172. package/front_end/ui/legacy/components/inline_editor/inline_editor.ts +0 -6
  173. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +328 -47
  174. package/front_end/ui/legacy/legacy.ts +6 -0
  175. package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
  176. package/package.json +1 -1
  177. package/front_end/Images/src/custom-typography.svg +0 -3
  178. package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +0 -798
  179. package/front_end/ui/legacy/components/inline_editor/FontEditorUnitConverter.ts +0 -250
  180. package/front_end/ui/legacy/components/inline_editor/FontEditorUtils.ts +0 -204
  181. package/front_end/ui/legacy/components/inline_editor/fontEditor.css +0 -185
  182. /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
 
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
 
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
 
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
- blockList?: string[];
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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 current Page and returns the DevTools Page. This
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
 
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
 
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
 
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
 
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
 
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
 
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
 
9740
-
9741
9723
  /**
9742
9724
  * The URL of this web worker.
9743
9725
  */