chrome-devtools-frontend 1.0.1040857 → 1.0.1070764

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 (998) hide show
  1. package/AUTHORS +4 -1
  2. package/README.md +4 -10
  3. package/config/gni/devtools_grd_files.gni +41 -24
  4. package/config/gni/devtools_image_files.gni +4 -0
  5. package/docs/README.md +81 -0
  6. package/{ARCHITECTURE.md → docs/architecture_of_devtools.md} +5 -6
  7. package/docs/{images/architecture-lazy-loading-features.png → architecture_of_devtools_lazy_loading_features.png} +0 -0
  8. package/docs/{images/module-visibility-rules.png → architecture_of_devtools_module_visibility_rules.png} +0 -0
  9. package/docs/design_guidelines.md +3 -1
  10. package/docs/{images/DevToolsDesignGuidelines.png → design_guidelines.png} +0 -0
  11. package/docs/l10n.md +293 -0
  12. package/docs/navbar.md +13 -0
  13. package/docs/third_party_guidelines.md +78 -0
  14. package/docs/workflows.md +6 -1
  15. package/extension-api/ExtensionAPI.d.ts +1 -0
  16. package/front_end/Images/src/edit-icon.svg +3 -0
  17. package/front_end/Images/src/frame-embedded-icon.svg +61 -0
  18. package/front_end/Images/src/frame-icon.svg +54 -0
  19. package/front_end/Images/src/trash_bin_material_icon.svg +1 -0
  20. package/front_end/Images/src/triangle-expanded.svg +1 -1
  21. package/front_end/Tests.js +0 -25
  22. package/front_end/core/common/ResourceType.ts +7 -1
  23. package/front_end/core/common/Revealer.ts +3 -0
  24. package/front_end/core/common/common.ts +2 -0
  25. package/front_end/core/dom_extension/DOMExtension.ts +1 -138
  26. package/front_end/core/host/InspectorFrontendHostAPI.ts +2 -0
  27. package/front_end/core/host/ResourceLoader.ts +15 -5
  28. package/front_end/core/host/UserMetrics.ts +43 -10
  29. package/front_end/core/i18n/locales/af.json +194 -110
  30. package/front_end/core/i18n/locales/am.json +205 -121
  31. package/front_end/core/i18n/locales/ar.json +196 -112
  32. package/front_end/core/i18n/locales/as.json +195 -111
  33. package/front_end/core/i18n/locales/az.json +196 -112
  34. package/front_end/core/i18n/locales/be.json +193 -109
  35. package/front_end/core/i18n/locales/bg.json +193 -109
  36. package/front_end/core/i18n/locales/bn.json +197 -113
  37. package/front_end/core/i18n/locales/bs.json +194 -110
  38. package/front_end/core/i18n/locales/ca.json +197 -113
  39. package/front_end/core/i18n/locales/cs.json +192 -108
  40. package/front_end/core/i18n/locales/cy.json +193 -109
  41. package/front_end/core/i18n/locales/da.json +194 -110
  42. package/front_end/core/i18n/locales/de.json +199 -115
  43. package/front_end/core/i18n/locales/el.json +191 -107
  44. package/front_end/core/i18n/locales/en-GB.json +193 -109
  45. package/front_end/core/i18n/locales/en-US.json +313 -229
  46. package/front_end/core/i18n/locales/en-XL.json +313 -229
  47. package/front_end/core/i18n/locales/es-419.json +195 -111
  48. package/front_end/core/i18n/locales/es.json +192 -108
  49. package/front_end/core/i18n/locales/et.json +195 -111
  50. package/front_end/core/i18n/locales/eu.json +197 -113
  51. package/front_end/core/i18n/locales/fa.json +243 -159
  52. package/front_end/core/i18n/locales/fi.json +192 -108
  53. package/front_end/core/i18n/locales/fil.json +193 -109
  54. package/front_end/core/i18n/locales/fr-CA.json +198 -114
  55. package/front_end/core/i18n/locales/fr.json +220 -136
  56. package/front_end/core/i18n/locales/gl.json +196 -112
  57. package/front_end/core/i18n/locales/gu.json +196 -112
  58. package/front_end/core/i18n/locales/he.json +201 -117
  59. package/front_end/core/i18n/locales/hi.json +200 -116
  60. package/front_end/core/i18n/locales/hr.json +192 -108
  61. package/front_end/core/i18n/locales/hu.json +195 -111
  62. package/front_end/core/i18n/locales/hy.json +193 -109
  63. package/front_end/core/i18n/locales/id.json +198 -114
  64. package/front_end/core/i18n/locales/is.json +193 -109
  65. package/front_end/core/i18n/locales/it.json +194 -110
  66. package/front_end/core/i18n/locales/ja.json +192 -108
  67. package/front_end/core/i18n/locales/ka.json +194 -110
  68. package/front_end/core/i18n/locales/kk.json +194 -110
  69. package/front_end/core/i18n/locales/km.json +196 -112
  70. package/front_end/core/i18n/locales/kn.json +193 -109
  71. package/front_end/core/i18n/locales/ko.json +196 -112
  72. package/front_end/core/i18n/locales/ky.json +196 -112
  73. package/front_end/core/i18n/locales/lo.json +196 -112
  74. package/front_end/core/i18n/locales/lt.json +192 -108
  75. package/front_end/core/i18n/locales/lv.json +194 -110
  76. package/front_end/core/i18n/locales/mk.json +194 -110
  77. package/front_end/core/i18n/locales/ml.json +194 -110
  78. package/front_end/core/i18n/locales/mn.json +194 -110
  79. package/front_end/core/i18n/locales/mr.json +193 -109
  80. package/front_end/core/i18n/locales/ms.json +193 -109
  81. package/front_end/core/i18n/locales/my.json +198 -114
  82. package/front_end/core/i18n/locales/ne.json +197 -113
  83. package/front_end/core/i18n/locales/nl.json +193 -109
  84. package/front_end/core/i18n/locales/no.json +195 -111
  85. package/front_end/core/i18n/locales/or.json +197 -113
  86. package/front_end/core/i18n/locales/pa.json +195 -111
  87. package/front_end/core/i18n/locales/pl.json +195 -111
  88. package/front_end/core/i18n/locales/pt-PT.json +195 -111
  89. package/front_end/core/i18n/locales/pt.json +194 -110
  90. package/front_end/core/i18n/locales/ro.json +189 -105
  91. package/front_end/core/i18n/locales/ru.json +191 -107
  92. package/front_end/core/i18n/locales/si.json +194 -110
  93. package/front_end/core/i18n/locales/sk.json +192 -108
  94. package/front_end/core/i18n/locales/sl.json +193 -109
  95. package/front_end/core/i18n/locales/sq.json +193 -109
  96. package/front_end/core/i18n/locales/sr-Latn.json +192 -108
  97. package/front_end/core/i18n/locales/sr.json +192 -108
  98. package/front_end/core/i18n/locales/sv.json +191 -107
  99. package/front_end/core/i18n/locales/sw.json +195 -111
  100. package/front_end/core/i18n/locales/ta.json +193 -109
  101. package/front_end/core/i18n/locales/te.json +198 -114
  102. package/front_end/core/i18n/locales/th.json +194 -110
  103. package/front_end/core/i18n/locales/tr.json +192 -108
  104. package/front_end/core/i18n/locales/uk.json +192 -108
  105. package/front_end/core/i18n/locales/ur.json +194 -110
  106. package/front_end/core/i18n/locales/uz.json +190 -106
  107. package/front_end/core/i18n/locales/vi.json +195 -111
  108. package/front_end/core/i18n/locales/zh-HK.json +193 -109
  109. package/front_end/core/i18n/locales/zh-TW.json +195 -111
  110. package/front_end/core/i18n/locales/zh.json +194 -110
  111. package/front_end/core/i18n/locales/zu.json +193 -109
  112. package/front_end/core/platform/dom-utilities.ts +107 -0
  113. package/front_end/core/platform/keyboard-utilities.ts +8 -0
  114. package/front_end/core/platform/string-utilities.ts +10 -0
  115. package/front_end/core/root/Runtime.ts +0 -2
  116. package/front_end/core/sdk/CPUProfileDataModel.ts +11 -4
  117. package/front_end/core/sdk/CPUThrottlingManager.ts +1 -1
  118. package/front_end/core/sdk/CSSMatchedStyles.ts +11 -12
  119. package/front_end/core/sdk/ChildTargetManager.ts +1 -1
  120. package/front_end/core/sdk/ConsoleModel.ts +3 -3
  121. package/front_end/core/sdk/DOMModel.ts +0 -1
  122. package/front_end/core/sdk/DebuggerModel.ts +4 -36
  123. package/front_end/core/sdk/FrameManager.ts +12 -33
  124. package/front_end/core/sdk/NetworkManager.ts +50 -16
  125. package/front_end/core/sdk/NetworkRequest.ts +49 -0
  126. package/front_end/core/sdk/ProfileTreeModel.ts +19 -6
  127. package/front_end/core/sdk/ResourceTreeModel.ts +31 -32
  128. package/front_end/core/sdk/RuntimeModel.ts +1 -1
  129. package/front_end/core/sdk/ScreenCaptureModel.ts +3 -8
  130. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -0
  131. package/front_end/core/sdk/SourceMap.ts +14 -8
  132. package/front_end/core/sdk/SourceMapManager.ts +8 -6
  133. package/front_end/core/sdk/Target.ts +3 -3
  134. package/front_end/core/sdk/TargetManager.ts +12 -1
  135. package/front_end/core/sdk/sdk-legacy.ts +3 -0
  136. package/front_end/core/sdk/sdk-meta.ts +21 -0
  137. package/front_end/devtools_compatibility.js +17 -13
  138. package/front_end/entrypoints/formatter_worker/FormatterActions.ts +0 -3
  139. package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -53
  140. package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +1 -0
  141. package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +0 -9
  142. package/front_end/entrypoints/formatter_worker/formatter_worker.ts +0 -4
  143. package/front_end/entrypoints/inspector_main/InspectorMain.ts +5 -3
  144. package/front_end/entrypoints/js_app/js_app.ts +1 -0
  145. package/front_end/entrypoints/lighthouse_worker/LighthouseWorkerService.ts +17 -9
  146. package/front_end/entrypoints/main/ExecutionContextSelector.ts +1 -1
  147. package/front_end/entrypoints/main/MainImpl.ts +31 -38
  148. package/front_end/entrypoints/main/main-meta.ts +0 -2
  149. package/front_end/entrypoints/node_app/node_app.ts +2 -1
  150. package/front_end/entrypoints/shell/shell.ts +1 -2
  151. package/front_end/generated/ARIAProperties.js +8 -0
  152. package/front_end/generated/InspectorBackendCommands.js +32 -23
  153. package/front_end/generated/SupportedCSSProperties.js +97 -48
  154. package/front_end/generated/protocol-mapping.d.ts +67 -34
  155. package/front_end/generated/protocol-proxy-api.d.ts +52 -29
  156. package/front_end/generated/protocol.ts +344 -89
  157. package/front_end/legacy/legacy-defs.d.ts +1 -3
  158. package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +1 -1
  159. package/front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js +10 -18
  160. package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +3 -3
  161. package/front_end/legacy_test_runner/test_runner/TestRunner.js +24 -0
  162. package/front_end/legacy_test_runner/test_runner/test_runner.js +15 -13
  163. package/front_end/models/bindings/BreakpointManager.ts +38 -21
  164. package/front_end/models/bindings/CSSWorkspaceBinding.ts +19 -18
  165. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +4 -0
  166. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +32 -37
  167. package/front_end/models/bindings/FileUtils.ts +3 -3
  168. package/front_end/models/bindings/IgnoreListManager.ts +14 -3
  169. package/front_end/models/bindings/ResourceMapping.ts +5 -28
  170. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -13
  171. package/front_end/models/bindings/ResourceUtils.ts +1 -2
  172. package/front_end/models/emulation/DeviceModeModel.ts +0 -14
  173. package/front_end/models/extensions/ExtensionAPI.ts +22 -5
  174. package/front_end/models/extensions/ExtensionServer.ts +31 -14
  175. package/front_end/models/formatter/FormatterWorkerPool.ts +0 -31
  176. package/front_end/models/har/HARFormat.ts +68 -5
  177. package/front_end/models/har/Importer.ts +3 -5
  178. package/front_end/models/har/Log.ts +3 -0
  179. package/front_end/models/issues_manager/AttributionReportingIssue.ts +24 -1
  180. package/front_end/models/issues_manager/DeprecationIssue.ts +112 -32
  181. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +0 -10
  182. package/front_end/models/issues_manager/IssuesManager.ts +3 -12
  183. package/front_end/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +5 -6
  184. package/front_end/models/issues_manager/descriptions/arPermissionPolicyNotDelegated.md +11 -0
  185. package/front_end/models/javascript_metadata/NativeFunctions.js +121 -97
  186. package/front_end/models/logs/NetworkLog.ts +11 -11
  187. package/front_end/models/persistence/IsolatedFileSystemManager.ts +5 -1
  188. package/front_end/models/persistence/NetworkPersistenceManager.ts +13 -5
  189. package/front_end/models/persistence/PersistenceImpl.ts +2 -1
  190. package/front_end/models/source_map_scopes/NamesResolver.ts +99 -56
  191. package/front_end/models/text_utils/TextUtils.ts +18 -34
  192. package/front_end/models/text_utils/text_utils-legacy.ts +0 -3
  193. package/front_end/models/timeline_model/TimelineModel.ts +2 -2
  194. package/front_end/models/timeline_model/timeline_model-legacy.ts +0 -9
  195. package/front_end/models/timeline_model/timeline_model.ts +0 -3
  196. package/front_end/panels/accessibility/ARIAAttributesView.ts +2 -1
  197. package/front_end/panels/application/AppManifestView.ts +15 -7
  198. package/front_end/panels/application/ApplicationPanelCacheSection.ts +2 -1
  199. package/front_end/panels/application/ApplicationPanelSidebar.ts +15 -9
  200. package/front_end/panels/application/DOMStorageModel.ts +16 -18
  201. package/front_end/panels/application/IndexedDBModel.ts +97 -134
  202. package/front_end/panels/application/IndexedDBViews.ts +1 -3
  203. package/front_end/panels/application/InterestGroupStorageModel.ts +3 -0
  204. package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
  205. package/front_end/panels/application/ReportingApiTreeElement.ts +2 -1
  206. package/front_end/panels/application/ReportingApiView.ts +5 -4
  207. package/front_end/panels/application/StorageView.ts +30 -26
  208. package/front_end/panels/application/TrustTokensTreeElement.ts +5 -4
  209. package/front_end/panels/application/application.ts +6 -0
  210. package/front_end/panels/application/components/BackForwardCacheStrings.ts +6 -1
  211. package/front_end/panels/application/components/BackForwardCacheView.ts +149 -92
  212. package/front_end/panels/application/components/FrameDetailsView.ts +66 -7
  213. package/front_end/panels/application/components/Prerender2.ts +74 -14
  214. package/front_end/panels/application/components/ProtocolHandlersView.ts +6 -1
  215. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +184 -0
  216. package/front_end/panels/application/components/SharedStorageMetadataView.ts +173 -0
  217. package/front_end/panels/application/components/backForwardCacheView.css +2 -3
  218. package/front_end/panels/application/components/components.ts +4 -0
  219. package/front_end/panels/application/components/frameDetailsReportView.css +1 -1
  220. package/front_end/panels/application/components/permissionsPolicySection.css +1 -1
  221. package/front_end/panels/application/components/protocolHandlersView.css +5 -1
  222. package/front_end/panels/application/components/sharedStorageAccessGrid.css +26 -0
  223. package/front_end/panels/application/components/sharedStorageMetadataView.css +11 -0
  224. package/front_end/panels/application/components/stackTraceLinkButton.css +1 -1
  225. package/front_end/panels/application/components/stackTraceRow.css +1 -1
  226. package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +2 -1
  227. package/front_end/panels/console/ConsoleFormat.ts +2 -2
  228. package/front_end/panels/console/ConsolePinPane.ts +1 -1
  229. package/front_end/panels/console/ConsolePrompt.ts +1 -1
  230. package/front_end/panels/console/ConsoleView.ts +1 -0
  231. package/front_end/panels/console/ConsoleViewMessage.ts +1 -1
  232. package/front_end/panels/console/consoleView.css +5 -0
  233. package/front_end/panels/coverage/CoverageView.ts +2 -2
  234. package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +1 -1
  235. package/front_end/panels/developer_resources/DeveloperResourcesView.ts +6 -24
  236. package/front_end/panels/developer_resources/developer_resources-meta.ts +1 -1
  237. package/front_end/panels/elements/CSSRuleValidator.ts +147 -65
  238. package/front_end/panels/elements/CSSRuleValidatorHelper.ts +32 -2
  239. package/front_end/panels/elements/ClassesPaneWidget.ts +2 -2
  240. package/front_end/panels/elements/ElementsPanel.ts +19 -1
  241. package/front_end/panels/elements/StylePropertiesSection.ts +3 -1
  242. package/front_end/panels/elements/StylePropertyTreeElement.ts +9 -3
  243. package/front_end/panels/elements/StylesSidebarPane.ts +46 -19
  244. package/front_end/panels/elements/components/CSSHintDetailsView.ts +1 -2
  245. package/front_end/panels/elements/components/CSSPropertyIconResolver.ts +2 -3
  246. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +19 -2
  247. package/front_end/panels/elements/components/computedStyleProperty.css +3 -3
  248. package/front_end/panels/elements/components/computedStyleTrace.css +8 -4
  249. package/front_end/panels/elements/components/cssHintDetailsView.css +2 -8
  250. package/front_end/panels/elements/elements-meta.ts +28 -0
  251. package/front_end/panels/elements/stylesSectionTree.css +2 -1
  252. package/front_end/panels/elements/stylesSidebarPane.css +7 -0
  253. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +2 -0
  254. package/front_end/panels/issues/IssueView.ts +5 -4
  255. package/front_end/panels/js_profiler/js_profiler-meta.ts +139 -0
  256. package/front_end/panels/lighthouse/LighthouseController.ts +4 -9
  257. package/front_end/panels/lighthouse/LighthousePanel.ts +38 -32
  258. package/front_end/panels/lighthouse/LighthouseProtocolService.ts +16 -15
  259. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +3 -3
  260. package/front_end/panels/lighthouse/LighthouseReportSelector.ts +6 -1
  261. package/front_end/panels/lighthouse/LighthouseReporterTypes.ts +3 -2
  262. package/front_end/panels/lighthouse/LighthouseStartView.ts +162 -89
  263. package/front_end/panels/lighthouse/lighthouseStartView.css +7 -36
  264. package/front_end/panels/media/TickingFlameChart.ts +9 -3
  265. package/front_end/panels/network/NetworkDataGridNode.ts +79 -9
  266. package/front_end/panels/network/NetworkItemView.ts +4 -3
  267. package/front_end/panels/network/NetworkLogView.ts +40 -42
  268. package/front_end/panels/network/NetworkLogViewColumns.ts +2 -1
  269. package/front_end/panels/network/RequestCookiesView.ts +28 -0
  270. package/front_end/panels/network/components/HeaderSectionRow.css +176 -0
  271. package/front_end/panels/network/components/HeaderSectionRow.ts +477 -0
  272. package/front_end/panels/network/components/RequestHeaderSection.css +59 -0
  273. package/front_end/panels/network/components/RequestHeaderSection.ts +133 -0
  274. package/front_end/panels/network/components/RequestHeadersView.css +1 -59
  275. package/front_end/panels/network/components/RequestHeadersView.ts +43 -417
  276. package/front_end/panels/network/components/ResponseHeaderSection.css +21 -0
  277. package/front_end/panels/network/components/ResponseHeaderSection.ts +635 -0
  278. package/front_end/panels/network/components/components.ts +6 -0
  279. package/front_end/panels/network/network-meta.ts +0 -16
  280. package/front_end/panels/network/requestPayloadTree.css +0 -1
  281. package/front_end/panels/profiler/HeapProfileView.ts +7 -6
  282. package/front_end/panels/profiler/LiveHeapProfileView.ts +2 -2
  283. package/front_end/panels/sensors/sensors-meta.ts +0 -10
  284. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +61 -43
  285. package/front_end/panels/settings/KeybindsSettingsTab.ts +1 -1
  286. package/front_end/panels/settings/SettingsScreen.ts +1 -3
  287. package/front_end/panels/settings/components/syncSection.css +1 -1
  288. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +38 -35
  289. package/front_end/panels/sources/BreakpointsSidebarPane.ts +265 -25
  290. package/front_end/panels/sources/CallStackSidebarPane.ts +10 -1
  291. package/front_end/panels/sources/CoveragePlugin.ts +1 -1
  292. package/front_end/panels/sources/DebuggerPlugin.ts +316 -109
  293. package/front_end/panels/sources/GoToLineQuickOpen.ts +22 -49
  294. package/front_end/panels/sources/NavigatorView.ts +2 -10
  295. package/front_end/panels/sources/OpenFileQuickOpen.ts +0 -13
  296. package/front_end/panels/sources/OutlineQuickOpen.ts +274 -45
  297. package/front_end/panels/sources/SourcesNavigator.ts +2 -2
  298. package/front_end/panels/sources/SourcesPanel.ts +13 -9
  299. package/front_end/panels/sources/SourcesView.ts +8 -2
  300. package/front_end/panels/sources/TabbedEditorContainer.ts +8 -0
  301. package/front_end/panels/sources/UISourceCodeFrame.ts +81 -34
  302. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +3 -2
  303. package/front_end/panels/sources/components/BreakpointsView.ts +472 -28
  304. package/front_end/panels/sources/components/BreakpointsViewUtils.ts +195 -0
  305. package/front_end/panels/sources/components/HeadersView.css +5 -1
  306. package/front_end/panels/sources/components/HeadersView.ts +18 -11
  307. package/front_end/panels/sources/components/breakpointsView.css +136 -11
  308. package/front_end/panels/sources/sources-legacy.ts +0 -5
  309. package/front_end/panels/sources/sources-meta.ts +113 -4
  310. package/front_end/panels/sources/sources.ts +0 -2
  311. package/front_end/panels/sources/watchExpressionsSidebarPane.css +10 -6
  312. package/front_end/panels/timeline/PerformanceModel.ts +65 -18
  313. package/front_end/panels/timeline/TimelineController.ts +11 -5
  314. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -49
  315. package/front_end/panels/timeline/TimelineFlameChartView.ts +1 -1
  316. package/front_end/panels/timeline/TimelineLoader.ts +41 -24
  317. package/front_end/panels/timeline/TimelinePanel.ts +155 -57
  318. package/front_end/panels/timeline/TimelineUIUtils.ts +1 -263
  319. package/front_end/panels/webauthn/WebauthnPane.ts +2 -2
  320. package/front_end/panels/webauthn/webauthnPane.css +1 -0
  321. package/front_end/services/puppeteer/PuppeteerConnection.ts +51 -42
  322. package/front_end/third_party/additional_readme_paths.json +0 -1
  323. package/front_end/third_party/chromium/client-variations/ClientVariations.js +1 -1
  324. package/front_end/third_party/codemirror.next/bundle.ts +1 -1
  325. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  326. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  327. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +7 -1
  328. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  329. package/front_end/third_party/codemirror.next/package.json +4 -2
  330. package/front_end/third_party/i18n/localized-string-set.ts +9 -1
  331. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +431 -434
  332. package/front_end/third_party/lighthouse/locales/en-US.json +144 -186
  333. package/front_end/third_party/lighthouse/locales/en-XL.json +144 -186
  334. package/front_end/third_party/puppeteer/README.chromium +14 -6
  335. package/front_end/third_party/puppeteer/package/README.md +134 -316
  336. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +337 -0
  337. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -0
  338. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js +248 -0
  339. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -0
  340. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts +148 -0
  341. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts.map +1 -0
  342. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +135 -0
  343. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js.map +1 -0
  344. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +2100 -0
  345. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -0
  346. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js +536 -0
  347. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -0
  348. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +2 -2
  349. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
  350. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js +39 -23
  351. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
  352. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +17 -199
  353. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
  354. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +112 -202
  355. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
  356. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts +9 -3
  357. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  358. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +5 -6
  359. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  360. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts +1 -1
  361. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts.map +1 -1
  362. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js +0 -6
  363. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js.map +1 -1
  364. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Configuration.d.ts +133 -0
  365. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Configuration.d.ts.map +1 -0
  366. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/initializePuppeteer.d.ts → cjs/puppeteer/common/Configuration.js} +4 -7
  367. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Configuration.js.map +1 -0
  368. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +24 -0
  369. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
  370. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +67 -28
  371. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
  372. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +11 -2
  373. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
  374. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +7 -5
  375. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
  376. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Device.d.ts +52 -0
  377. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Device.d.ts.map +1 -0
  378. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{DeviceDescriptors.js → Device.js} +17 -11
  379. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Device.js.map +1 -0
  380. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts +29 -6
  381. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -1
  382. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js +69 -46
  383. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -1
  384. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +27 -3
  385. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
  386. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +47 -2
  387. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
  388. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.d.ts +16 -1
  389. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -1
  390. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +16 -1
  391. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
  392. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts +2 -36
  393. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -1
  394. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +20 -59
  395. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
  396. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts +1 -1
  397. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -1
  398. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.d.ts +47 -21
  399. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.d.ts.map +1 -1
  400. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.js +155 -43
  401. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.js.map +1 -1
  402. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +7 -2
  403. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
  404. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +47 -97
  405. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  406. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameTree.d.ts +39 -0
  407. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameTree.d.ts.map +1 -0
  408. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameTree.js +120 -0
  409. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameTree.js.map +1 -0
  410. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +2 -2
  411. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +2 -2
  412. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.d.ts +13 -67
  413. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.d.ts.map +1 -1
  414. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.js +124 -511
  415. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.js.map +1 -1
  416. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +5 -5
  417. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
  418. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +7 -9
  419. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
  420. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/node/install.d.ts → cjs/puppeteer/common/LazyArg.d.ts} +7 -7
  421. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts.map +1 -0
  422. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.js +45 -0
  423. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.js.map +1 -0
  424. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  425. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +12 -2
  426. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
  427. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.d.ts +15 -0
  428. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.d.ts.map +1 -1
  429. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js +15 -0
  430. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js.map +1 -1
  431. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +1 -4
  432. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
  433. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +2 -2
  434. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
  435. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/node → cjs/puppeteer/common}/NodeWebSocketTransport.d.ts +1 -1
  436. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NodeWebSocketTransport.d.ts.map +1 -0
  437. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{node → common}/NodeWebSocketTransport.js +1 -15
  438. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NodeWebSocketTransport.js.map +1 -0
  439. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +35 -496
  440. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
  441. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +287 -414
  442. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
  443. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/common/NetworkConditions.d.ts → cjs/puppeteer/common/PredefinedNetworkConditions.d.ts} +13 -6
  444. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PredefinedNetworkConditions.d.ts.map +1 -0
  445. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{NetworkConditions.js → PredefinedNetworkConditions.js} +12 -8
  446. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PredefinedNetworkConditions.js.map +1 -0
  447. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts +36 -61
  448. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -1
  449. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +32 -66
  450. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
  451. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts +26 -34
  452. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -1
  453. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +57 -94
  454. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  455. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +3 -2
  456. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
  457. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +2 -2
  458. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
  459. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.d.ts +52 -0
  460. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.d.ts.map +1 -0
  461. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js +204 -0
  462. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js.map +1 -0
  463. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts +4 -5
  464. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -1
  465. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js +23 -27
  466. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js.map +1 -1
  467. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Browser.d.ts +45 -0
  468. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Browser.d.ts.map +1 -0
  469. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Browser.js +75 -0
  470. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Browser.js.map +1 -0
  471. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/BrowserContext.d.ts +28 -0
  472. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/BrowserContext.d.ts.map +1 -0
  473. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/BrowserContext.js +52 -0
  474. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/BrowserContext.js.map +1 -0
  475. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/puppeteer.js → cjs/puppeteer/common/bidi/Connection.d.ts} +20 -10
  476. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Connection.d.ts.map +1 -0
  477. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Connection.js +133 -0
  478. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Connection.js.map +1 -0
  479. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Page.d.ts +28 -0
  480. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Page.d.ts.map +1 -0
  481. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Page.js +61 -0
  482. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/bidi/Page.js.map +1 -0
  483. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.d.ts +11 -0
  484. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.d.ts.map +1 -1
  485. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +0 -4
  486. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
  487. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +25 -59
  488. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
  489. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +4 -0
  490. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
  491. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js +8 -1
  492. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js.map +1 -1
  493. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +8 -2
  494. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts.map +1 -1
  495. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +8 -2
  496. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js.map +1 -1
  497. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
  498. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
  499. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PierceQuerySelector.d.ts +9 -0
  500. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PierceQuerySelector.d.ts.map +1 -0
  501. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PierceQuerySelector.js +71 -0
  502. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PierceQuerySelector.js.map +1 -0
  503. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.d.ts +32 -6
  504. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.d.ts.map +1 -1
  505. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.js +30 -7
  506. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.js.map +1 -1
  507. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextContent.d.ts +39 -0
  508. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextContent.d.ts.map +1 -0
  509. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextContent.js +133 -0
  510. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextContent.js.map +1 -0
  511. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts +28 -0
  512. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts.map +1 -0
  513. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.js +80 -0
  514. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.js.map +1 -0
  515. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts +24 -0
  516. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -0
  517. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.js +42 -0
  518. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.js.map +1 -0
  519. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +44 -1
  520. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -1
  521. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js +52 -3
  522. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js.map +1 -1
  523. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.d.ts +26 -0
  524. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.d.ts.map +1 -0
  525. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js +58 -0
  526. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js.map +1 -0
  527. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +50 -14
  528. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  529. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +137 -154
  530. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
  531. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts +6 -0
  532. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  533. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +16 -7
  534. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
  535. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +6 -18
  536. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  537. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +88 -28
  538. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  539. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts +4 -18
  540. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
  541. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +40 -33
  542. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -1
  543. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts +15 -0
  544. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
  545. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js +1 -16
  546. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  547. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.d.ts +24 -22
  548. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.d.ts.map +1 -1
  549. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.js +94 -130
  550. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.js.map +1 -1
  551. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/{Puppeteer.d.ts → PuppeteerNode.d.ts} +74 -43
  552. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts.map +1 -0
  553. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js +271 -0
  554. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js.map +1 -0
  555. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +21 -5
  556. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
  557. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +22 -6
  558. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -1
  559. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +1 -1
  560. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +1 -1
  561. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts +24 -18
  562. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts.map +1 -1
  563. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js +25 -22
  564. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js.map +1 -1
  565. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DebuggableDeferredPromise.d.ts +9 -0
  566. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DebuggableDeferredPromise.d.ts.map +1 -0
  567. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DebuggableDeferredPromise.js +22 -0
  568. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DebuggableDeferredPromise.js.map +1 -0
  569. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.d.ts +12 -10
  570. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.d.ts.map +1 -1
  571. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.js +17 -44
  572. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.js.map +1 -1
  573. package/front_end/third_party/puppeteer/package/lib/cjs/third_party/mitt/index.d.ts +23 -0
  574. package/front_end/third_party/puppeteer/package/lib/cjs/third_party/mitt/index.js +5 -0
  575. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +337 -0
  576. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -0
  577. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js +244 -0
  578. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -0
  579. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts +148 -0
  580. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts.map +1 -0
  581. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +131 -0
  582. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js.map +1 -0
  583. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +2100 -0
  584. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -0
  585. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js +532 -0
  586. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -0
  587. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +2 -2
  588. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
  589. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js +39 -23
  590. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
  591. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +17 -199
  592. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
  593. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +108 -198
  594. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
  595. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts +9 -3
  596. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  597. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +4 -5
  598. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
  599. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.d.ts +1 -1
  600. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.d.ts.map +1 -1
  601. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js +0 -6
  602. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js.map +1 -1
  603. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Configuration.d.ts +133 -0
  604. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Configuration.d.ts.map +1 -0
  605. package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/initializePuppeteer.d.ts → esm/puppeteer/common/Configuration.js} +3 -7
  606. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Configuration.js.map +1 -0
  607. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +24 -0
  608. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
  609. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +63 -26
  610. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
  611. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +11 -2
  612. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
  613. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js +7 -5
  614. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js.map +1 -1
  615. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Device.d.ts +52 -0
  616. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Device.d.ts.map +1 -0
  617. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{DeviceDescriptors.js → Device.js} +16 -10
  618. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Device.js.map +1 -0
  619. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts +29 -6
  620. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -1
  621. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js +69 -46
  622. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js.map +1 -1
  623. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +27 -3
  624. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
  625. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +47 -2
  626. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
  627. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.d.ts +16 -1
  628. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -1
  629. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js +16 -1
  630. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js.map +1 -1
  631. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts +2 -36
  632. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -1
  633. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js +20 -59
  634. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -1
  635. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts +1 -1
  636. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -1
  637. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.d.ts +47 -21
  638. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.d.ts.map +1 -1
  639. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.js +132 -43
  640. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.js.map +1 -1
  641. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +7 -2
  642. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
  643. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +47 -97
  644. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  645. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameTree.d.ts +39 -0
  646. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameTree.d.ts.map +1 -0
  647. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameTree.js +116 -0
  648. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameTree.js.map +1 -0
  649. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +2 -2
  650. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +2 -2
  651. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.d.ts +13 -67
  652. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.d.ts.map +1 -1
  653. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.js +124 -487
  654. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.js.map +1 -1
  655. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +5 -5
  656. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
  657. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +7 -9
  658. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
  659. package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/node/install.d.ts → esm/puppeteer/common/LazyArg.d.ts} +7 -7
  660. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts.map +1 -0
  661. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.js +41 -0
  662. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.js.map +1 -0
  663. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  664. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js +12 -2
  665. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
  666. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.d.ts +15 -0
  667. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.d.ts.map +1 -1
  668. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js +15 -0
  669. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js.map +1 -1
  670. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +1 -4
  671. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
  672. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +2 -2
  673. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
  674. package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/node → esm/puppeteer/common}/NodeWebSocketTransport.d.ts +1 -1
  675. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NodeWebSocketTransport.d.ts.map +1 -0
  676. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{node → common}/NodeWebSocketTransport.js +1 -15
  677. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NodeWebSocketTransport.js.map +1 -0
  678. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +35 -496
  679. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
  680. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +287 -414
  681. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
  682. package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/common/NetworkConditions.d.ts → esm/puppeteer/common/PredefinedNetworkConditions.d.ts} +13 -6
  683. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PredefinedNetworkConditions.d.ts.map +1 -0
  684. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{NetworkConditions.js → PredefinedNetworkConditions.js} +11 -7
  685. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PredefinedNetworkConditions.js.map +1 -0
  686. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts +36 -61
  687. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -1
  688. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js +33 -67
  689. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js.map +1 -1
  690. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts +26 -34
  691. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -1
  692. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +57 -94
  693. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  694. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +3 -2
  695. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
  696. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +2 -2
  697. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
  698. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.d.ts +52 -0
  699. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.d.ts.map +1 -0
  700. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js +199 -0
  701. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js.map +1 -0
  702. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts +4 -5
  703. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -1
  704. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js +23 -27
  705. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js.map +1 -1
  706. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Browser.d.ts +45 -0
  707. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Browser.d.ts.map +1 -0
  708. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Browser.js +71 -0
  709. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Browser.js.map +1 -0
  710. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/BrowserContext.d.ts +28 -0
  711. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/BrowserContext.d.ts.map +1 -0
  712. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/BrowserContext.js +48 -0
  713. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/BrowserContext.js.map +1 -0
  714. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Connection.d.ts +37 -0
  715. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Connection.d.ts.map +1 -0
  716. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Connection.js +129 -0
  717. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Connection.js.map +1 -0
  718. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Page.d.ts +28 -0
  719. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Page.d.ts.map +1 -0
  720. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Page.js +57 -0
  721. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/bidi/Page.js.map +1 -0
  722. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.d.ts +11 -0
  723. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.d.ts.map +1 -1
  724. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +0 -4
  725. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
  726. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +24 -57
  727. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
  728. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +4 -0
  729. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
  730. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js +7 -0
  731. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js.map +1 -1
  732. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +8 -2
  733. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts.map +1 -1
  734. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +8 -2
  735. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js.map +1 -1
  736. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
  737. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
  738. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PierceQuerySelector.d.ts +9 -0
  739. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PierceQuerySelector.d.ts.map +1 -0
  740. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PierceQuerySelector.js +66 -0
  741. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PierceQuerySelector.js.map +1 -0
  742. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.d.ts +32 -6
  743. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.d.ts.map +1 -1
  744. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.js +30 -7
  745. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.js.map +1 -1
  746. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextContent.d.ts +39 -0
  747. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextContent.d.ts.map +1 -0
  748. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextContent.js +128 -0
  749. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextContent.js.map +1 -0
  750. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.d.ts +28 -0
  751. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.d.ts.map +1 -0
  752. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.js +75 -0
  753. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.js.map +1 -0
  754. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts +24 -0
  755. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -0
  756. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.js +37 -0
  757. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.js.map +1 -0
  758. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +44 -1
  759. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -1
  760. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.js +41 -1
  761. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.js.map +1 -1
  762. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/util.d.ts +26 -0
  763. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/util.d.ts.map +1 -0
  764. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/util.js +53 -0
  765. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/util.js.map +1 -0
  766. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +50 -14
  767. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  768. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +137 -154
  769. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
  770. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts +6 -0
  771. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  772. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +14 -5
  773. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
  774. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts +6 -18
  775. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  776. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +89 -29
  777. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  778. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts +4 -18
  779. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
  780. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js +41 -34
  781. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -1
  782. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts +15 -0
  783. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
  784. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js +1 -16
  785. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  786. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.d.ts +24 -22
  787. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.d.ts.map +1 -1
  788. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.js +70 -124
  789. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.js.map +1 -1
  790. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/{Puppeteer.d.ts → PuppeteerNode.d.ts} +74 -43
  791. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.d.ts.map +1 -0
  792. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js +267 -0
  793. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js.map +1 -0
  794. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +21 -5
  795. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -1
  796. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js +22 -6
  797. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -1
  798. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +1 -1
  799. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
  800. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts +24 -18
  801. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts.map +1 -1
  802. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js +25 -22
  803. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js.map +1 -1
  804. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DebuggableDeferredPromise.d.ts +9 -0
  805. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DebuggableDeferredPromise.d.ts.map +1 -0
  806. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DebuggableDeferredPromise.js +18 -0
  807. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DebuggableDeferredPromise.js.map +1 -0
  808. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.d.ts +12 -10
  809. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.d.ts.map +1 -1
  810. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.js +16 -42
  811. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.js.map +1 -1
  812. package/front_end/third_party/puppeteer/package/lib/esm/third_party/mitt/index.d.ts +23 -0
  813. package/front_end/third_party/puppeteer/package/lib/esm/third_party/mitt/index.js +3 -0
  814. package/front_end/third_party/puppeteer/package/lib/types.d.ts +548 -513
  815. package/front_end/third_party/puppeteer/package/package.json +125 -104
  816. package/front_end/third_party/puppeteer/puppeteer.ts +3 -3
  817. package/front_end/ui/components/buttons/Button.ts +30 -1
  818. package/front_end/ui/components/buttons/button.css +21 -0
  819. package/front_end/ui/components/chrome_link/ChromeLink.ts +3 -2
  820. package/front_end/ui/components/chrome_link/chromeLink.css +1 -1
  821. package/front_end/ui/components/code_highlighter/CodeHighlighter.ts +21 -2
  822. package/front_end/ui/components/docs/button/basic.ts +43 -10
  823. package/front_end/ui/components/docs/elements_breadcrumbs/basic.ts +2 -0
  824. package/front_end/ui/components/docs/elements_breadcrumbs/scroll-to-active-element.ts +10 -3
  825. package/front_end/ui/components/docs/two_states_counter/basic.html +27 -0
  826. package/front_end/ui/components/docs/two_states_counter/basic.ts +45 -0
  827. package/front_end/ui/components/expandable_list/expandableList.css +1 -1
  828. package/front_end/ui/components/helpers/scheduled-render.ts +5 -2
  829. package/front_end/ui/components/icon_button/iconButton.css +2 -0
  830. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +23 -12
  831. package/front_end/ui/components/linkifier/linkifierImpl.css +1 -0
  832. package/front_end/ui/components/markdown_view/MarkdownImage.ts +0 -4
  833. package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +4 -0
  834. package/front_end/ui/components/markdown_view/MarkdownView.ts +39 -38
  835. package/front_end/ui/components/markdown_view/markdownLink.css +1 -0
  836. package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +12 -6
  837. package/front_end/ui/components/survey_link/surveyLink.css +1 -0
  838. package/front_end/ui/components/text_editor/TextEditor.ts +75 -9
  839. package/front_end/ui/components/text_editor/config.ts +58 -2
  840. package/front_end/ui/components/text_editor/position.ts +2 -0
  841. package/front_end/ui/components/text_editor/theme.ts +10 -0
  842. package/front_end/ui/components/text_prompt/textPrompt.css +4 -0
  843. package/front_end/ui/components/tree_outline/TreeOutline.ts +1 -8
  844. package/front_end/ui/components/tree_outline/treeOutline.css +20 -0
  845. package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +103 -0
  846. package/front_end/ui/components/two_states_counter/twoStatesCounter.css +37 -0
  847. package/front_end/ui/components/two_states_counter/two_states_counter.ts +9 -0
  848. package/front_end/ui/legacy/ARIAUtils.ts +4 -1
  849. package/front_end/ui/legacy/Context.ts +5 -1
  850. package/front_end/ui/legacy/DockController.ts +19 -0
  851. package/front_end/ui/legacy/FilterBar.ts +3 -1
  852. package/front_end/ui/legacy/InspectorView.ts +6 -2
  853. package/front_end/ui/legacy/ListWidget.ts +5 -1
  854. package/front_end/ui/legacy/SearchableView.ts +2 -19
  855. package/front_end/ui/legacy/SoftContextMenu.ts +20 -6
  856. package/front_end/ui/legacy/TabbedPane.ts +7 -5
  857. package/front_end/ui/legacy/TextPrompt.ts +1 -2
  858. package/front_end/ui/legacy/Toolbar.ts +6 -4
  859. package/front_end/ui/legacy/UIUtils.ts +8 -8
  860. package/front_end/ui/legacy/XLink.ts +3 -3
  861. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +9 -10
  862. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
  863. package/front_end/ui/legacy/components/data_grid/dataGrid.css +7 -6
  864. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +9 -2
  865. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +10 -2
  866. package/front_end/ui/legacy/components/inline_editor/CSSVarSwatch.ts +22 -9
  867. package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +3 -2
  868. package/front_end/ui/legacy/components/inline_editor/cssLength.css +4 -0
  869. package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +15 -9
  870. package/front_end/ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.ts +9 -1
  871. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +75 -377
  872. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +3 -14
  873. package/front_end/ui/legacy/components/quick_open/HelpQuickOpen.ts +2 -14
  874. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +9 -41
  875. package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -2
  876. package/front_end/ui/legacy/inspectorCommon.css +23 -0
  877. package/front_end/ui/legacy/inspectorSyntaxHighlight.css +1 -0
  878. package/front_end/ui/legacy/reportView.css +10 -0
  879. package/front_end/ui/legacy/softContextMenu.css +11 -1
  880. package/front_end/ui/legacy/splitWidget.css +1 -1
  881. package/front_end/ui/legacy/tabbedPane.css +26 -4
  882. package/front_end/ui/legacy/theme_support/theme_support_impl.ts +3 -5
  883. package/front_end/ui/legacy/toolbar.css +7 -1
  884. package/package.json +2 -1
  885. package/scripts/eslint_rules/lib/no_only.js +27 -0
  886. package/scripts/eslint_rules/tests/no_only_test.js +95 -0
  887. package/docs/localization/README.md +0 -6
  888. package/docs/localization/adding_strings.md +0 -133
  889. package/docs/localization/descriptions.md +0 -30
  890. package/docs/localization/localization_apis.md +0 -80
  891. package/docs/localization/locked_terms.md +0 -38
  892. package/docs/testing_guidelines.md +0 -4
  893. package/docs/triage_guidelines.md +0 -3
  894. package/front_end/entrypoints/formatter_worker/HTMLOutline.ts +0 -53
  895. package/front_end/entrypoints/formatter_worker/JavaScriptOutline.ts +0 -153
  896. package/front_end/legacy_test_runner/lighthouse_test_runner/lighthouse_test_runner.js +0 -155
  897. package/front_end/models/timeline_model/TimelineIRModel.ts +0 -317
  898. package/front_end/panels/input/InputModel.ts +0 -213
  899. package/front_end/panels/input/InputTimeline.ts +0 -407
  900. package/front_end/panels/input/input-legacy.ts +0 -32
  901. package/front_end/panels/input/input-meta.ts +0 -130
  902. package/front_end/panels/input/input.ts +0 -11
  903. package/front_end/panels/input/inputTimeline.css +0 -16
  904. package/front_end/panels/lighthouse/LighthouseStartViewFR.ts +0 -179
  905. package/front_end/panels/sources/JavaScriptCompilerPlugin.ts +0 -145
  906. package/front_end/third_party/acorn-loose/README.chromium +0 -22
  907. package/front_end/third_party/acorn-loose/acorn-loose-tsconfig.json +0 -8
  908. package/front_end/third_party/acorn-loose/acorn-loose.ts +0 -9
  909. package/front_end/third_party/acorn-loose/package/CHANGELOG.md +0 -123
  910. package/front_end/third_party/acorn-loose/package/LICENSE +0 -21
  911. package/front_end/third_party/acorn-loose/package/README.md +0 -66
  912. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.d.ts +0 -16
  913. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.js +0 -1538
  914. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.js.map +0 -1
  915. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs +0 -1528
  916. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs.d.ts +0 -10
  917. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs.map +0 -1
  918. package/front_end/third_party/acorn-loose/package/package.json +0 -47
  919. package/front_end/third_party/puppeteer/package/LICENSE +0 -202
  920. package/front_end/third_party/puppeteer/package/install.js +0 -89
  921. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +0 -60
  922. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +0 -1
  923. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +0 -1
  924. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +0 -1
  925. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.js.map +0 -1
  926. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts +0 -6
  927. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts.map +0 -1
  928. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js +0 -21
  929. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js.map +0 -1
  930. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts +0 -5
  931. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts.map +0 -1
  932. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js +0 -10
  933. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js.map +0 -1
  934. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.d.ts.map +0 -1
  935. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js +0 -47
  936. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js.map +0 -1
  937. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +0 -1
  938. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +0 -1
  939. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +0 -1
  940. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +0 -213
  941. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +0 -1
  942. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.d.ts.map +0 -1
  943. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +0 -198
  944. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +0 -1
  945. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.d.ts +0 -10
  946. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.d.ts.map +0 -1
  947. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.js +0 -40
  948. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.js.map +0 -1
  949. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts +0 -27
  950. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts.map +0 -1
  951. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js +0 -44
  952. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js.map +0 -1
  953. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.d.ts +0 -2
  954. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.d.ts.map +0 -1
  955. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.js +0 -19
  956. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.js.map +0 -1
  957. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.d.ts +0 -27
  958. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.js +0 -56
  959. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +0 -60
  960. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +0 -1
  961. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js.map +0 -1
  962. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +0 -1
  963. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.js.map +0 -1
  964. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts +0 -6
  965. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts.map +0 -1
  966. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js +0 -20
  967. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js.map +0 -1
  968. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts +0 -5
  969. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts.map +0 -1
  970. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js +0 -7
  971. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js.map +0 -1
  972. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.d.ts.map +0 -1
  973. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js +0 -43
  974. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js.map +0 -1
  975. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +0 -1
  976. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +0 -1
  977. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts.map +0 -1
  978. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +0 -209
  979. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js.map +0 -1
  980. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts.map +0 -1
  981. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js +0 -190
  982. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js.map +0 -1
  983. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.d.ts +0 -10
  984. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.d.ts.map +0 -1
  985. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.js +0 -13
  986. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.js.map +0 -1
  987. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts +0 -27
  988. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts.map +0 -1
  989. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.js.map +0 -1
  990. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.d.ts +0 -2
  991. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.d.ts.map +0 -1
  992. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.js +0 -15
  993. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.js.map +0 -1
  994. package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.d.ts +0 -27
  995. package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.js +0 -53
  996. package/front_end/third_party/puppeteer/package/typescript-if-required.js +0 -70
  997. package/scripts/eslint_rules/lib/render_coordinator_write.js +0 -58
  998. package/scripts/eslint_rules/tests/render_coordinator_write_test.js +0 -55
@@ -85,6 +85,8 @@ export declare type ActionResult = 'continue' | 'abort' | 'respond';
85
85
 
86
86
  /* Excluded from this release type: ariaHandler */
87
87
 
88
+ /* Excluded from this release type: assert */
89
+
88
90
  /**
89
91
  * @public
90
92
  */
@@ -162,18 +164,15 @@ export declare interface BoxModel {
162
164
  * @public
163
165
  */
164
166
  export declare class Browser extends EventEmitter {
165
- #private;
166
- /* Excluded from this release type: _create */
167
- /* Excluded from this release type: _targets */
168
167
  /* Excluded from this release type: __constructor */
169
168
  /* Excluded from this release type: _attach */
170
169
  /* Excluded from this release type: _detach */
170
+ /* Excluded from this release type: _targets */
171
171
  /**
172
172
  * The spawned browser process. Returns `null` if the browser instance was created with
173
173
  * {@link Puppeteer.connect}.
174
174
  */
175
175
  process(): ChildProcess | null;
176
- /* Excluded from this release type: _targetManager */
177
176
  /* Excluded from this release type: _getIsPageTargetCallback */
178
177
  /**
179
178
  * Creates a new incognito browser context. This won't share cookies/cache with other
@@ -325,6 +324,7 @@ export declare interface BrowserConnectOptions {
325
324
  */
326
325
  targetFilter?: TargetFilterCallback;
327
326
  /* Excluded from this release type: _isPageTarget */
327
+ /* Excluded from this release type: protocol */
328
328
  }
329
329
 
330
330
  /**
@@ -362,7 +362,6 @@ export declare interface BrowserConnectOptions {
362
362
  * @public
363
363
  */
364
364
  export declare class BrowserContext extends EventEmitter {
365
- #private;
366
365
  /* Excluded from this release type: __constructor */
367
366
  /**
368
367
  * An array of all active targets inside the browser context.
@@ -451,6 +450,7 @@ export declare class BrowserContext extends EventEmitter {
451
450
  * Only incognito browser contexts can be closed.
452
451
  */
453
452
  close(): Promise<void>;
453
+ get id(): string | undefined;
454
454
  }
455
455
 
456
456
  /**
@@ -490,7 +490,7 @@ export declare interface BrowserContextOptions {
490
490
  */
491
491
  proxyServer?: string;
492
492
  /**
493
- * Bypass the proxy for the given semi-colon-separated list of hosts.
493
+ * Bypass the proxy for the given list of hosts.
494
494
  */
495
495
  proxyBypassList?: string[];
496
496
  }
@@ -542,33 +542,44 @@ export declare const enum BrowserEmittedEvents {
542
542
  }
543
543
 
544
544
  /**
545
- * BrowserFetcher can download and manage different versions of Chromium and Firefox.
545
+ * BrowserFetcher can download and manage different versions of Chromium and
546
+ * Firefox.
547
+ *
548
+ * @remarks
549
+ * BrowserFetcher operates on revision strings that specify a precise version of
550
+ * Chromium, e.g. `"533271"`. Revision strings can be obtained from
551
+ * {@link http://omahaproxy.appspot.com/ | omahaproxy.appspot.com}. For Firefox,
552
+ * BrowserFetcher downloads Firefox Nightly and operates on version numbers such
553
+ * as `"75"`.
546
554
  *
547
555
  * @remarks
548
- * BrowserFetcher operates on revision strings that specify a precise version of Chromium, e.g. `"533271"`. Revision strings can be obtained from {@link http://omahaproxy.appspot.com/ | omahaproxy.appspot.com}.
549
- * In the Firefox case, BrowserFetcher downloads Firefox Nightly and
550
- * operates on version numbers such as `"75"`.
556
+ * The default constructed fetcher will always be for Chromium unless otherwise
557
+ * specified.
558
+ *
559
+ * @remarks
560
+ * BrowserFetcher is not designed to work concurrently with other instances of
561
+ * BrowserFetcher that share the same downloads directory.
551
562
  *
552
563
  * @example
553
564
  * An example of using BrowserFetcher to download a specific version of Chromium
554
565
  * and running Puppeteer against it:
555
566
  *
556
567
  * ```ts
557
- * const browserFetcher = puppeteer.createBrowserFetcher();
568
+ * const browserFetcher = new BrowserFetcher({path: 'path/to/download/folder'});
558
569
  * const revisionInfo = await browserFetcher.download('533271');
559
570
  * const browser = await puppeteer.launch({
560
571
  * executablePath: revisionInfo.executablePath,
561
572
  * });
562
573
  * ```
563
574
  *
564
- * **NOTE** BrowserFetcher is not designed to work concurrently with other
565
- * instances of BrowserFetcher that share the same downloads directory.
566
- *
567
575
  * @public
568
576
  */
569
577
  export declare class BrowserFetcher {
570
578
  #private;
571
- /* Excluded from this release type: __constructor */
579
+ /**
580
+ * Constructs a browser fetcher for the given options.
581
+ */
582
+ constructor(options: BrowserFetcherOptions);
572
583
  /**
573
584
  * @returns Returns the current `Platform`, which is one of `mac`, `linux`,
574
585
  * `win32` or `win64`.
@@ -606,10 +617,10 @@ export declare class BrowserFetcher {
606
617
  /**
607
618
  * @remarks
608
619
  * This method is affected by the current `product`.
609
- * @returns A promise with a list of all revision strings (for the current `product`)
620
+ * @returns A list of all revision strings (for the current `product`)
610
621
  * available locally on disk.
611
622
  */
612
- localRevisions(): Promise<string[]>;
623
+ localRevisions(): string[];
613
624
  /**
614
625
  * @remarks
615
626
  * This method is affected by the current `product`.
@@ -629,10 +640,38 @@ export declare class BrowserFetcher {
629
640
  * @public
630
641
  */
631
642
  export declare interface BrowserFetcherOptions {
643
+ /**
644
+ * Determines the path to download browsers to.
645
+ */
646
+ path: string;
647
+ /**
648
+ * Determines which platform the browser will be suited for.
649
+ *
650
+ * @defaultValue Auto-detected.
651
+ */
632
652
  platform?: Platform;
633
- product?: string;
634
- path?: string;
653
+ /**
654
+ * Determines which product the {@link BrowserFetcher} is for.
655
+ *
656
+ * @defaultValue `"chrome"`.
657
+ */
658
+ product?: 'chrome' | 'firefox';
659
+ /**
660
+ * Determines the host that will be used for downloading.
661
+ *
662
+ * @defaultValue Either
663
+ *
664
+ * - https://storage.googleapis.com or
665
+ * - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central
666
+ *
667
+ */
635
668
  host?: string;
669
+ /**
670
+ * Enables the use of the Chromium binary for macOS ARM.
671
+ *
672
+ * @experimental
673
+ */
674
+ useMacOSARMBinary?: boolean;
636
675
  }
637
676
 
638
677
  /**
@@ -684,6 +723,12 @@ export declare interface BrowserLaunchArgumentOptions {
684
723
 
685
724
  /* Excluded from this release type: BrowserWebSocketTransport */
686
725
 
726
+ /* Excluded from this release type: CDPBrowser */
727
+
728
+ /* Excluded from this release type: CDPBrowserContext */
729
+
730
+ /* Excluded from this release type: CDPPage */
731
+
687
732
  /**
688
733
  * The `CDPSession` instances are used to talk raw Chrome Devtools Protocol.
689
734
  *
@@ -713,17 +758,14 @@ export declare interface BrowserLaunchArgumentOptions {
713
758
  * @public
714
759
  */
715
760
  export declare class CDPSession extends EventEmitter {
716
- #private;
717
761
  /* Excluded from this release type: __constructor */
718
762
  connection(): Connection | undefined;
719
763
  send<T extends keyof ProtocolMapping.Commands>(method: T, ...paramArgs: ProtocolMapping.Commands[T]['paramsType']): Promise<ProtocolMapping.Commands[T]['returnType']>;
720
- /* Excluded from this release type: _onMessage */
721
764
  /**
722
765
  * Detaches the cdpSession from the target. Once detached, the cdpSession object
723
766
  * won't emit any events and can't be used to send messages.
724
767
  */
725
768
  detach(): Promise<void>;
726
- /* Excluded from this release type: _onClosed */
727
769
  /**
728
770
  * Returns the session's id.
729
771
  */
@@ -738,12 +780,10 @@ declare interface CDPSession_3 extends EventEmitter {
738
780
  send<T extends keyof ProtocolMapping.Commands>(method: T, ...paramArgs: ProtocolMapping.Commands[T]['paramsType']): Promise<ProtocolMapping.Commands[T]['returnType']>;
739
781
  }
740
782
 
741
- declare interface CDPSession_4 extends EventEmitter {
742
- send<T extends keyof ProtocolMapping.Commands>(method: T, ...paramArgs: ProtocolMapping.Commands[T]['paramsType']): Promise<ProtocolMapping.Commands[T]['returnType']>;
743
- }
744
-
745
783
  /* Excluded from this release type: CDPSessionEmittedEvents */
746
784
 
785
+ /* Excluded from this release type: CDPSessionImpl */
786
+
747
787
  /**
748
788
  * @public
749
789
  */
@@ -769,7 +809,8 @@ export declare type ChromeReleaseChannel = 'chrome' | 'chrome-beta' | 'chrome-ca
769
809
  /* Excluded from this release type: ChromeTargetManager */
770
810
 
771
811
  /**
772
- * Clears all registered handlers.
812
+ * @deprecated Import {@link Puppeteer} and use the static method
813
+ * {@link Puppeteer.clearCustomQueryHandlers}
773
814
  *
774
815
  * @public
775
816
  */
@@ -794,11 +835,16 @@ export declare interface ClickOptions {
794
835
  */
795
836
  clickCount?: number;
796
837
  /**
797
- * Offset for the clickable point relative to the top-left corder of the border box.
838
+ * Offset for the clickable point relative to the top-left corner of the border box.
798
839
  */
799
840
  offset?: Offset;
800
841
  }
801
842
 
843
+ declare interface CommandResponse {
844
+ id: number;
845
+ result: object;
846
+ }
847
+
802
848
  /**
803
849
  * @public
804
850
  */
@@ -815,6 +861,101 @@ export declare interface CommonEventEmitter {
815
861
 
816
862
  /* Excluded from this release type: CommonPuppeteerSettings */
817
863
 
864
+ /**
865
+ * Defines options to configure Puppeteer's behavior during installation and
866
+ * runtime.
867
+ *
868
+ * See individual properties for more information.
869
+ *
870
+ * @public
871
+ */
872
+ export declare interface Configuration {
873
+ /**
874
+ * Specifies a certain version of the browser you'd like Puppeteer to use.
875
+ *
876
+ * Can be overridden by `PUPPETEER_BROWSER_REVISION`.
877
+ *
878
+ * See {@link PuppeteerNode.launch | puppeteer.launch} on how executable path
879
+ * is inferred.
880
+ *
881
+ * @defaultValue A compatible-revision of the browser.
882
+ */
883
+ browserRevision?: string;
884
+ /**
885
+ * Defines the directory to be used by Puppeteer for caching.
886
+ *
887
+ * Can be overridden by `PUPPETEER_CACHE_DIR`.
888
+ *
889
+ * @defaultValue `path.join(os.homedir(), '.cache', 'puppeteer')`
890
+ */
891
+ cacheDirectory?: string;
892
+ /**
893
+ * Specifies the URL prefix that is used to download Chromium.
894
+ *
895
+ * Can be overridden by `PUPPETEER_DOWNLOAD_HOST`.
896
+ *
897
+ * @remarks
898
+ * This must include the protocol and may even need a path prefix.
899
+ *
900
+ * @defaultValue Either https://storage.googleapis.com or
901
+ * https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central,
902
+ * depending on the product.
903
+ */
904
+ downloadHost?: string;
905
+ /**
906
+ * Specifies the path for the downloads folder.
907
+ *
908
+ * Can be overridden by `PUPPETEER_DOWNLOAD_PATH`.
909
+ *
910
+ * @defaultValue `<cache>/<product>` where `<cache>` is Puppeteer's cache
911
+ * directory and `<product>` is the name of the browser.
912
+ */
913
+ downloadPath?: string;
914
+ /**
915
+ * Specifies an executable path to be used in
916
+ * {@link PuppeteerNode.launch | puppeteer.launch}.
917
+ *
918
+ * Can be overridden by `PUPPETEER_EXECUTABLE_PATH`.
919
+ *
920
+ * @defaultValue Auto-computed.
921
+ */
922
+ executablePath?: string;
923
+ /**
924
+ * Specifies which browser you'd like Puppeteer to use.
925
+ *
926
+ * Can be overridden by `PUPPETEER_PRODUCT`.
927
+ *
928
+ * @defaultValue `'chrome'`
929
+ */
930
+ defaultProduct?: Product;
931
+ /**
932
+ * Defines the directory to be used by Puppeteer for creating temporary files.
933
+ *
934
+ * Can be overridden by `PUPPETEER_TMP_DIR`.
935
+ *
936
+ * @defaultValue `os.tmpdir()`
937
+ */
938
+ temporaryDirectory?: string;
939
+ /**
940
+ * Tells Puppeteer to not download during installation.
941
+ *
942
+ * Can be overridden by `PUPPETEER_SKIP_DOWNLOAD`.
943
+ */
944
+ skipDownload?: boolean;
945
+ /**
946
+ * Tells Puppeteer to log at the given level.
947
+ *
948
+ * At the moment, any option silences logging.
949
+ *
950
+ * @defaultValue `undefined`
951
+ */
952
+ logLevel?: 'silent' | 'error' | 'warn';
953
+ /**
954
+ * Defines experimental options for Puppeteer.
955
+ */
956
+ experiments?: ExperimentsConfiguration;
957
+ }
958
+
818
959
  export declare const connect: (options: ConnectOptions) => Promise<Browser>;
819
960
 
820
961
  /**
@@ -845,6 +986,8 @@ export declare class Connection extends EventEmitter {
845
986
  createSession(targetInfo: Protocol.Target.TargetInfo): Promise<CDPSession>;
846
987
  }
847
988
 
989
+ /* Excluded from this release type: Connection_2 */
990
+
848
991
  /**
849
992
  * @public
850
993
  */
@@ -891,7 +1034,7 @@ export declare interface ConnectOptions extends BrowserConnectOptions {
891
1034
  transport?: ConnectionTransport;
892
1035
  }
893
1036
 
894
- /* Excluded from this release type: _connectToBrowser */
1037
+ /* Excluded from this release type: _connectToCDPBrowser */
895
1038
 
896
1039
  /* Excluded from this release type: ConsoleAPICalledCallback */
897
1040
 
@@ -1006,14 +1149,16 @@ export declare class Coverage {
1006
1149
  constructor(client: CDPSession);
1007
1150
  /**
1008
1151
  * @param options - Set of configurable options for coverage defaults to
1009
- * `resetOnNavigation : true, reportAnonymousScripts : false`
1152
+ * `resetOnNavigation : true, reportAnonymousScripts : false,`
1153
+ * `includeRawScriptCoverage : false, useBlockCoverage : true`
1010
1154
  * @returns Promise that resolves when coverage is started.
1011
1155
  *
1012
1156
  * @remarks
1013
1157
  * Anonymous scripts are ones that don't have an associated url. These are
1014
1158
  * scripts that are dynamically created on the page using `eval` or
1015
1159
  * `new Function`. If `reportAnonymousScripts` is set to `true`, anonymous
1016
- * scripts will have `pptr://__puppeteer_evaluation_script__` as their URL.
1160
+ * scripts URL will start with `debugger://VM` (unless a magic //# sourceURL
1161
+ * comment is present, in which case that will the be URL).
1017
1162
  */
1018
1163
  startJSCoverage(options?: JSCoverageOptions): Promise<void>;
1019
1164
  /**
@@ -1063,11 +1208,23 @@ export declare interface CoverageEntry {
1063
1208
  }>;
1064
1209
  }
1065
1210
 
1066
- export declare const createBrowserFetcher: (options: BrowserFetcherOptions) => BrowserFetcher;
1211
+ /**
1212
+ * @deprecated Construct {@link BrowserFetcher} manually.
1213
+ *
1214
+ * @public
1215
+ */
1216
+ export declare const /**
1217
+ * @deprecated Construct {@link BrowserFetcher} manually.
1218
+ *
1219
+ * @public
1220
+ */
1221
+ createBrowserFetcher: (options: Partial<BrowserFetcherOptions>) => BrowserFetcher;
1067
1222
 
1068
- /* Excluded from this release type: createJSHandle */
1223
+ /* Excluded from this release type: createDebuggableDeferredPromise */
1069
1224
 
1070
- /* Excluded from this release type: createLauncher */
1225
+ /* Excluded from this release type: createDeferredPromise */
1226
+
1227
+ /* Excluded from this release type: createJSHandle */
1071
1228
 
1072
1229
  /**
1073
1230
  * @public
@@ -1116,10 +1273,12 @@ export declare interface CSSCoverageOptions {
1116
1273
  * limitations under the License.
1117
1274
  */
1118
1275
  /**
1276
+ * @deprecated Do not use.
1277
+ *
1119
1278
  * @public
1120
1279
  */
1121
1280
  export declare class CustomError extends Error {
1122
- constructor(message?: string);
1281
+ /* Excluded from this release type: __constructor */
1123
1282
  }
1124
1283
 
1125
1284
  /**
@@ -1137,7 +1296,8 @@ export declare interface CustomQueryHandler {
1137
1296
  }
1138
1297
 
1139
1298
  /**
1140
- * @returns a list with the names of all registered custom query handlers.
1299
+ * @deprecated Import {@link Puppeteer} and use the static method
1300
+ * {@link Puppeteer.customQueryHandlerNames}
1141
1301
  *
1142
1302
  * @public
1143
1303
  */
@@ -1156,66 +1316,26 @@ export declare const DEFAULT_INTERCEPT_RESOLUTION_PRIORITY = 0;
1156
1316
 
1157
1317
  export declare const defaultArgs: (options?: BrowserLaunchArgumentOptions) => string[];
1158
1318
 
1159
- /**
1160
- * Copyright 2017 Google Inc. All rights reserved.
1161
- *
1162
- * Licensed under the Apache License, Version 2.0 (the "License");
1163
- * you may not use this file except in compliance with the License.
1164
- * You may obtain a copy of the License at
1165
- *
1166
- * http://www.apache.org/licenses/LICENSE-2.0
1167
- *
1168
- * Unless required by applicable law or agreed to in writing, software
1169
- * distributed under the License is distributed on an "AS IS" BASIS,
1170
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1171
- * See the License for the specific language governing permissions and
1172
- * limitations under the License.
1173
- */
1319
+ /* Excluded from this release type: DEFERRED_PROMISE_DEBUG_TIMEOUT */
1320
+
1321
+ /* Excluded from this release type: DeferredPromise */
1322
+
1323
+ /* Excluded from this release type: DeferredPromiseOptions */
1324
+
1174
1325
  /**
1175
1326
  * @public
1176
1327
  */
1177
1328
  export declare interface Device {
1178
- name: string;
1179
1329
  userAgent: string;
1180
- viewport: {
1181
- width: number;
1182
- height: number;
1183
- deviceScaleFactor: number;
1184
- isMobile: boolean;
1185
- hasTouch: boolean;
1186
- isLandscape: boolean;
1187
- };
1330
+ viewport: Viewport;
1188
1331
  }
1189
1332
 
1190
1333
  /**
1191
- * A list of devices to be used with `page.emulate(options)`. Actual list of devices can be found in {@link https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts | src/common/DeviceDescriptors.ts}.
1192
- *
1193
- * @example
1194
- *
1195
- * ```ts
1196
- * const puppeteer = require('puppeteer');
1197
- * const iPhone = puppeteer.devices['iPhone 6'];
1198
- *
1199
- * (async () => {
1200
- * const browser = await puppeteer.launch();
1201
- * const page = await browser.newPage();
1202
- * await page.emulate(iPhone);
1203
- * await page.goto('https://www.google.com');
1204
- * // other actions...
1205
- * await browser.close();
1206
- * })();
1207
- * ```
1334
+ * @deprecated Import {@link KnownDevices}
1208
1335
  *
1209
1336
  * @public
1210
1337
  */
1211
- export declare const devices: DevicesMap;
1212
-
1213
- /**
1214
- * @public
1215
- */
1216
- export declare type DevicesMap = {
1217
- [name: string]: Device;
1218
- };
1338
+ export declare const devices: Readonly<Record<"Blackberry PlayBook" | "Blackberry PlayBook landscape" | "BlackBerry Z30" | "BlackBerry Z30 landscape" | "Galaxy Note 3" | "Galaxy Note 3 landscape" | "Galaxy Note II" | "Galaxy Note II landscape" | "Galaxy S III" | "Galaxy S III landscape" | "Galaxy S5" | "Galaxy S5 landscape" | "Galaxy S8" | "Galaxy S8 landscape" | "Galaxy S9+" | "Galaxy S9+ landscape" | "Galaxy Tab S4" | "Galaxy Tab S4 landscape" | "iPad" | "iPad landscape" | "iPad (gen 6)" | "iPad (gen 6) landscape" | "iPad (gen 7)" | "iPad (gen 7) landscape" | "iPad Mini" | "iPad Mini landscape" | "iPad Pro" | "iPad Pro landscape" | "iPad Pro 11" | "iPad Pro 11 landscape" | "iPhone 4" | "iPhone 4 landscape" | "iPhone 5" | "iPhone 5 landscape" | "iPhone 6" | "iPhone 6 landscape" | "iPhone 6 Plus" | "iPhone 6 Plus landscape" | "iPhone 7" | "iPhone 7 landscape" | "iPhone 7 Plus" | "iPhone 7 Plus landscape" | "iPhone 8" | "iPhone 8 landscape" | "iPhone 8 Plus" | "iPhone 8 Plus landscape" | "iPhone SE" | "iPhone SE landscape" | "iPhone X" | "iPhone X landscape" | "iPhone XR" | "iPhone XR landscape" | "iPhone 11" | "iPhone 11 landscape" | "iPhone 11 Pro" | "iPhone 11 Pro landscape" | "iPhone 11 Pro Max" | "iPhone 11 Pro Max landscape" | "iPhone 12" | "iPhone 12 landscape" | "iPhone 12 Pro" | "iPhone 12 Pro landscape" | "iPhone 12 Pro Max" | "iPhone 12 Pro Max landscape" | "iPhone 12 Mini" | "iPhone 12 Mini landscape" | "iPhone 13" | "iPhone 13 landscape" | "iPhone 13 Pro" | "iPhone 13 Pro landscape" | "iPhone 13 Pro Max" | "iPhone 13 Pro Max landscape" | "iPhone 13 Mini" | "iPhone 13 Mini landscape" | "JioPhone 2" | "JioPhone 2 landscape" | "Kindle Fire HDX" | "Kindle Fire HDX landscape" | "LG Optimus L70" | "LG Optimus L70 landscape" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Microsoft Lumia 950 landscape" | "Nexus 10" | "Nexus 10 landscape" | "Nexus 4" | "Nexus 4 landscape" | "Nexus 5" | "Nexus 5 landscape" | "Nexus 5X" | "Nexus 5X landscape" | "Nexus 6" | "Nexus 6 landscape" | "Nexus 6P" | "Nexus 6P landscape" | "Nexus 7" | "Nexus 7 landscape" | "Nokia Lumia 520" | "Nokia Lumia 520 landscape" | "Nokia N9" | "Nokia N9 landscape" | "Pixel 2" | "Pixel 2 landscape" | "Pixel 2 XL" | "Pixel 2 XL landscape" | "Pixel 3" | "Pixel 3 landscape" | "Pixel 4" | "Pixel 4 landscape" | "Pixel 4a (5G)" | "Pixel 4a (5G) landscape" | "Pixel 5" | "Pixel 5 landscape" | "Moto G4" | "Moto G4 landscape", Device>>;
1219
1339
 
1220
1340
  /**
1221
1341
  * Dialog instances are dispatched by the {@link Page} via the `dialog` event.
@@ -1270,8 +1390,6 @@ export declare class Dialog {
1270
1390
  dismiss(): Promise<void>;
1271
1391
  }
1272
1392
 
1273
- /* Excluded from this release type: downloadBrowser */
1274
-
1275
1393
  /**
1276
1394
  * ElementHandle represents an in-page DOM element.
1277
1395
  *
@@ -1308,6 +1426,7 @@ export declare class Dialog {
1308
1426
  export declare class ElementHandle<ElementType extends Node = Element> extends JSHandle<ElementType> {
1309
1427
  #private;
1310
1428
  /* Excluded from this release type: __constructor */
1429
+ get frame(): Frame;
1311
1430
  /**
1312
1431
  * Queries the current element for an element matching the given selector.
1313
1432
  *
@@ -1394,7 +1513,12 @@ export declare class ElementHandle<ElementType extends Node = Element> extends J
1394
1513
  /**
1395
1514
  * @deprecated Use {@link ElementHandle.$$} with the `xpath` prefix.
1396
1515
  *
1516
+ * Example: `await elementHandle.$$('xpath/' + xpathExpression)`
1517
+ *
1397
1518
  * The method evaluates the XPath expression relative to the elementHandle.
1519
+ * If `xpath` starts with `//` instead of `.//`, the dot will be appended
1520
+ * automatically.
1521
+ *
1398
1522
  * If there are no such elements, the method will resolve to an empty array.
1399
1523
  * @param expression - Expression to {@link https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate | evaluate}
1400
1524
  */
@@ -1436,11 +1560,15 @@ export declare class ElementHandle<ElementType extends Node = Element> extends J
1436
1560
  * @returns An element matching the given selector.
1437
1561
  * @throws Throws if an element matching the given selector doesn't appear.
1438
1562
  */
1439
- waitForSelector<Selector extends string>(selector: Selector, options?: Exclude<WaitForSelectorOptions, 'root'>): Promise<ElementHandle<NodeFor<Selector>> | null>;
1563
+ waitForSelector<Selector extends string>(selector: Selector, options?: WaitForSelectorOptions): Promise<ElementHandle<NodeFor<Selector>> | null>;
1440
1564
  /**
1441
1565
  * @deprecated Use {@link ElementHandle.waitForSelector} with the `xpath`
1442
1566
  * prefix.
1443
1567
  *
1568
+ * Example: `await elementHandle.waitForSelector('xpath/' + xpathExpression)`
1569
+ *
1570
+ * The method evaluates the XPath expression relative to the elementHandle.
1571
+ *
1444
1572
  * Wait for the `xpath` within the element. If at the moment of calling the
1445
1573
  * method the `xpath` already exists, the method will return immediately. If
1446
1574
  * the `xpath` doesn't appear after the `timeout` milliseconds of waiting, the
@@ -1449,7 +1577,7 @@ export declare class ElementHandle<ElementType extends Node = Element> extends J
1449
1577
  * If `xpath` starts with `//` instead of `.//`, the dot will be appended
1450
1578
  * automatically.
1451
1579
  *
1452
- * This method works across navigation
1580
+ * This method works across navigation.
1453
1581
  *
1454
1582
  * ```ts
1455
1583
  * const puppeteer = require('puppeteer');
@@ -1657,7 +1785,11 @@ export declare class ElementHandle<ElementType extends Node = Element> extends J
1657
1785
  */
1658
1786
  export declare type ErrorCode = 'aborted' | 'accessdenied' | 'addressunreachable' | 'blockedbyclient' | 'blockedbyresponse' | 'connectionaborted' | 'connectionclosed' | 'connectionfailed' | 'connectionrefused' | 'connectionreset' | 'internetdisconnected' | 'namenotresolved' | 'timedout' | 'failed';
1659
1787
 
1788
+ /* Excluded from this release type: ErrorLike */
1789
+
1660
1790
  /**
1791
+ * @deprecated Import error classes directly.
1792
+ *
1661
1793
  * Puppeteer methods might throw errors if they are unable to fulfill a request.
1662
1794
  * For example, `page.waitForSelector(selector[, options])` might fail if the
1663
1795
  * selector doesn't match any nodes during the given timeframe.
@@ -1672,7 +1804,7 @@ export declare type ErrorCode = 'aborted' | 'accessdenied' | 'addressunreachable
1672
1804
  * try {
1673
1805
  * await page.waitForSelector('.foo');
1674
1806
  * } catch (e) {
1675
- * if (e instanceof puppeteer.errors.TimeoutError) {
1807
+ * if (e instanceof TimeoutError) {
1676
1808
  * // Do something if this is a timeout.
1677
1809
  * }
1678
1810
  * }
@@ -1766,169 +1898,35 @@ export declare class EventEmitter implements CommonEventEmitter {
1766
1898
  private eventListenersCount;
1767
1899
  }
1768
1900
 
1769
- /**
1770
- * @public
1771
- */
1772
1901
  export declare type EventType = string | symbol;
1773
1902
 
1774
1903
  /* Excluded from this release type: ExceptionThrownCallback */
1775
1904
 
1776
- export declare const executablePath: (channel?: string | undefined) => string;
1905
+ export declare const executablePath: (channel?: ChromeReleaseChannel | undefined) => string;
1777
1906
 
1778
- /* Excluded from this release type: executablePathForChannel */
1907
+ /* Excluded from this release type: ExecutionContext */
1779
1908
 
1780
1909
  /**
1781
- * @deprecated Do not use directly.
1782
- *
1783
- * Represents a context for JavaScript execution.
1784
- *
1785
- * @example
1786
- * A {@link Page} can have several execution contexts:
1787
- *
1788
- * - Each {@link Frame} of a {@link Page | page} has a "default" execution
1789
- * context that is always created after frame is attached to DOM. This context
1790
- * is returned by the {@link Frame.executionContext} method.
1791
- * - Each {@link https://developer.chrome.com/extensions | Chrome extensions}
1792
- * creates additional execution contexts to isolate their code.
1910
+ * Defines experiment options for Puppeteer.
1793
1911
  *
1794
- * @remarks
1795
- * By definition, each context is isolated from one another, however they are
1796
- * all able to manipulate non-JavaScript resources (such as DOM).
1912
+ * See individual properties for more information.
1797
1913
  *
1798
- * @remarks
1799
- * Besides pages, execution contexts can be found in
1800
- * {@link WebWorker | workers}.
1914
+ * @public
1801
1915
  */
1802
- export declare class ExecutionContext {
1803
- #private;
1804
- /* Excluded from this release type: _client */
1805
- /* Excluded from this release type: _world */
1806
- /* Excluded from this release type: _contextId */
1807
- /* Excluded from this release type: _contextName */
1808
- /* Excluded from this release type: __constructor */
1916
+ export declare interface ExperimentsConfiguration {
1809
1917
  /**
1810
- * @returns The frame associated with this execution context.
1918
+ * Require Puppeteer to download Chromium for Apple M1.
1811
1919
  *
1812
- * @remarks
1813
- * Not every execution context is associated with a frame. For example,
1814
- * {@link WebWorker | workers} have execution contexts that are not associated
1815
- * with frames.
1816
- */
1817
- frame(): Frame | null;
1818
- /**
1819
- * Evaluates the given function.
1920
+ * On Apple M1 devices Puppeteer by default downloads the version for
1921
+ * Intel's processor which runs via Rosetta. It works without any problems,
1922
+ * however, with this option, you should get more efficient resource usage
1923
+ * (CPU and RAM) that could lead to a faster execution time.
1820
1924
  *
1821
- * @example
1925
+ * Can be overridden by `PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM`.
1822
1926
  *
1823
- * ```ts
1824
- * const executionContext = await page.mainFrame().executionContext();
1825
- * const result = await executionContext.evaluate(() => Promise.resolve(8 * 7))* ;
1826
- * console.log(result); // prints "56"
1827
- * ```
1828
- *
1829
- * @example
1830
- * A string can also be passed in instead of a function:
1831
- *
1832
- * ```ts
1833
- * console.log(await executionContext.evaluate('1 + 2')); // prints "3"
1834
- * ```
1835
- *
1836
- * @example
1837
- * Handles can also be passed as `args`. They resolve to their referenced object:
1838
- *
1839
- * ```ts
1840
- * const oneHandle = await executionContext.evaluateHandle(() => 1);
1841
- * const twoHandle = await executionContext.evaluateHandle(() => 2);
1842
- * const result = await executionContext.evaluate(
1843
- * (a, b) => a + b,
1844
- * oneHandle,
1845
- * twoHandle
1846
- * );
1847
- * await oneHandle.dispose();
1848
- * await twoHandle.dispose();
1849
- * console.log(result); // prints '3'.
1850
- * ```
1851
- *
1852
- * @param pageFunction - The function to evaluate.
1853
- * @param args - Additional arguments to pass into the function.
1854
- * @returns The result of evaluating the function. If the result is an object,
1855
- * a vanilla object containing the serializable properties of the result is
1856
- * returned.
1857
- */
1858
- evaluate<Params extends unknown[], Func extends EvaluateFunc<Params> = EvaluateFunc<Params>>(pageFunction: Func | string, ...args: Params): Promise<Awaited<ReturnType<Func>>>;
1859
- /**
1860
- * Evaluates the given function.
1861
- *
1862
- * Unlike {@link ExecutionContext.evaluate | evaluate}, this method returns a
1863
- * handle to the result of the function.
1864
- *
1865
- * This method may be better suited if the object cannot be serialized (e.g.
1866
- * `Map`) and requires further manipulation.
1867
- *
1868
- * @example
1869
- *
1870
- * ```ts
1871
- * const context = await page.mainFrame().executionContext();
1872
- * const handle: JSHandle<typeof globalThis> = await context.evaluateHandle(
1873
- * () => Promise.resolve(self)
1874
- * );
1875
- * ```
1876
- *
1877
- * @example
1878
- * A string can also be passed in instead of a function.
1879
- *
1880
- * ```ts
1881
- * const handle: JSHandle<number> = await context.evaluateHandle('1 + 2');
1882
- * ```
1883
- *
1884
- * @example
1885
- * Handles can also be passed as `args`. They resolve to their referenced object:
1886
- *
1887
- * ```ts
1888
- * const bodyHandle: ElementHandle<HTMLBodyElement> =
1889
- * await context.evaluateHandle(() => {
1890
- * return document.body;
1891
- * });
1892
- * const stringHandle: JSHandle<string> = await context.evaluateHandle(
1893
- * body => body.innerHTML,
1894
- * body
1895
- * );
1896
- * console.log(await stringHandle.jsonValue()); // prints body's innerHTML
1897
- * // Always dispose your garbage! :)
1898
- * await bodyHandle.dispose();
1899
- * await stringHandle.dispose();
1900
- * ```
1901
- *
1902
- * @param pageFunction - The function to evaluate.
1903
- * @param args - Additional arguments to pass into the function.
1904
- * @returns A {@link JSHandle | handle} to the result of evaluating the
1905
- * function. If the result is a `Node`, then this will return an
1906
- * {@link ElementHandle | element handle}.
1907
- */
1908
- evaluateHandle<Params extends unknown[], Func extends EvaluateFunc<Params> = EvaluateFunc<Params>>(pageFunction: Func | string, ...args: Params): Promise<HandleFor<Awaited<ReturnType<Func>>>>;
1909
- /**
1910
- * Iterates through the JavaScript heap and finds all the objects with the
1911
- * given prototype.
1912
- *
1913
- * @example
1914
- *
1915
- * ```ts
1916
- * // Create a Map object
1917
- * await page.evaluate(() => (window.map = new Map()));
1918
- * // Get a handle to the Map object prototype
1919
- * const mapPrototype = await page.evaluateHandle(() => Map.prototype);
1920
- * // Query all map instances into an array
1921
- * const mapInstances = await page.queryObjects(mapPrototype);
1922
- * // Count amount of map objects in heap
1923
- * const count = await page.evaluate(maps => maps.length, mapInstances);
1924
- * await mapInstances.dispose();
1925
- * await mapPrototype.dispose();
1926
- * ```
1927
- *
1928
- * @param prototypeHandle - a handle to the object prototype
1929
- * @returns A handle to an array of objects with the given prototype.
1927
+ * @defaultValue `false`
1930
1928
  */
1931
- queryObjects<Prototype>(prototypeHandle: JSHandle<Prototype>): Promise<HandleFor<Prototype[]>>;
1929
+ macArmChromiumEnabled?: boolean;
1932
1930
  }
1933
1931
 
1934
1932
  /* Excluded from this release type: FetchRequestId */
@@ -1987,6 +1985,8 @@ export declare class FileChooser {
1987
1985
  */
1988
1986
  export declare type FlattenHandle<T> = T extends HandleOr<infer U> ? U : never;
1989
1987
 
1988
+ /* Excluded from this release type: FlattenLazyArg */
1989
+
1990
1990
  /**
1991
1991
  * Represents a DOM frame.
1992
1992
  *
@@ -2049,7 +2049,7 @@ export declare class Frame {
2049
2049
  /* Excluded from this release type: _name */
2050
2050
  /* Excluded from this release type: _hasStartedLoading */
2051
2051
  /* Excluded from this release type: _lifecycleEvents */
2052
- /* Excluded from this release type: _childFrames */
2052
+ /* Excluded from this release type: _parentId */
2053
2053
  /* Excluded from this release type: __constructor */
2054
2054
  /* Excluded from this release type: updateClient */
2055
2055
  /**
@@ -2131,12 +2131,7 @@ export declare class Frame {
2131
2131
  waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[];
2132
2132
  }): Promise<HTTPResponse | null>;
2133
2133
  /* Excluded from this release type: _client */
2134
- /**
2135
- * @deprecated Do not use the execution context directly.
2136
- *
2137
- * @returns a promise that resolves to the frame's default execution context.
2138
- */
2139
- executionContext(): Promise<ExecutionContext>;
2134
+ /* Excluded from this release type: executionContext */
2140
2135
  /**
2141
2136
  * Behaves identically to {@link Page.evaluateHandle} except it's run within
2142
2137
  * the context of this frame.
@@ -2218,7 +2213,11 @@ export declare class Frame {
2218
2213
  /**
2219
2214
  * @deprecated Use {@link Frame.$$} with the `xpath` prefix.
2220
2215
  *
2216
+ * Example: `await frame.$$('xpath/' + xpathExpression)`
2217
+ *
2221
2218
  * This method evaluates the given XPath expression and returns the results.
2219
+ * If `xpath` starts with `//` instead of `.//`, the dot will be appended
2220
+ * automatically.
2222
2221
  * @param expression - the XPath expression to evaluate.
2223
2222
  */
2224
2223
  $x(expression: string): Promise<Array<ElementHandle<Node>>>;
@@ -2261,6 +2260,12 @@ export declare class Frame {
2261
2260
  /**
2262
2261
  * @deprecated Use {@link Frame.waitForSelector} with the `xpath` prefix.
2263
2262
  *
2263
+ * Example: `await frame.waitForSelector('xpath/' + xpathExpression)`
2264
+ *
2265
+ * The method evaluates the XPath expression relative to the Frame.
2266
+ * If `xpath` starts with `//` instead of `.//`, the dot will be appended
2267
+ * automatically.
2268
+ *
2264
2269
  * Wait for the `xpath` to appear in page. If at the moment of calling the
2265
2270
  * method the `xpath` already exists, the method will return immediately. If
2266
2271
  * the xpath doesn't appear after the `timeout` milliseconds of waiting, the
@@ -2355,21 +2360,19 @@ export declare class Frame {
2355
2360
  * Adds a `<script>` tag into the page with the desired url or content.
2356
2361
  *
2357
2362
  * @param options - Options for the script.
2358
- * @returns a promise that resolves to the added tag when the script's
2359
- * `onload` event fires or when the script content was injected into the
2360
- * frame.
2363
+ * @returns An {@link ElementHandle | element handle} to the injected
2364
+ * `<script>` element.
2361
2365
  */
2362
2366
  addScriptTag(options: FrameAddScriptTagOptions): Promise<ElementHandle<HTMLScriptElement>>;
2363
2367
  /**
2364
- * Adds a `<link rel="stylesheet">` tag into the page with the desired url or
2368
+ * Adds a `<link rel="stylesheet">` tag into the page with the desired URL or
2365
2369
  * a `<style type="text/css">` tag with the content.
2366
2370
  *
2367
- * @param options - Options for the style link.
2368
- * @returns a promise that resolves to the added tag when the stylesheets's
2369
- * `onload` event fires or when the CSS content was injected into the
2370
- * frame.
2371
+ * @returns An {@link ElementHandle | element handle} to the loaded `<link>`
2372
+ * or `<style>` element.
2371
2373
  */
2372
- addStyleTag(options: FrameAddStyleTagOptions): Promise<ElementHandle<HTMLStyleElement | HTMLLinkElement>>;
2374
+ addStyleTag(options: Omit<FrameAddStyleTagOptions, 'url'>): Promise<ElementHandle<HTMLStyleElement>>;
2375
+ addStyleTag(options: FrameAddStyleTagOptions): Promise<ElementHandle<HTMLLinkElement>>;
2373
2376
  /**
2374
2377
  * Clicks the first element found that matches `selector`.
2375
2378
  *
@@ -2459,7 +2462,7 @@ export declare class Frame {
2459
2462
  delay: number;
2460
2463
  }): Promise<void>;
2461
2464
  /**
2462
- * @deprecated Use `new Promise(r => setTimeout(r, milliseconds));`.
2465
+ * @deprecated Replace with `new Promise(r => setTimeout(r, milliseconds));`.
2463
2466
  *
2464
2467
  * Causes your script to wait for the given number of milliseconds.
2465
2468
  *
@@ -2496,24 +2499,29 @@ export declare class Frame {
2496
2499
  */
2497
2500
  export declare interface FrameAddScriptTagOptions {
2498
2501
  /**
2499
- * the URL of the script to be added.
2502
+ * URL of the script to be added.
2500
2503
  */
2501
2504
  url?: string;
2502
2505
  /**
2503
- * The path to a JavaScript file to be injected into the frame.
2506
+ * Path to a JavaScript file to be injected into the frame.
2507
+ *
2504
2508
  * @remarks
2505
2509
  * If `path` is a relative path, it is resolved relative to the current
2506
2510
  * working directory (`process.cwd()` in Node.js).
2507
2511
  */
2508
2512
  path?: string;
2509
2513
  /**
2510
- * Raw JavaScript content to be injected into the frame.
2514
+ * JavaScript to be injected into the frame.
2511
2515
  */
2512
2516
  content?: string;
2513
2517
  /**
2514
- * Set the script's `type`. Use `module` in order to load an ES2015 module.
2518
+ * Sets the `type` of the script. Use `module` in order to load an ES2015 module.
2515
2519
  */
2516
2520
  type?: string;
2521
+ /**
2522
+ * Sets the `id` of the script.
2523
+ */
2524
+ id?: string;
2517
2525
  }
2518
2526
 
2519
2527
  /**
@@ -2545,6 +2553,8 @@ declare interface FrameManager_2 {
2545
2553
 
2546
2554
  /* Excluded from this release type: FrameManagerEmittedEvents */
2547
2555
 
2556
+ /* Excluded from this release type: FrameTree */
2557
+
2548
2558
  /**
2549
2559
  * @public
2550
2560
  */
@@ -2561,7 +2571,7 @@ export declare interface FrameWaitForFunctionOptions {
2561
2571
  *
2562
2572
  * - `mutation` - to execute `pageFunction` on every DOM mutation.
2563
2573
  */
2564
- polling?: string | number;
2574
+ polling?: 'raf' | 'mutation' | number;
2565
2575
  /**
2566
2576
  * Maximum time to wait in milliseconds. Defaults to `30000` (30 seconds).
2567
2577
  * Pass `0` to disable the timeout. Puppeteer's default timeout can be changed
@@ -2608,9 +2618,6 @@ export declare type HandleFor<T> = T extends Node ? ElementHandle<T> : JSHandle<
2608
2618
  */
2609
2619
  export declare type HandleOr<T> = HandleFor<T> | JSHandle<T> | T;
2610
2620
 
2611
- /**
2612
- * @public
2613
- */
2614
2621
  export declare type Handler<T = any> = (event?: T) => void;
2615
2622
 
2616
2623
  /**
@@ -2657,7 +2664,7 @@ export declare class HTTPRequest {
2657
2664
  *
2658
2665
  * @experimental
2659
2666
  */
2660
- get client(): CDPSession_4;
2667
+ get client(): CDPSession_3;
2661
2668
  /* Excluded from this release type: __constructor */
2662
2669
  /**
2663
2670
  * @returns the URL of the request
@@ -2961,7 +2968,7 @@ export declare class HTTPResponse {
2961
2968
 
2962
2969
  /* Excluded from this release type: importFS */
2963
2970
 
2964
- /* Excluded from this release type: initializePuppeteer */
2971
+ /* Excluded from this release type: InnerLazyParams */
2965
2972
 
2966
2973
  /**
2967
2974
  * @public
@@ -3006,6 +3013,12 @@ export declare class HTTPResponse {
3006
3013
 
3007
3014
  /* Excluded from this release type: InternalQueryHandler */
3008
3015
 
3016
+ /* Excluded from this release type: IntervalPoller */
3017
+
3018
+ /* Excluded from this release type: isErrnoException */
3019
+
3020
+ /* Excluded from this release type: isErrorLike */
3021
+
3009
3022
  /* Excluded from this release type: isNode */
3010
3023
 
3011
3024
  /* Excluded from this release type: isNumber */
@@ -3018,6 +3031,8 @@ export declare class HTTPResponse {
3018
3031
 
3019
3032
  /* Excluded from this release type: isString */
3020
3033
 
3034
+ /* Excluded from this release type: isTargetClosedError */
3035
+
3021
3036
  /**
3022
3037
  * @public
3023
3038
  */
@@ -3028,6 +3043,7 @@ export declare class HTTPResponse {
3028
3043
  resetOnNavigation?: boolean;
3029
3044
  reportAnonymousScripts?: boolean;
3030
3045
  includeRawScriptCoverage?: boolean;
3046
+ useBlockCoverage?: boolean;
3031
3047
  }): Promise<void>;
3032
3048
  stop(): Promise<JSCoverageEntry[]>;
3033
3049
  }
@@ -3060,6 +3076,12 @@ export declare class HTTPResponse {
3060
3076
  * Whether the result includes raw V8 script coverage entries.
3061
3077
  */
3062
3078
  includeRawScriptCoverage?: boolean;
3079
+ /**
3080
+ * Whether to collect coverage information at the block level.
3081
+ * If true, coverage will be collected at the block level (this is the default).
3082
+ * If false, coverage will be collected at the function level.
3083
+ */
3084
+ useBlockCoverage?: boolean;
3063
3085
  }
3064
3086
 
3065
3087
  /**
@@ -3092,10 +3114,7 @@ export declare class HTTPResponse {
3092
3114
  /* Excluded from this release type: client */
3093
3115
  /* Excluded from this release type: disposed */
3094
3116
  /* Excluded from this release type: __constructor */
3095
- /**
3096
- * @returns The execution context the handle belongs to.
3097
- */
3098
- executionContext(): ExecutionContext;
3117
+ /* Excluded from this release type: executionContext */
3099
3118
  /**
3100
3119
  * Evaluates the given function with the current handle as its first argument.
3101
3120
  *
@@ -3182,7 +3201,7 @@ export declare class HTTPResponse {
3182
3201
  * {@link Keyboard.up}, and {@link Keyboard.sendCharacter}
3183
3202
  * to manually fire events as if they were generated from a real keyboard.
3184
3203
  *
3185
- * On MacOS, keyboard shortcuts like `⌘ A` -\> Select All do not work.
3204
+ * On macOS, keyboard shortcuts like `⌘ A` -\> Select All do not work.
3186
3205
  * See {@link https://github.com/puppeteer/puppeteer/issues/1313 | #1313}.
3187
3206
  *
3188
3207
  * @example
@@ -3334,6 +3353,29 @@ export declare class HTTPResponse {
3334
3353
  */
3335
3354
  export declare type KeyInput = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'Power' | 'Eject' | 'Abort' | 'Help' | 'Backspace' | 'Tab' | 'Numpad5' | 'NumpadEnter' | 'Enter' | '\r' | '\n' | 'ShiftLeft' | 'ShiftRight' | 'ControlLeft' | 'ControlRight' | 'AltLeft' | 'AltRight' | 'Pause' | 'CapsLock' | 'Escape' | 'Convert' | 'NonConvert' | 'Space' | 'Numpad9' | 'PageUp' | 'Numpad3' | 'PageDown' | 'End' | 'Numpad1' | 'Home' | 'Numpad7' | 'ArrowLeft' | 'Numpad4' | 'Numpad8' | 'ArrowUp' | 'ArrowRight' | 'Numpad6' | 'Numpad2' | 'ArrowDown' | 'Select' | 'Open' | 'PrintScreen' | 'Insert' | 'Numpad0' | 'Delete' | 'NumpadDecimal' | 'Digit0' | 'Digit1' | 'Digit2' | 'Digit3' | 'Digit4' | 'Digit5' | 'Digit6' | 'Digit7' | 'Digit8' | 'Digit9' | 'KeyA' | 'KeyB' | 'KeyC' | 'KeyD' | 'KeyE' | 'KeyF' | 'KeyG' | 'KeyH' | 'KeyI' | 'KeyJ' | 'KeyK' | 'KeyL' | 'KeyM' | 'KeyN' | 'KeyO' | 'KeyP' | 'KeyQ' | 'KeyR' | 'KeyS' | 'KeyT' | 'KeyU' | 'KeyV' | 'KeyW' | 'KeyX' | 'KeyY' | 'KeyZ' | 'MetaLeft' | 'MetaRight' | 'ContextMenu' | 'NumpadMultiply' | 'NumpadAdd' | 'NumpadSubtract' | 'NumpadDivide' | 'F1' | 'F2' | 'F3' | 'F4' | 'F5' | 'F6' | 'F7' | 'F8' | 'F9' | 'F10' | 'F11' | 'F12' | 'F13' | 'F14' | 'F15' | 'F16' | 'F17' | 'F18' | 'F19' | 'F20' | 'F21' | 'F22' | 'F23' | 'F24' | 'NumLock' | 'ScrollLock' | 'AudioVolumeMute' | 'AudioVolumeDown' | 'AudioVolumeUp' | 'MediaTrackNext' | 'MediaTrackPrevious' | 'MediaStop' | 'MediaPlayPause' | 'Semicolon' | 'Equal' | 'NumpadEqual' | 'Comma' | 'Minus' | 'Period' | 'Slash' | 'Backquote' | 'BracketLeft' | 'Backslash' | 'BracketRight' | 'Quote' | 'AltGraph' | 'Props' | 'Cancel' | 'Clear' | 'Shift' | 'Control' | 'Alt' | 'Accept' | 'ModeChange' | ' ' | 'Print' | 'Execute' | '\u0000' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | 'Meta' | '*' | '+' | '-' | '/' | ';' | '=' | ',' | '.' | '`' | '[' | '\\' | ']' | "'" | 'Attn' | 'CrSel' | 'ExSel' | 'EraseEof' | 'Play' | 'ZoomOut' | ')' | '!' | '@' | '#' | '$' | '%' | '^' | '&' | '(' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z' | ':' | '<' | '_' | '>' | '?' | '~' | '{' | '|' | '}' | '"' | 'SoftLeft' | 'SoftRight' | 'Camera' | 'Call' | 'EndCall' | 'VolumeDown' | 'VolumeUp';
3336
3355
 
3356
+ /**
3357
+ * A list of devices to be used with {@link Page.emulate}.
3358
+ *
3359
+ * @example
3360
+ *
3361
+ * ```ts
3362
+ * import {KnownDevices} from 'puppeteer';
3363
+ * const iPhone = KnownDevices['iPhone 6'];
3364
+ *
3365
+ * (async () => {
3366
+ * const browser = await puppeteer.launch();
3367
+ * const page = await browser.newPage();
3368
+ * await page.emulate(iPhone);
3369
+ * await page.goto('https://www.google.com');
3370
+ * // other actions...
3371
+ * await browser.close();
3372
+ * })();
3373
+ * ```
3374
+ *
3375
+ * @public
3376
+ */
3377
+ export declare const KnownDevices: Readonly<Record<"Blackberry PlayBook" | "Blackberry PlayBook landscape" | "BlackBerry Z30" | "BlackBerry Z30 landscape" | "Galaxy Note 3" | "Galaxy Note 3 landscape" | "Galaxy Note II" | "Galaxy Note II landscape" | "Galaxy S III" | "Galaxy S III landscape" | "Galaxy S5" | "Galaxy S5 landscape" | "Galaxy S8" | "Galaxy S8 landscape" | "Galaxy S9+" | "Galaxy S9+ landscape" | "Galaxy Tab S4" | "Galaxy Tab S4 landscape" | "iPad" | "iPad landscape" | "iPad (gen 6)" | "iPad (gen 6) landscape" | "iPad (gen 7)" | "iPad (gen 7) landscape" | "iPad Mini" | "iPad Mini landscape" | "iPad Pro" | "iPad Pro landscape" | "iPad Pro 11" | "iPad Pro 11 landscape" | "iPhone 4" | "iPhone 4 landscape" | "iPhone 5" | "iPhone 5 landscape" | "iPhone 6" | "iPhone 6 landscape" | "iPhone 6 Plus" | "iPhone 6 Plus landscape" | "iPhone 7" | "iPhone 7 landscape" | "iPhone 7 Plus" | "iPhone 7 Plus landscape" | "iPhone 8" | "iPhone 8 landscape" | "iPhone 8 Plus" | "iPhone 8 Plus landscape" | "iPhone SE" | "iPhone SE landscape" | "iPhone X" | "iPhone X landscape" | "iPhone XR" | "iPhone XR landscape" | "iPhone 11" | "iPhone 11 landscape" | "iPhone 11 Pro" | "iPhone 11 Pro landscape" | "iPhone 11 Pro Max" | "iPhone 11 Pro Max landscape" | "iPhone 12" | "iPhone 12 landscape" | "iPhone 12 Pro" | "iPhone 12 Pro landscape" | "iPhone 12 Pro Max" | "iPhone 12 Pro Max landscape" | "iPhone 12 Mini" | "iPhone 12 Mini landscape" | "iPhone 13" | "iPhone 13 landscape" | "iPhone 13 Pro" | "iPhone 13 Pro landscape" | "iPhone 13 Pro Max" | "iPhone 13 Pro Max landscape" | "iPhone 13 Mini" | "iPhone 13 Mini landscape" | "JioPhone 2" | "JioPhone 2 landscape" | "Kindle Fire HDX" | "Kindle Fire HDX landscape" | "LG Optimus L70" | "LG Optimus L70 landscape" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Microsoft Lumia 950 landscape" | "Nexus 10" | "Nexus 10 landscape" | "Nexus 4" | "Nexus 4 landscape" | "Nexus 5" | "Nexus 5 landscape" | "Nexus 5X" | "Nexus 5X landscape" | "Nexus 6" | "Nexus 6 landscape" | "Nexus 6P" | "Nexus 6P landscape" | "Nexus 7" | "Nexus 7 landscape" | "Nokia Lumia 520" | "Nokia Lumia 520 landscape" | "Nokia N9" | "Nokia N9 landscape" | "Pixel 2" | "Pixel 2 landscape" | "Pixel 2 XL" | "Pixel 2 XL landscape" | "Pixel 3" | "Pixel 3 landscape" | "Pixel 4" | "Pixel 4 landscape" | "Pixel 4a (5G)" | "Pixel 4a (5G) landscape" | "Pixel 5" | "Pixel 5 landscape" | "Moto G4" | "Moto G4 landscape", Device>>;
3378
+
3337
3379
  export declare const launch: (options?: PuppeteerLaunchOptions) => Promise<Browser>;
3338
3380
 
3339
3381
  /**
@@ -3412,9 +3454,9 @@ export declare class HTTPResponse {
3412
3454
  waitForInitialPage?: boolean;
3413
3455
  }
3414
3456
 
3415
- /* Excluded from this release type: LifecycleWatcher */
3457
+ /* Excluded from this release type: LazyArg */
3416
3458
 
3417
- /* Excluded from this release type: logPolitely */
3459
+ /* Excluded from this release type: LifecycleWatcher */
3418
3460
 
3419
3461
  /**
3420
3462
  * @public
@@ -3423,8 +3465,6 @@ export declare class HTTPResponse {
3423
3465
 
3424
3466
  /* Excluded from this release type: MAIN_WORLD */
3425
3467
 
3426
- /* Excluded from this release type: makePredicateString */
3427
-
3428
3468
  /**
3429
3469
  * @public
3430
3470
  */
@@ -3604,7 +3644,7 @@ export declare class HTTPResponse {
3604
3644
  drop(target: Point, data: Protocol.Input.DragData): Promise<void>;
3605
3645
  /**
3606
3646
  * Performs a drag, dragenter, dragover, and drop in sequence.
3607
- * @param target - point to drag from
3647
+ * @param start - point to drag from
3608
3648
  * @param target - point to drop on
3609
3649
  * @param options - An object of options. Accepts delay which,
3610
3650
  * if specified, is the time to wait between `dragover` and `drop` in milliseconds.
@@ -3636,6 +3676,8 @@ export declare class HTTPResponse {
3636
3676
  deltaY?: number;
3637
3677
  }
3638
3678
 
3679
+ /* Excluded from this release type: MutationPoller */
3680
+
3639
3681
  /**
3640
3682
  * @public
3641
3683
  */
@@ -3646,26 +3688,7 @@ export declare class HTTPResponse {
3646
3688
  }
3647
3689
 
3648
3690
  /**
3649
- * A list of network conditions to be used with
3650
- * `page.emulateNetworkConditions(networkConditions)`. Actual list of predefined
3651
- * conditions can be found in
3652
- * {@link https://github.com/puppeteer/puppeteer/blob/main/src/common/NetworkConditions.ts | src/common/NetworkConditions.ts}.
3653
- *
3654
- * @example
3655
- *
3656
- * ```ts
3657
- * const puppeteer = require('puppeteer');
3658
- * const slow3G = puppeteer.networkConditions['Slow 3G'];
3659
- *
3660
- * (async () => {
3661
- * const browser = await puppeteer.launch();
3662
- * const page = await browser.newPage();
3663
- * await page.emulateNetworkConditions(slow3G);
3664
- * await page.goto('https://www.google.com');
3665
- * // other actions...
3666
- * await browser.close();
3667
- * })();
3668
- * ```
3691
+ * @deprecated Import {@link PredefinedNetworkConditions}.
3669
3692
  *
3670
3693
  * @public
3671
3694
  */
@@ -3694,11 +3717,11 @@ export declare class HTTPResponse {
3694
3717
  */
3695
3718
  export declare interface Offset {
3696
3719
  /**
3697
- * x-offset for the clickable point relative to the top-left corder of the border box.
3720
+ * x-offset for the clickable point relative to the top-left corner of the border box.
3698
3721
  */
3699
3722
  x: number;
3700
3723
  /**
3701
- * y-offset for the clickable point relative to the top-left corder of the border box.
3724
+ * y-offset for the clickable point relative to the top-left corner of the border box.
3702
3725
  */
3703
3726
  y: number;
3704
3727
  }
@@ -3756,7 +3779,6 @@ export declare class HTTPResponse {
3756
3779
  */
3757
3780
  export declare class Page extends EventEmitter {
3758
3781
  #private;
3759
- /* Excluded from this release type: _create */
3760
3782
  /* Excluded from this release type: __constructor */
3761
3783
  /**
3762
3784
  * @returns `true` if drag events are being intercepted, `false` otherwise.
@@ -3827,7 +3849,6 @@ export declare class HTTPResponse {
3827
3849
  * @returns A target this page was created from.
3828
3850
  */
3829
3851
  target(): Target;
3830
- /* Excluded from this release type: _client */
3831
3852
  /**
3832
3853
  * Get the browser the page belongs to.
3833
3854
  */
@@ -3910,20 +3931,26 @@ export declare class HTTPResponse {
3910
3931
  */
3911
3932
  setDragInterception(enabled: boolean): Promise<void>;
3912
3933
  /**
3934
+ * Sets the network connection to offline.
3935
+ *
3936
+ * It does not change the parameters used in {@link Page.emulateNetworkConditions}
3937
+ *
3913
3938
  * @param enabled - When `true`, enables offline mode for the page.
3914
- * @remarks
3915
- * NOTE: while this method sets the network connection to offline, it does
3916
- * not change the parameters used in [page.emulateNetworkConditions(networkConditions)]
3917
- * (#pageemulatenetworkconditionsnetworkconditions)
3918
3939
  */
3919
3940
  setOfflineMode(enabled: boolean): Promise<void>;
3920
3941
  /**
3921
- * @param networkConditions - Passing `null` disables network condition emulation.
3942
+ * This does not affect WebSockets and WebRTC PeerConnections (see
3943
+ * https://crbug.com/563644). To set the page offline, you can use
3944
+ * {@link Page.setOfflineMode}.
3945
+ *
3946
+ * A list of predefined network conditions can be used by importing
3947
+ * {@link PredefinedNetworkConditions}.
3948
+ *
3922
3949
  * @example
3923
3950
  *
3924
3951
  * ```ts
3925
- * const puppeteer = require('puppeteer');
3926
- * const slow3G = puppeteer.networkConditions['Slow 3G'];
3952
+ * import {PredefinedNetworkConditions} from 'puppeteer';
3953
+ * const slow3G = PredefinedNetworkConditions['Slow 3G'];
3927
3954
  *
3928
3955
  * (async () => {
3929
3956
  * const browser = await puppeteer.launch();
@@ -3935,10 +3962,8 @@ export declare class HTTPResponse {
3935
3962
  * })();
3936
3963
  * ```
3937
3964
  *
3938
- * @remarks
3939
- * NOTE: This does not affect WebSockets and WebRTC PeerConnections (see
3940
- * https://crbug.com/563644). To set the page offline, you can use
3941
- * [page.setOfflineMode(enabled)](#pagesetofflinemodeenabled).
3965
+ * @param networkConditions - Passing `null` disables network condition
3966
+ * emulation.
3942
3967
  */
3943
3968
  emulateNetworkConditions(networkConditions: NetworkConditions | null): Promise<void>;
3944
3969
  /**
@@ -3963,6 +3988,10 @@ export declare class HTTPResponse {
3963
3988
  * @param timeout - Maximum time in milliseconds.
3964
3989
  */
3965
3990
  setDefaultTimeout(timeout: number): void;
3991
+ /**
3992
+ * @returns Maximum time in milliseconds.
3993
+ */
3994
+ getDefaultTimeout(): number;
3966
3995
  /**
3967
3996
  * Runs `document.querySelector` within the page. If no element matches the
3968
3997
  * selector, the return value resolves to `null`.
@@ -4042,11 +4071,6 @@ export declare class HTTPResponse {
4042
4071
  * This method iterates the JavaScript heap and finds all objects with the
4043
4072
  * given prototype.
4044
4073
  *
4045
- * @remarks
4046
- * Shortcut for
4047
- * {@link ExecutionContext.queryObjects |
4048
- * page.mainFrame().executionContext().queryObjects(prototypeHandle)}.
4049
- *
4050
4074
  * @example
4051
4075
  *
4052
4076
  * ```ts
@@ -4231,27 +4255,24 @@ export declare class HTTPResponse {
4231
4255
  * Shortcut for
4232
4256
  * {@link Frame.addScriptTag | page.mainFrame().addScriptTag(options)}.
4233
4257
  *
4234
- * @returns Promise which resolves to the added tag when the script's onload
4235
- * fires or when the script content was injected into frame.
4258
+ * @param options - Options for the script.
4259
+ * @returns An {@link ElementHandle | element handle} to the injected
4260
+ * `<script>` element.
4236
4261
  */
4237
- addScriptTag(options: {
4238
- url?: string;
4239
- path?: string;
4240
- content?: string;
4241
- type?: string;
4242
- id?: string;
4243
- }): Promise<ElementHandle<HTMLScriptElement>>;
4262
+ addScriptTag(options: FrameAddScriptTagOptions): Promise<ElementHandle<HTMLScriptElement>>;
4244
4263
  /**
4245
- * Adds a `<link rel="stylesheet">` tag into the page with the desired URL or a
4246
- * `<style type="text/css">` tag with the content.
4247
- * @returns Promise which resolves to the added tag when the stylesheet's
4248
- * onload fires or when the CSS content was injected into frame.
4264
+ * Adds a `<link rel="stylesheet">` tag into the page with the desired URL or
4265
+ * a `<style type="text/css">` tag with the content.
4266
+ *
4267
+ * Shortcut for
4268
+ * {@link Frame.addStyleTag | page.mainFrame().addStyleTag(options)}.
4269
+ *
4270
+ * @returns An {@link ElementHandle | element handle} to the injected `<link>`
4271
+ * or `<style>` element.
4249
4272
  */
4250
- addStyleTag(options: {
4251
- url?: string;
4252
- path?: string;
4253
- content?: string;
4254
- }): Promise<ElementHandle<Node>>;
4273
+ addStyleTag(options: Omit<FrameAddStyleTagOptions, 'url'>): Promise<ElementHandle<HTMLStyleElement>>;
4274
+ addStyleTag(options: FrameAddStyleTagOptions): Promise<ElementHandle<HTMLLinkElement>>;
4275
+ addStyleTag(options: FrameAddStyleTagOptions): Promise<ElementHandle<HTMLStyleElement | HTMLLinkElement>>;
4255
4276
  /**
4256
4277
  * The method adds a function called `name` on the page's `window` object.
4257
4278
  * When called, the function executes `puppeteerFunction` in node.js and
@@ -4543,21 +4564,17 @@ export declare class HTTPResponse {
4543
4564
  /**
4544
4565
  * @param urlOrPredicate - A URL or predicate to wait for
4545
4566
  * @param options - Optional waiting parameters
4546
- * @returns Promise which resolves to the matched response
4567
+ * @returns Promise which resolves to the matched request
4547
4568
  * @example
4548
4569
  *
4549
4570
  * ```ts
4550
- * const firstResponse = await page.waitForResponse(
4571
+ * const firstRequest = await page.waitForRequest(
4551
4572
  * 'https://example.com/resource'
4552
4573
  * );
4553
- * const finalResponse = await page.waitForResponse(
4554
- * response =>
4555
- * response.url() === 'https://example.com' && response.status() === 200
4574
+ * const finalRequest = await page.waitForRequest(
4575
+ * request => request.url() === 'https://example.com'
4556
4576
  * );
4557
- * const finalResponse = await page.waitForResponse(async response => {
4558
- * return (await response.text()).includes('<html>');
4559
- * });
4560
- * return finalResponse.ok();
4577
+ * return finalRequest.response()?.ok();
4561
4578
  * ```
4562
4579
  *
4563
4580
  * @remarks
@@ -4689,20 +4706,25 @@ export declare class HTTPResponse {
4689
4706
  */
4690
4707
  bringToFront(): Promise<void>;
4691
4708
  /**
4692
- * Emulates given device metrics and user agent.
4709
+ * Emulates a given device's metrics and user agent.
4710
+ *
4711
+ * To aid emulation, Puppeteer provides a list of known devices that can be
4712
+ * via {@link KnownDevices}.
4693
4713
  *
4694
4714
  * @remarks
4695
4715
  * This method is a shortcut for calling two methods:
4696
- * {@link Page.setUserAgent} and {@link Page.setViewport} To aid emulation,
4697
- * Puppeteer provides a list of device descriptors that can be obtained via
4698
- * {@link devices}. `page.emulate` will resize the page. A lot of websites
4699
- * don't expect phones to change size, so you should emulate before navigating
4700
- * to the page.
4716
+ * {@link Page.setUserAgent} and {@link Page.setViewport}.
4717
+ *
4718
+ * @remarks
4719
+ * This method will resize the page. A lot of websites don't expect phones to
4720
+ * change size, so you should emulate before navigating to the page.
4721
+ *
4701
4722
  * @example
4702
4723
  *
4703
4724
  * ```ts
4704
- * const puppeteer = require('puppeteer');
4705
- * const iPhone = puppeteer.devices['iPhone 6'];
4725
+ * import {KnownDevices} from 'puppeteer';
4726
+ * const iPhone = KnownDevices['iPhone 6'];
4727
+ *
4706
4728
  * (async () => {
4707
4729
  * const browser = await puppeteer.launch();
4708
4730
  * const page = await browser.newPage();
@@ -4712,17 +4734,10 @@ export declare class HTTPResponse {
4712
4734
  * await browser.close();
4713
4735
  * })();
4714
4736
  * ```
4715
- *
4716
- * @remarks List of all available devices is available in the source code:
4717
- * {@link https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts | src/common/DeviceDescriptors.ts}.
4718
4737
  */
4719
- emulate(options: {
4720
- viewport: Viewport;
4721
- userAgent: string;
4722
- }): Promise<void>;
4738
+ emulate(device: Device): Promise<void>;
4723
4739
  /**
4724
4740
  * @param enabled - Whether or not to enable JavaScript on the page.
4725
- * @returns
4726
4741
  * @remarks
4727
4742
  * NOTE: changing this value won't affect scripts that have already been run.
4728
4743
  * It will take full effect on the next navigation.
@@ -5019,13 +5034,13 @@ export declare class HTTPResponse {
5019
5034
  *
5020
5035
  * // overwrite the `languages` property to use a custom getter
5021
5036
  * Object.defineProperty(navigator, 'languages', {
5022
- * get: function () {
5023
- * return ['en-US', 'en', 'bn'];
5024
- * },
5037
+ * get: function () {
5038
+ * return ['en-US', 'en', 'bn'];
5039
+ * },
5025
5040
  * });
5026
5041
  *
5027
5042
  * // In your puppeteer script, assuming the preload.js file is
5028
- * in same folder of our script
5043
+ * // in same folder of our script.
5029
5044
  * const preloadFile = fs.readFileSync('./preload.js', 'utf8');
5030
5045
  * await page.evaluateOnNewDocument(preloadFile);
5031
5046
  * ```
@@ -5035,6 +5050,7 @@ export declare class HTTPResponse {
5035
5050
  * Toggles ignoring cache for each request based on the enabled state. By
5036
5051
  * default, caching is enabled.
5037
5052
  * @param enabled - sets the `enabled` state of cache
5053
+ * @defaultValue true
5038
5054
  */
5039
5055
  setCacheEnabled(enabled?: boolean): Promise<void>;
5040
5056
  /**
@@ -5249,7 +5265,7 @@ export declare class HTTPResponse {
5249
5265
  delay: number;
5250
5266
  }): Promise<void>;
5251
5267
  /**
5252
- * @deprecated Use `new Promise(r => setTimeout(r, milliseconds));`.
5268
+ * @deprecated Replace with `new Promise(r => setTimeout(r, milliseconds));`.
5253
5269
  *
5254
5270
  * Causes your script to wait for the given number of milliseconds.
5255
5271
  *
@@ -5319,7 +5335,7 @@ export declare class HTTPResponse {
5319
5335
  * (30 seconds). Pass `0` to disable timeout. The default value can be changed
5320
5336
  * by using the {@link Page.setDefaultTimeout} method.
5321
5337
  */
5322
- waitForSelector<Selector extends string>(selector: Selector, options?: Exclude<WaitForSelectorOptions, 'root'>): Promise<ElementHandle<NodeFor<Selector>> | null>;
5338
+ waitForSelector<Selector extends string>(selector: Selector, options?: WaitForSelectorOptions): Promise<ElementHandle<NodeFor<Selector>> | null>;
5323
5339
  /**
5324
5340
  * Wait for the `xpath` to appear in page. If at the moment of calling the
5325
5341
  * method the `xpath` already exists, the method will return immediately. If
@@ -5430,27 +5446,9 @@ export declare class HTTPResponse {
5430
5446
  * ```
5431
5447
  *
5432
5448
  * @param pageFunction - Function to be evaluated in browser context
5433
- * @param options - Optional waiting parameters
5434
- *
5435
- * - `polling` - An interval at which the `pageFunction` is executed, defaults
5436
- * to `raf`. If `polling` is a number, then it is treated as an interval in
5437
- * milliseconds at which the function would be executed. If polling is a
5438
- * string, then it can be one of the following values:
5439
- * - `raf` - to constantly execute `pageFunction` in
5440
- * `requestAnimationFrame` callback. This is the tightest polling mode
5441
- * which is suitable to observe styling changes.
5442
- * - `mutation`- to execute pageFunction on every DOM mutation.
5443
- * - `timeout` - maximum time to wait for in milliseconds. Defaults to `30000`
5444
- * (30 seconds). Pass `0` to disable timeout. The default value can be
5445
- * changed by using the {@link Page.setDefaultTimeout} method.
5446
- * @param args - Arguments to pass to `pageFunction`
5447
- * @returns A `Promise` which resolves to a JSHandle/ElementHandle of the the
5448
- * `pageFunction`'s return value.
5449
- */
5450
- waitForFunction<Params extends unknown[], Func extends EvaluateFunc<Params> = EvaluateFunc<Params>>(pageFunction: Func | string, options?: {
5451
- timeout?: number;
5452
- polling?: string | number;
5453
- }, ...args: Params): Promise<HandleFor<Awaited<ReturnType<Func>>>>;
5449
+ * @param options - Options for configuring waiting behavior.
5450
+ */
5451
+ waitForFunction<Params extends unknown[], Func extends EvaluateFunc<Params> = EvaluateFunc<Params>>(pageFunction: Func | string, options?: FrameWaitForFunctionOptions, ...args: Params): Promise<HandleFor<Awaited<ReturnType<Func>>>>;
5454
5452
  }
5455
5453
 
5456
5454
  /* Excluded from this release type: PageBinding */
@@ -5830,6 +5828,35 @@ export declare class HTTPResponse {
5830
5828
  y: number;
5831
5829
  }
5832
5830
 
5831
+ /* Excluded from this release type: Poller */
5832
+
5833
+ /**
5834
+ * A list of network conditions to be used with
5835
+ * {@link Page.emulateNetworkConditions}.
5836
+ *
5837
+ * @example
5838
+ *
5839
+ * ```ts
5840
+ * import {PredefinedNetworkConditions} from 'puppeteer';
5841
+ * const slow3G = PredefinedNetworkConditions['Slow 3G'];
5842
+ *
5843
+ * (async () => {
5844
+ * const browser = await puppeteer.launch();
5845
+ * const page = await browser.newPage();
5846
+ * await page.emulateNetworkConditions(slow3G);
5847
+ * await page.goto('https://www.google.com');
5848
+ * // other actions...
5849
+ * await browser.close();
5850
+ * })();
5851
+ * ```
5852
+ *
5853
+ * @public
5854
+ */
5855
+ export declare const PredefinedNetworkConditions: Readonly<{
5856
+ 'Slow 3G': NetworkConditions;
5857
+ 'Fast 3G': NetworkConditions;
5858
+ }>;
5859
+
5833
5860
  /**
5834
5861
  * @public
5835
5862
  */
@@ -5867,13 +5894,19 @@ export declare class HTTPResponse {
5867
5894
 
5868
5895
  /**
5869
5896
  * Describes a launcher - a class that is able to create and launch a browser instance.
5897
+ *
5870
5898
  * @public
5871
5899
  */
5872
- export declare interface ProductLauncher {
5900
+ export declare class ProductLauncher {
5901
+ #private;
5902
+ /* Excluded from this release type: puppeteer */
5903
+ /* Excluded from this release type: __constructor */
5904
+ get product(): Product;
5873
5905
  launch(object: PuppeteerNodeLaunchOptions): Promise<Browser>;
5874
- executablePath: (path?: any) => string;
5906
+ executablePath(channel?: ChromeReleaseChannel): string;
5875
5907
  defaultArgs(object: BrowserLaunchArgumentOptions): string[];
5876
- product: Product;
5908
+ /* Excluded from this release type: getProfilePath */
5909
+ /* Excluded from this release type: resolveExecutablePath */
5877
5910
  }
5878
5911
 
5879
5912
  export { Protocol }
@@ -5884,8 +5917,23 @@ export declare class HTTPResponse {
5884
5917
  * @public
5885
5918
  */
5886
5919
  export declare class ProtocolError extends CustomError {
5887
- code?: number;
5888
- originalMessage: string;
5920
+ #private;
5921
+ /**
5922
+ * @internal
5923
+ */
5924
+ set code(code: number | undefined);
5925
+ /**
5926
+ * @public
5927
+ */
5928
+ get code(): number | undefined;
5929
+ /**
5930
+ * @internal
5931
+ */
5932
+ set originalMessage(originalMessage: string);
5933
+ /**
5934
+ * @public
5935
+ */
5936
+ get originalMessage(): string;
5889
5937
  }
5890
5938
 
5891
5939
  /**
@@ -5905,90 +5953,62 @@ export declare class HTTPResponse {
5905
5953
  * @public
5906
5954
  */
5907
5955
  export declare class Puppeteer {
5908
- protected _isPuppeteerCore: boolean;
5909
- protected _changedProduct: boolean;
5910
- /* Excluded from this release type: __constructor */
5911
5956
  /**
5912
- * This method attaches Puppeteer to an existing browser instance.
5957
+ * Registers a {@link CustomQueryHandler | custom query handler}.
5913
5958
  *
5914
5959
  * @remarks
5960
+ * After registration, the handler can be used everywhere where a selector is
5961
+ * expected by prepending the selection string with `<name>/`. The name is only
5962
+ * allowed to consist of lower- and upper case latin letters.
5915
5963
  *
5916
- * @param options - Set of configurable options to set on the browser.
5917
- * @returns Promise which resolves to browser instance.
5918
- */
5919
- connect(options: ConnectOptions): Promise<Browser>;
5920
- /**
5921
- * @deprecated Import directly puppeteer.
5922
5964
  * @example
5923
5965
  *
5924
- * ```ts
5925
- * import {devices} from 'puppeteer';
5926
5966
  * ```
5927
- */
5928
- get devices(): typeof devices;
5929
- /**
5930
- * @deprecated Import directly puppeteer.
5931
- * @example
5932
- *
5933
- * ```ts
5934
- * import {errors} from 'puppeteer';
5967
+ * puppeteer.registerCustomQueryHandler('text', { … });
5968
+ * const aHandle = await page.$('text/…');
5935
5969
  * ```
5936
- */
5937
- get errors(): typeof errors;
5938
- /**
5939
- * @deprecated Import directly puppeteer.
5940
- * @example
5941
5970
  *
5942
- * ```ts
5943
- * import {networkConditions} from 'puppeteer';
5944
- * ```
5971
+ * @param name - The name that the custom query handler will be registered
5972
+ * under.
5973
+ * @param queryHandler - The {@link CustomQueryHandler | custom query handler}
5974
+ * to register.
5975
+ *
5976
+ * @public
5945
5977
  */
5946
- get networkConditions(): typeof networkConditions;
5978
+ static registerCustomQueryHandler(name: string, queryHandler: CustomQueryHandler): void;
5947
5979
  /**
5948
- * @deprecated Import directly puppeteer.
5949
- * @example
5950
- *
5951
- * ```ts
5952
- * import {registerCustomQueryHandler} from 'puppeteer';
5953
- * ```
5980
+ * Unregisters a custom query handler for a given name.
5954
5981
  */
5955
- registerCustomQueryHandler(name: string, queryHandler: CustomQueryHandler): void;
5982
+ static unregisterCustomQueryHandler(name: string): void;
5956
5983
  /**
5957
- * @deprecated Import directly puppeteer.
5958
- * @example
5959
- *
5960
- * ```ts
5961
- * import {unregisterCustomQueryHandler} from 'puppeteer';
5962
- * ```
5984
+ * Gets the names of all custom query handlers.
5963
5985
  */
5964
- unregisterCustomQueryHandler(name: string): void;
5986
+ static customQueryHandlerNames(): string[];
5965
5987
  /**
5966
- * @deprecated Import directly puppeteer.
5967
- * @example
5968
- *
5969
- * ```ts
5970
- * import {customQueryHandlerNames} from 'puppeteer';
5971
- * ```
5988
+ * Unregisters all custom query handlers.
5972
5989
  */
5973
- customQueryHandlerNames(): string[];
5990
+ static clearCustomQueryHandlers(): void;
5991
+ /* Excluded from this release type: _isPuppeteerCore */
5992
+ /* Excluded from this release type: _changedProduct */
5993
+ /* Excluded from this release type: __constructor */
5974
5994
  /**
5975
- * @deprecated Import directly puppeteer.
5976
- * @example
5995
+ * This method attaches Puppeteer to an existing browser instance.
5977
5996
  *
5978
- * ```ts
5979
- * import {clearCustomQueryHandlers} from 'puppeteer';
5980
- * ```
5997
+ * @remarks
5998
+ *
5999
+ * @param options - Set of configurable options to set on the browser.
6000
+ * @returns Promise which resolves to browser instance.
5981
6001
  */
5982
- clearCustomQueryHandlers(): void;
6002
+ connect(options: ConnectOptions): Promise<Browser>;
5983
6003
  }
5984
6004
 
5985
6005
  /* Excluded from this release type: PUPPETEER_REVISIONS */
5986
6006
 
5987
6007
  /* Excluded from this release type: PUPPETEER_WORLD */
5988
6008
 
5989
- /* Excluded from this release type: puppeteerDirname */
5990
-
5991
6009
  /**
6010
+ * @deprecated Do not use.
6011
+ *
5992
6012
  * @public
5993
6013
  */
5994
6014
  export declare interface PuppeteerErrors {
@@ -6048,23 +6068,29 @@ export declare class HTTPResponse {
6048
6068
  */
6049
6069
  export declare class PuppeteerNode extends Puppeteer {
6050
6070
  #private;
6051
- _preferredRevision: string;
6071
+ /* Excluded from this release type: defaultBrowserRevision */
6072
+ /* Excluded from this release type: configuration */
6052
6073
  /* Excluded from this release type: __constructor */
6053
6074
  /**
6054
6075
  * This method attaches Puppeteer to an existing browser instance.
6055
6076
  *
6056
6077
  * @param options - Set of configurable options to set on the browser.
6057
6078
  * @returns Promise which resolves to browser instance.
6079
+ *
6080
+ * @public
6058
6081
  */
6059
6082
  connect(options: ConnectOptions): Promise<Browser>;
6060
- /* Excluded from this release type: _productName */
6061
- /* Excluded from this release type: _productName */
6062
6083
  /**
6063
- * Launches puppeteer and launches a browser instance with given arguments and
6064
- * options when specified.
6084
+ * Launches a browser instance with given arguments and options when
6085
+ * specified.
6086
+ *
6087
+ * When using with `puppeteer-core`,
6088
+ * {@link LaunchOptions.executablePath | options.executablePath} or
6089
+ * {@link LaunchOptions.channel | options.channel} must be provided.
6065
6090
  *
6066
6091
  * @example
6067
- * You can use `ignoreDefaultArgs` to filter out `--mute-audio` from default arguments:
6092
+ * You can use {@link LaunchOptions.ignoreDefaultArgs | options.ignoreDefaultArgs}
6093
+ * to filter out `--mute-audio` from default arguments:
6068
6094
  *
6069
6095
  * ```ts
6070
6096
  * const browser = await puppeteer.launch({
@@ -6073,57 +6099,75 @@ export declare class HTTPResponse {
6073
6099
  * ```
6074
6100
  *
6075
6101
  * @remarks
6076
- * **NOTE** Puppeteer can also be used to control the Chrome browser, but it
6077
- * works best with the version of Chromium it is bundled with. There is no
6078
- * guarantee it will work with any other version. Use `executablePath` option
6079
- * with extreme caution. If Google Chrome (rather than Chromium) is preferred,
6080
- * a {@link https://www.google.com/chrome/browser/canary.html | Chrome Canary}
6102
+ * Puppeteer can also be used to control the Chrome browser, but it works best
6103
+ * with the version of Chromium downloaded by default by Puppeteer. There is
6104
+ * no guarantee it will work with any other version. If Google Chrome (rather
6105
+ * than Chromium) is preferred, a
6106
+ * {@link https://www.google.com/chrome/browser/canary.html | Chrome Canary}
6081
6107
  * or
6082
6108
  * {@link https://www.chromium.org/getting-involved/dev-channel | Dev Channel}
6083
- * build is suggested. In `puppeteer.launch([options])`, any mention of
6084
- * Chromium also applies to Chrome. See
6109
+ * build is suggested. See
6085
6110
  * {@link https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/ | this article}
6086
6111
  * for a description of the differences between Chromium and Chrome.
6087
6112
  * {@link https://chromium.googlesource.com/chromium/src/+/lkgr/docs/chromium_browser_vs_google_chrome.md | This article}
6088
6113
  * describes some differences for Linux users.
6089
6114
  *
6090
- * @param options - Set of configurable options to set on the browser.
6091
- * @returns Promise which resolves to browser instance.
6115
+ * @param options - Options to configure launching behavior.
6116
+ *
6117
+ * @public
6092
6118
  */
6093
6119
  launch(options?: PuppeteerLaunchOptions): Promise<Browser>;
6094
6120
  /**
6095
- * @remarks
6096
- * **NOTE** `puppeteer.executablePath()` is affected by the
6097
- * `PUPPETEER_EXECUTABLE_PATH` and `PUPPETEER_CHROMIUM_REVISION` environment
6098
- * variables.
6121
+ * @returns The default executable path.
6099
6122
  *
6100
- * @returns A path where Puppeteer expects to find the bundled browser. The
6101
- * browser binary might not be there if the download was skipped with the
6102
- * `PUPPETEER_SKIP_DOWNLOAD` environment variable.
6123
+ * @public
6103
6124
  */
6104
- executablePath(channel?: string): string;
6105
- /* Excluded from this release type: _launcher */
6125
+ executablePath(channel?: ChromeReleaseChannel): string;
6126
+ /* Excluded from this release type: browserRevision */
6127
+ /* Excluded from this release type: defaultDownloadPath */
6106
6128
  /**
6107
- * The name of the browser that is under automation (`"chrome"` or
6108
- * `"firefox"`)
6129
+ * @returns The name of the browser that was last launched.
6109
6130
  *
6110
- * @remarks
6111
- * The product is set by the `PUPPETEER_PRODUCT` environment variable or the
6112
- * `product` option in `puppeteer.launch([options])` and defaults to `chrome`.
6113
- * Firefox support is experimental.
6131
+ * @public
6132
+ */
6133
+ get lastLaunchedProduct(): Product;
6134
+ /**
6135
+ * @returns The name of the browser that will be launched by default. For
6136
+ * `puppeteer`, this is influenced by your configuration. Otherwise, it's
6137
+ * `chrome`.
6138
+ *
6139
+ * @public
6140
+ */
6141
+ get defaultProduct(): Product;
6142
+ /**
6143
+ * @deprecated Do not use as this field as it does not take into account
6144
+ * multiple browsers of different types. Use
6145
+ * {@link PuppeteerNode.defaultProduct | defaultProduct} or
6146
+ * {@link PuppeteerNode.lastLaunchedProduct | lastLaunchedProduct}.
6147
+ *
6148
+ * @returns The name of the browser that is under automation.
6149
+ *
6150
+ * @public
6114
6151
  */
6115
6152
  get product(): string;
6116
6153
  /**
6117
6154
  * @param options - Set of configurable options to set on the browser.
6155
+ *
6118
6156
  * @returns The default flags that Chromium will be launched with.
6157
+ *
6158
+ * @public
6119
6159
  */
6120
6160
  defaultArgs(options?: BrowserLaunchArgumentOptions): string[];
6121
6161
  /**
6162
+ * @deprecated If you are using `puppeteer-core`, do not use this method. Just
6163
+ * construct {@link BrowserFetcher} manually.
6164
+ *
6122
6165
  * @param options - Set of configurable options to specify the settings of the
6123
6166
  * BrowserFetcher.
6167
+ *
6124
6168
  * @returns A new BrowserFetcher instance.
6125
6169
  */
6126
- createBrowserFetcher(options: BrowserFetcherOptions): BrowserFetcher;
6170
+ createBrowserFetcher(options: Partial<BrowserFetcherOptions>): BrowserFetcher;
6127
6171
  }
6128
6172
 
6129
6173
  /**
@@ -6133,29 +6177,19 @@ export declare class HTTPResponse {
6133
6177
  */
6134
6178
  export declare type PuppeteerNodeLaunchOptions = BrowserLaunchArgumentOptions & LaunchOptions & BrowserConnectOptions;
6135
6179
 
6180
+ /* Excluded from this release type: PuppeteerQueryHandler */
6181
+
6182
+ /* Excluded from this release type: PuppeteerUtil */
6183
+
6136
6184
  /* Excluded from this release type: QueuedEventGroup */
6137
6185
 
6186
+ /* Excluded from this release type: RAFPoller */
6187
+
6138
6188
  /* Excluded from this release type: RedirectInfo */
6139
6189
 
6140
6190
  /**
6141
- * Registers a {@link CustomQueryHandler | custom query handler}.
6142
- *
6143
- * @remarks
6144
- * After registration, the handler can be used everywhere where a selector is
6145
- * expected by prepending the selection string with `<name>/`. The name is only
6146
- * allowed to consist of lower- and upper case latin letters.
6147
- *
6148
- * @example
6149
- *
6150
- * ```
6151
- * puppeteer.registerCustomQueryHandler('text', { … });
6152
- * const aHandle = await page.$('text/…');
6153
- * ```
6154
- *
6155
- * @param name - The name that the custom query handler will be registered
6156
- * under.
6157
- * @param queryHandler - The {@link CustomQueryHandler | custom query handler}
6158
- * to register.
6191
+ * @deprecated Import {@link Puppeteer} and use the static method
6192
+ * {@link Puppeteer.registerCustomQueryHandler}
6159
6193
  *
6160
6194
  * @public
6161
6195
  */
@@ -6173,8 +6207,6 @@ export declare class HTTPResponse {
6173
6207
 
6174
6208
  /* Excluded from this release type: removeEventListeners */
6175
6209
 
6176
- /* Excluded from this release type: resolveExecutablePath */
6177
-
6178
6210
  /**
6179
6211
  * Resource types for HTTPRequests as perceived by the rendering engine.
6180
6212
  *
@@ -6197,8 +6229,6 @@ export declare class HTTPResponse {
6197
6229
  body: string | Buffer;
6198
6230
  }
6199
6231
 
6200
- /* Excluded from this release type: rootDirname */
6201
-
6202
6232
  /**
6203
6233
  * @public
6204
6234
  */
@@ -6207,6 +6237,10 @@ export declare class HTTPResponse {
6207
6237
  y: number;
6208
6238
  width: number;
6209
6239
  height: number;
6240
+ /**
6241
+ * @defaultValue 1
6242
+ */
6243
+ scale?: number;
6210
6244
  }
6211
6245
 
6212
6246
  /**
@@ -6387,6 +6421,8 @@ export declare class HTTPResponse {
6387
6421
 
6388
6422
  /* Excluded from this release type: source */
6389
6423
 
6424
+ /* Excluded from this release type: supportedMetrics */
6425
+
6390
6426
  /**
6391
6427
  * @public
6392
6428
  */
@@ -6452,8 +6488,12 @@ export declare class HTTPResponse {
6452
6488
 
6453
6489
  /* Excluded from this release type: TargetManagerEmittedEvents */
6454
6490
 
6491
+ /* Excluded from this release type: TaskManager */
6492
+
6455
6493
  /* Excluded from this release type: TaskQueue */
6456
6494
 
6495
+ /* Excluded from this release type: TextContent */
6496
+
6457
6497
  /**
6458
6498
  * TimeoutError is emitted whenever certain operations are terminated due to
6459
6499
  * timeout.
@@ -6469,8 +6509,6 @@ export declare class HTTPResponse {
6469
6509
 
6470
6510
  /* Excluded from this release type: TimeoutSettings */
6471
6511
 
6472
- /* Excluded from this release type: tmpdir */
6473
-
6474
6512
  /**
6475
6513
  * The Touchscreen class exposes touchscreen events.
6476
6514
  * @public
@@ -6529,8 +6567,11 @@ export declare class HTTPResponse {
6529
6567
  categories?: string[];
6530
6568
  }
6531
6569
 
6570
+ /* Excluded from this release type: unitToPixels */
6571
+
6532
6572
  /**
6533
- * @param name - The name of the query handler to unregistered.
6573
+ * @deprecated Import {@link Puppeteer} and use the static method
6574
+ * {@link Puppeteer.unregisterCustomQueryHandler}
6534
6575
  *
6535
6576
  * @public
6536
6577
  */
@@ -6635,10 +6676,6 @@ export declare class HTTPResponse {
6635
6676
  * @defaultValue `30000` (30 seconds)
6636
6677
  */
6637
6678
  timeout?: number;
6638
- /**
6639
- * @deprecated Do not use. Use the {@link ElementHandle.waitForSelector}
6640
- */
6641
- root?: ElementHandle<Node>;
6642
6679
  }
6643
6680
 
6644
6681
  /**
@@ -6673,6 +6710,8 @@ export declare class HTTPResponse {
6673
6710
 
6674
6711
  /* Excluded from this release type: waitWithTimeout */
6675
6712
 
6713
+ /* Excluded from this release type: WEB_PERMISSION_TO_PROTOCOL_PERMISSION */
6714
+
6676
6715
  /**
6677
6716
  * This class represents a
6678
6717
  * {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API | WebWorker}.
@@ -6702,15 +6741,11 @@ export declare class HTTPResponse {
6702
6741
  export declare class WebWorker extends EventEmitter {
6703
6742
  #private;
6704
6743
  /* Excluded from this release type: __constructor */
6744
+ /* Excluded from this release type: executionContext */
6705
6745
  /**
6706
6746
  * @returns The URL of this web worker.
6707
6747
  */
6708
6748
  url(): string;
6709
- /**
6710
- * Returns the ExecutionContext the WebWorker runs in
6711
- * @returns The ExecutionContext the web worker runs in.
6712
- */
6713
- executionContext(): Promise<ExecutionContext>;
6714
6749
  /**
6715
6750
  * If the function passed to the `worker.evaluate` returns a Promise, then
6716
6751
  * `worker.evaluate` would wait for the promise to resolve and return its