venetian 0.2.0-aarch64-linux → 0.2.2-aarch64-linux

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 (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/exe/aarch64-linux/LICENSE +202 -202
  4. data/exe/aarch64-linux/node +0 -0
  5. data/exe/aarch64-linux/package/browsers.json +12 -18
  6. data/exe/aarch64-linux/package/lib/bootstrap.js +1 -1
  7. data/exe/aarch64-linux/package/lib/coreBundle.js +11344 -9900
  8. data/exe/aarch64-linux/package/lib/server/electron/loader.js +5 -2
  9. data/exe/aarch64-linux/package/lib/serverRegistry.js +5 -1
  10. data/exe/aarch64-linux/package/lib/tools/cli-client/help.json +21 -6
  11. data/exe/aarch64-linux/package/lib/tools/cli-client/program.js +1 -1
  12. data/exe/aarch64-linux/package/lib/tools/cli-client/session.js +4 -0
  13. data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/SKILL.md +21 -5
  14. data/exe/aarch64-linux/package/lib/tools/{cli-client/skill/references/spec-driven-testing.md → skills/playwright-cli/references/test-generation.md} +135 -7
  15. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/SKILL.md +143 -0
  16. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  17. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/migration.md +85 -0
  18. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/react.md +67 -0
  19. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/vue.md +75 -0
  20. data/exe/aarch64-linux/package/lib/tools/utils/extension.js +31 -8
  21. data/exe/aarch64-linux/package/lib/utilsBundle.js +37698 -33670
  22. data/exe/aarch64-linux/package/lib/utilsBundle.js.LICENSE +391 -268
  23. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-CyWAfh-p.js +11 -0
  24. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-DhC616m4.css +1 -0
  25. data/exe/aarch64-linux/package/lib/vite/dashboard/index.html +2 -2
  26. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.css +2 -1
  27. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.js +15 -55
  28. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  29. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-CwYYHbcZ.js +32 -0
  30. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-DYjdXIbE.js +129 -0
  31. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-l_lX622x.css +1 -0
  32. data/exe/aarch64-linux/package/lib/vite/recorder/index.html +2 -2
  33. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/codeMirrorModule-rXmQmLUY.js +32 -0
  34. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-B-dXF5JN.js +181 -0
  35. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  36. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/xtermModule-BuZfJS5v.js +7 -0
  37. data/exe/aarch64-linux/package/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  38. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.BLFoOugd.css +1 -0
  39. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  40. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.KZ4wOW1K.js +1 -0
  41. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.html +5 -5
  42. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  43. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.html +2 -2
  44. data/exe/aarch64-linux/package/lib/vite/traceViewer/sw.bundle.js +3 -4
  45. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.C7UW1sC9.css +1 -0
  46. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.Dzuouizj.js +5 -0
  47. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.html +5 -5
  48. data/exe/aarch64-linux/package/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  49. data/exe/aarch64-linux/package/lib/webp_codec.LICENSE +173 -0
  50. data/exe/aarch64-linux/package/lib/webp_codec.wasm +0 -0
  51. data/exe/aarch64-linux/package/lib/xdg-open +338 -137
  52. data/exe/aarch64-linux/package/package.json +2 -2
  53. data/exe/aarch64-linux/package/types/protocol.d.ts +249 -36
  54. data/exe/aarch64-linux/package/types/structs.d.ts +8 -1
  55. data/exe/aarch64-linux/package/types/types.d.ts +2009 -266
  56. data/lib/venetian/executable.rb +6 -2
  57. data/lib/venetian/upstream.rb +35 -18
  58. data/lib/venetian/version.rb +2 -2
  59. metadata +41 -38
  60. data/exe/aarch64-linux/package/api.json +0 -1
  61. data/exe/aarch64-linux/package/lib/server/deviceDescriptorsSource.json +0 -2739
  62. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/test-generation.md +0 -134
  63. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-BY2S1tHT.css +0 -1
  64. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-C_5TMfeg.js +0 -52
  65. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +0 -1
  66. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-DeBYQozu.js +0 -32
  67. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-4ZiSSCmn.css +0 -1
  68. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-Bq-mQf8S.js +0 -193
  69. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/codeMirrorModule-LEHpjmcn.js +0 -32
  70. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-BNmKHKpQ.js +0 -264
  71. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +0 -1
  72. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
  73. data/exe/aarch64-linux/package/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +0 -1
  74. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.CjdS-WJx.css +0 -1
  75. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.CzXZzn5A.css +0 -1
  76. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.DMMX1gXU.js +0 -2
  77. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.v8KI4P3m.js +0 -2
  78. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +0 -1
  79. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.Ut8wwJNp.js +0 -6
  80. data/exe/aarch64-linux/package/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
  81. data/exe/aarch64-linux/package/protocol.yml +0 -4991
  82. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/element-attributes.md +0 -0
  83. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/playwright-tests.md +0 -0
  84. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/request-mocking.md +0 -0
  85. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/running-code.md +0 -0
  86. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/session-management.md +0 -0
  87. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/storage-state.md +0 -0
  88. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/tracing.md +0 -0
  89. /data/exe/aarch64-linux/package/lib/tools/{cli-client/skill → skills/playwright-cli}/references/video-recording.md +0 -0
  90. /data/exe/aarch64-linux/package/lib/tools/{trace → skills/playwright-trace}/SKILL.md +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-core",
3
- "version": "1.61.1",
3
+ "version": "1.62.1",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "homepage": "https://playwright.dev",
10
10
  "engines": {
11
- "node": ">=18"
11
+ "node": ">=20"
12
12
  },
13
13
  "author": {
14
14
  "name": "Microsoft Corporation"
@@ -341,6 +341,84 @@ including nodes that are ignored for accessibility.
341
341
  }
342
342
  }
343
343
 
344
+ /**
345
+ * A domain for ad-related metrics and data.
346
+ */
347
+ export namespace Ads {
348
+ /**
349
+ * Ad frame data.
350
+ */
351
+ export interface AdFrameData {
352
+ /**
353
+ * The DevTools frame token.
354
+ */
355
+ frameId: Page.FrameId;
356
+ /**
357
+ * The initial origin of the frame. To minimize the payload size, this is
358
+ only sent once per frame.
359
+ */
360
+ initialOrigin?: string;
361
+ /**
362
+ * The network bytes of the frame.
363
+ */
364
+ networkBytes: number;
365
+ /**
366
+ * The CPU time of the frame, in milliseconds.
367
+ */
368
+ cpuTime: number;
369
+ }
370
+ /**
371
+ * Ad metrics for a page.
372
+ */
373
+ export interface AdMetrics {
374
+ /**
375
+ * The viewport ad density by area, represented as a percentage (an integer
376
+ between 0 and 100).
377
+ */
378
+ viewportAdDensityByArea: number;
379
+ /**
380
+ * The time-weighted average of the viewport ad density by area, measured
381
+ across the duration of the page.
382
+ */
383
+ averageViewportAdDensityByArea: number;
384
+ /**
385
+ * The number of ads currently visible within the viewport.
386
+ */
387
+ viewportAdCount: number;
388
+ /**
389
+ * The time-weighted average of the viewport ad count, measured across the
390
+ duration of the page.
391
+ */
392
+ averageViewportAdCount: number;
393
+ /**
394
+ * The total ad CPU usage, in milliseconds.
395
+ */
396
+ totalAdCpuTime: number;
397
+ /**
398
+ * The total ad network bytes.
399
+ */
400
+ totalAdNetworkBytes: number;
401
+ /**
402
+ * The list of ad frames that have been updated since the last event.
403
+ */
404
+ updateAdFrames: AdFrameData[];
405
+ /**
406
+ * The list of ad frame IDs that have been removed since the last event.
407
+ */
408
+ removeAdFrames: Page.FrameId[];
409
+ }
410
+
411
+
412
+ /**
413
+ * Retrieves ad metrics for the current page.
414
+ */
415
+ export type getAdMetricsParameters = {
416
+ }
417
+ export type getAdMetricsReturnValue = {
418
+ metrics: AdMetrics;
419
+ }
420
+ }
421
+
344
422
  export namespace Animation {
345
423
  /**
346
424
  * Animation instance.
@@ -859,8 +937,8 @@ CORS RFC1918 enforcement.
859
937
  clientSecurityState?: Network.ClientSecurityState;
860
938
  }
861
939
  export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport"|"NavigationRegistrationWithoutTransientUserActivation"|"InvalidInfoHeader"|"NoRegisterSourceHeader"|"NoRegisterTriggerHeader"|"NoRegisterOsSourceHeader"|"NoRegisterOsTriggerHeader"|"NavigationRegistrationUniqueScopeAlreadySet";
862
- export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorInvalidTTLField"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonIntegerTTLField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
863
- export type SRIMessageSignatureError = "MissingSignatureHeader"|"MissingSignatureInputHeader"|"InvalidSignatureHeader"|"InvalidSignatureInputHeader"|"SignatureHeaderValueIsNotByteSequence"|"SignatureHeaderValueIsParameterized"|"SignatureHeaderValueIsIncorrectLength"|"SignatureInputHeaderMissingLabel"|"SignatureInputHeaderValueNotInnerList"|"SignatureInputHeaderValueMissingComponents"|"SignatureInputHeaderInvalidComponentType"|"SignatureInputHeaderInvalidComponentName"|"SignatureInputHeaderInvalidHeaderComponentParameter"|"SignatureInputHeaderInvalidDerivedComponentParameter"|"SignatureInputHeaderKeyIdLength"|"SignatureInputHeaderInvalidParameter"|"SignatureInputHeaderMissingRequiredParameters"|"ValidationFailedSignatureExpired"|"ValidationFailedInvalidLength"|"ValidationFailedSignatureMismatch"|"ValidationFailedIntegrityMismatch";
940
+ export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorInvalidTTLField"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonIntegerTTLField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorInvalidMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
941
+ export type SRIMessageSignatureError = "MissingSignatureHeader"|"MissingSignatureInputHeader"|"InvalidSignatureHeader"|"InvalidSignatureInputHeader"|"SignatureHeaderValueIsNotByteSequence"|"SignatureHeaderValueIsParameterized"|"SignatureHeaderValueIsIncorrectLength"|"SignatureInputHeaderMissingLabel"|"SignatureInputHeaderValueNotInnerList"|"SignatureInputHeaderValueMissingComponents"|"SignatureInputHeaderInvalidComponentType"|"SignatureInputHeaderInvalidComponentName"|"SignatureInputHeaderInvalidHeaderComponentParameter"|"SignatureInputHeaderInvalidDerivedComponentParameter"|"SignatureInputHeaderKeyIdLength"|"SignatureInputHeaderInvalidParameter"|"SignatureInputHeaderMissingRequiredParameters"|"ValidationFailedSignatureExpired"|"ValidationFailedInvalidLength"|"ValidationFailedSignatureMismatch"|"ValidationFailedIntegrityMismatch"|"SignatureBaseUnknownDerivedComponent"|"SignatureBaseMissingHeader"|"SignatureBaseInvalidUnencodedDigest"|"SignatureBaseUnsupportedComponent";
864
942
  export type UnencodedDigestError = "MalformedDictionary"|"UnknownAlgorithm"|"IncorrectDigestType"|"IncorrectDigestLength";
865
943
  export type ConnectionAllowlistError = "InvalidHeader"|"MoreThanOneList"|"ItemNotInnerList"|"InvalidAllowlistItemType"|"ReportingEndpointNotToken"|"InvalidUrlPattern";
866
944
  /**
@@ -910,7 +988,7 @@ instead of "limited-quirks".
910
988
  error: ConnectionAllowlistError;
911
989
  request: AffectedRequest;
912
990
  }
913
- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo"|"FormModelContextParameterMissingTitleAndDescription"|"FormModelContextMissingToolName"|"FormModelContextMissingToolDescription"|"FormModelContextRequiredParameterMissingName"|"FormModelContextParameterMissingName";
991
+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"BackUINavigationWouldSkipAd"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo"|"FormModelContextParameterMissingTitleAndDescription"|"FormModelContextMissingToolName"|"FormModelContextMissingToolDescription"|"FormModelContextRequiredParameterMissingName"|"FormModelContextParameterMissingName";
914
992
  /**
915
993
  * Depending on the concrete errorType, different properties are set.
916
994
  */
@@ -979,6 +1057,15 @@ Should be updated alongside FederatedAuthUserInfoRequestResult in
979
1057
  third_party/blink/public/mojom/devtools/inspector_issue.mojom.
980
1058
  */
981
1059
  export type FederatedAuthUserInfoRequestIssueReason = "NotSameOrigin"|"NotIframe"|"NotPotentiallyTrustworthy"|"NoApiPermission"|"NotSignedInWithIdp"|"NoAccountSharingPermission"|"InvalidConfigOrWellKnown"|"InvalidAccountsResponse"|"NoReturningUserFromFetchedAccounts";
1060
+ export interface EmailVerificationRequestIssueDetails {
1061
+ emailVerificationRequestIssueReason: EmailVerificationRequestIssueReason;
1062
+ }
1063
+ /**
1064
+ * Represents the failure reason when an email verification request fails.
1065
+ Should be updated alongside EmailVerificationRequestResult in
1066
+ third_party/blink/public/mojom/devtools/inspector_issue.mojom.
1067
+ */
1068
+ export type EmailVerificationRequestIssueReason = "InvalidEmail"|"DnsFetchFailed"|"DnsInvalidRecord"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"WellKnownMissingIssuanceEndpoint"|"WellKnownIssuanceEndpointCrossOrigin"|"WellKnownUnsupportedSigningAlgorithm"|"TokenHttpNotFound"|"TokenNoResponse"|"TokenInvalidResponse"|"TokenInvalidContentType"|"TokenMalformedSdJwt"|"TokenInvalidSdJwt"|"KeyBindingSigningFailed"|"RpOriginIsOpaque"|"WellKnownMissingAccountsEndpoint"|"UserLoggedOut"|"WellKnownAccountsEndpointCrossOrigin"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsInvalidContentType"|"AccountsEmptyList"|"EmailVerificationWellKnownHttpNotFound"|"EmailVerificationWellKnownNoResponse"|"EmailVerificationWellKnownInvalidResponse"|"EmailVerificationWellKnownInvalidContentType"|"JwksHttpNotFound"|"JwksInvalidResponse"|"TokenVerificationSdJwtUnsupportedHeaderAlg"|"TokenVerificationSdJwtInvalidTyp"|"TokenVerificationSdJwtMissingIss"|"TokenVerificationSdJwtMissingIat"|"TokenVerificationSdJwtMissingCnf"|"TokenVerificationSdJwtMissingEmail"|"TokenVerificationSdJwtInvalidIssuedAt"|"TokenVerificationSdJwtInvalidIssuer"|"TokenVerificationSdJwtJwksMissingKeys"|"TokenVerificationSdJwtSignatureFailed"|"TokenVerificationSdJwtInvalidEmailVerified"|"TokenVerificationSdJwtInvalidEmail"|"TokenVerificationSdJwtInvalidHolderKey"|"TokenVerificationKbInvalidTyp"|"TokenVerificationKbMissingAud"|"TokenVerificationKbMissingNonce"|"TokenVerificationKbMissingIat"|"TokenVerificationKbMissingSdHash"|"TokenVerificationKbInvalidIssuedAt"|"TokenVerificationKbInvalidAudience"|"TokenVerificationKbInvalidNonce"|"TokenVerificationKbInvalidSdHash"|"TokenVerificationKbMissingCnf"|"TokenVerificationKbSignatureFailed";
982
1069
  /**
983
1070
  * This issue tracks client hints related issues. It's used to deprecate old
984
1071
  features, encourage the use of new ones, and provide general guidance.
@@ -1071,7 +1158,7 @@ re-identify users.
1071
1158
  */
1072
1159
  sourceCodeLocation?: SourceCodeLocation;
1073
1160
  }
1074
- export type PermissionElementIssueType = "InvalidType"|"FencedFrameDisallowed"|"CspFrameAncestorsMissing"|"PermissionsPolicyBlocked"|"PaddingRightUnsupported"|"PaddingBottomUnsupported"|"InsetBoxShadowUnsupported"|"RequestInProgress"|"UntrustedEvent"|"RegistrationFailed"|"TypeNotSupported"|"InvalidTypeActivation"|"SecurityChecksFailed"|"ActivationDisabled"|"GeolocationDeprecated"|"InvalidDisplayStyle"|"NonOpaqueColor"|"LowContrast"|"FontSizeTooSmall"|"FontSizeTooLarge"|"InvalidSizeValue";
1161
+ export type PermissionElementIssueType = "InvalidType"|"FencedFrameDisallowed"|"CspFrameAncestorsMissing"|"PermissionsPolicyBlocked"|"PaddingRightUnsupported"|"PaddingBottomUnsupported"|"InsetBoxShadowUnsupported"|"RequestInProgress"|"UntrustedEvent"|"RegistrationFailed"|"TypeNotSupported"|"InvalidTypeActivation"|"SecurityChecksFailed"|"ActivationDisabled"|"GeolocationDeprecated"|"InvalidDisplayStyle"|"NonOpaqueColor"|"LowContrast"|"FontSizeTooSmall"|"FontSizeTooLarge"|"InvalidSizeValue"|"NonSecureContext"|"MissingTransientUserActivation";
1075
1162
  /**
1076
1163
  * This issue warns about improper usage of the <permission> element.
1077
1164
  */
@@ -1130,7 +1217,7 @@ Selective Permissions Intervention.
1130
1217
  optional fields in InspectorIssueDetails to convey more specific
1131
1218
  information about the kind of issue.
1132
1219
  */
1133
- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue"|"PerformanceIssue"|"SelectivePermissionsInterventionIssue";
1220
+ export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue"|"PerformanceIssue"|"SelectivePermissionsInterventionIssue"|"EmailVerificationRequestIssue";
1134
1221
  /**
1135
1222
  * This struct holds a list of optional fields with additional information
1136
1223
  specific to the kind of issue. When adding a new issue code, please also
@@ -1166,6 +1253,7 @@ add a new optional field to this type.
1166
1253
  permissionElementIssueDetails?: PermissionElementIssueDetails;
1167
1254
  performanceIssueDetails?: PerformanceIssueDetails;
1168
1255
  selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
1256
+ emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
1169
1257
  }
1170
1258
  /**
1171
1259
  * A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -2398,6 +2486,27 @@ inspector" rules), "regular" for regular stylesheets.
2398
2486
  */
2399
2487
  specificity?: Specificity;
2400
2488
  }
2489
+ /**
2490
+ * Contribution of an individual simple selector to specificity.
2491
+ */
2492
+ export interface SpecificityComponent {
2493
+ /**
2494
+ * The simple selector text that contributes to specificity.
2495
+ */
2496
+ text: string;
2497
+ /**
2498
+ * The a component contribution.
2499
+ */
2500
+ a: number;
2501
+ /**
2502
+ * The b component contribution.
2503
+ */
2504
+ b: number;
2505
+ /**
2506
+ * The c component contribution.
2507
+ */
2508
+ c: number;
2509
+ }
2401
2510
  /**
2402
2511
  * Specificity:
2403
2512
  https://drafts.csswg.org/selectors/#specificity-rules
@@ -2416,6 +2525,10 @@ pseudo-classes.
2416
2525
  * The c component, which represents the number of type selectors and pseudo-elements.
2417
2526
  */
2418
2527
  c: number;
2528
+ /**
2529
+ * Per-simple-selector contributions used to explain this specificity.
2530
+ */
2531
+ components?: SpecificityComponent[];
2419
2532
  }
2420
2533
  /**
2421
2534
  * Selector list data.
@@ -2808,6 +2921,9 @@ available).
2808
2921
  export interface CSSContainerQuery {
2809
2922
  /**
2810
2923
  * Container query text.
2924
+ Contains the query part without the container name for a single query.
2925
+ Deprecated in favor of conditionText which contains the full prelude
2926
+ after @container.
2811
2927
  */
2812
2928
  text: string;
2813
2929
  /**
@@ -2839,6 +2955,10 @@ available).
2839
2955
  * true if the query contains anchored() queries.
2840
2956
  */
2841
2957
  queriesAnchored?: boolean;
2958
+ /**
2959
+ * CSSContainerRule.conditionText
2960
+ */
2961
+ conditionText: string;
2842
2962
  }
2843
2963
  /**
2844
2964
  * CSS Supports at-rule descriptor.
@@ -3114,7 +3234,7 @@ stylesheet rules) this rule came from.
3114
3234
  /**
3115
3235
  * Type of at-rule.
3116
3236
  */
3117
- type: "font-face"|"font-feature-values"|"font-palette-values";
3237
+ type: "font-face"|"font-feature-values"|"font-palette-values"|"counter-style";
3118
3238
  /**
3119
3239
  * Subsection of font-feature-values, if this is a subsection.
3120
3240
  */
@@ -3792,6 +3912,7 @@ property
3792
3912
  }
3793
3913
  /**
3794
3914
  * Modifies the expression of a container query.
3915
+ Deprecated. Use setContainerQueryConditionText instead.
3795
3916
  */
3796
3917
  export type setContainerQueryTextParameters = {
3797
3918
  styleSheetId: DOM.StyleSheetId;
@@ -3804,6 +3925,17 @@ property
3804
3925
  */
3805
3926
  containerQuery: CSSContainerQuery;
3806
3927
  }
3928
+ export type setContainerQueryConditionTextParameters = {
3929
+ styleSheetId: DOM.StyleSheetId;
3930
+ range: SourceRange;
3931
+ text: string;
3932
+ }
3933
+ export type setContainerQueryConditionTextReturnValue = {
3934
+ /**
3935
+ * The resulting CSS container query rule after modification.
3936
+ */
3937
+ containerQuery: CSSContainerQuery;
3938
+ }
3807
3939
  /**
3808
3940
  * Modifies the expression of a supports at-rule.
3809
3941
  */
@@ -4277,7 +4409,7 @@ front-end.
4277
4409
  /**
4278
4410
  * Pseudo element type.
4279
4411
  */
4280
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"expand-icon"|"picker-icon"|"interest-button"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent";
4412
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"expand-icon"|"picker-icon"|"interest-button"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"select-listbox"|"permission-icon"|"overscroll-area-parent"|"overscroll-backdrop"|"skeleton";
4281
4413
  /**
4282
4414
  * Shadow root type.
4283
4415
  */
@@ -5710,6 +5842,13 @@ and keeps it open until disabled.
5710
5842
  popover if it was previously force-opened.
5711
5843
  */
5712
5844
  enable: boolean;
5845
+ /**
5846
+ * Optional ID of the element invoking this popover, used to establish the implicit anchor.
5847
+ If not provided, it will fall back to the first invoker in the document, preferring
5848
+ elements with a popovertarget attribute over those with a commandfor attribute. Note that
5849
+ if there are multiple invokers, this is just an estimate.
5850
+ */
5851
+ invokerNodeId?: BackendNodeId;
5713
5852
  }
5714
5853
  export type forceShowPopoverReturnValue = {
5715
5854
  /**
@@ -7258,8 +7397,7 @@ platform-provided telemetry data.
7258
7397
  export type setPressureSourceOverrideEnabledReturnValue = {
7259
7398
  }
7260
7399
  /**
7261
- * TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
7262
- Provides a given pressure state that will be processed and eventually be
7400
+ * Provides a given pressure state that will be processed and eventually be
7263
7401
  delivered to PressureObserver users. |source| must have been previously
7264
7402
  overridden by setPressureSourceOverrideEnabled.
7265
7403
  */
@@ -7269,18 +7407,6 @@ overridden by setPressureSourceOverrideEnabled.
7269
7407
  }
7270
7408
  export type setPressureStateOverrideReturnValue = {
7271
7409
  }
7272
- /**
7273
- * Provides a given pressure data set that will be processed and eventually be
7274
- delivered to PressureObserver users. |source| must have been previously
7275
- overridden by setPressureSourceOverrideEnabled.
7276
- */
7277
- export type setPressureDataOverrideParameters = {
7278
- source: PressureSource;
7279
- state: PressureState;
7280
- ownContributionEstimate?: number;
7281
- }
7282
- export type setPressureDataOverrideReturnValue = {
7283
- }
7284
7410
  /**
7285
7411
  * Overrides the Idle state.
7286
7412
  */
@@ -10891,7 +11017,7 @@ This is a temporary ability and it will be removed in the future.
10891
11017
  /**
10892
11018
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
10893
11019
  */
10894
- export type CookieExemptionReason = "None"|"UserSetting"|"TPCDMetadata"|"TPCDDeprecationTrial"|"TopLevelTPCDDeprecationTrial"|"TPCDHeuristics"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"Scheme"|"SameSiteNoneCookiesInSandbox";
11020
+ export type CookieExemptionReason = "None"|"UserSetting"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"Scheme"|"SameSiteNoneCookiesInSandbox";
10895
11021
  /**
10896
11022
  * A cookie which was not stored from a response with the corresponding reason.
10897
11023
  */
@@ -11578,7 +11704,7 @@ details; this boolean is true if that value is populated.
11578
11704
  /**
11579
11705
  * A fetch result for a device bound session creation or refresh.
11580
11706
  */
11581
- export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"TransientSigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";
11707
+ export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"TransientSigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh"|"CrossOriginRegistrationSiteNotIncluded";
11582
11708
  /**
11583
11709
  * Details about a failed device bound session network request.
11584
11710
  */
@@ -13547,6 +13673,51 @@ Page reload is required before the new cookie behavior will be observed
13547
13673
  */
13548
13674
  outlineColor?: DOM.RGBA;
13549
13675
  }
13676
+ /**
13677
+ * Supported display cutout shapes.
13678
+ */
13679
+ export type DisplayCutoutShape = "pill"|"notch"|"circle"|"rectangle";
13680
+ /**
13681
+ * Configuration for a display cutout.
13682
+ */
13683
+ export interface DisplayCutoutConfig {
13684
+ /**
13685
+ * A rectangle representing the cutout bounds.
13686
+ */
13687
+ rect: DOM.Rect;
13688
+ /**
13689
+ * Shape used to draw the cutout.
13690
+ */
13691
+ shape: DisplayCutoutShape;
13692
+ /**
13693
+ * Border radius for rounded cutout shapes.
13694
+ */
13695
+ borderRadius?: number;
13696
+ /**
13697
+ * Upper shoulder radius for notch cutout shapes.
13698
+ */
13699
+ upperRadius?: number;
13700
+ /**
13701
+ * Lower transition radius for notch cutout shapes.
13702
+ */
13703
+ lowerRadius?: number;
13704
+ /**
13705
+ * Center x coordinate for circle cutout shapes.
13706
+ */
13707
+ cx?: number;
13708
+ /**
13709
+ * Center y coordinate for circle cutout shapes.
13710
+ */
13711
+ cy?: number;
13712
+ /**
13713
+ * Radius for circle cutout shapes.
13714
+ */
13715
+ radius?: number;
13716
+ /**
13717
+ * The cutout fill color (default: black).
13718
+ */
13719
+ contentColor?: DOM.RGBA;
13720
+ }
13550
13721
  /**
13551
13722
  * Configuration for Window Controls Overlay
13552
13723
  */
@@ -14052,6 +14223,17 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
14052
14223
  }
14053
14224
  export type setShowHingeReturnValue = {
14054
14225
  }
14226
+ /**
14227
+ * Add a display cutout overlay.
14228
+ */
14229
+ export type setShowDisplayCutoutParameters = {
14230
+ /**
14231
+ * display cutout data, null means hide display cutout
14232
+ */
14233
+ displayCutoutConfig?: DisplayCutoutConfig;
14234
+ }
14235
+ export type setShowDisplayCutoutReturnValue = {
14236
+ }
14055
14237
  /**
14056
14238
  * Show elements in isolation mode with overlays.
14057
14239
  */
@@ -14281,7 +14463,7 @@ supported yet.
14281
14463
  in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
14282
14464
  LINT.IfChange(PermissionsPolicyFeature)
14283
14465
  */
14284
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network"|"local-network-access"|"loopback-network"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"tools"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
14466
+ export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network"|"local-network-access"|"loopback-network"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"tools"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"webnn"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
14285
14467
  /**
14286
14468
  * Reason for a permissions policy feature to be disabled.
14287
14469
  */
@@ -15467,6 +15649,15 @@ iframes, shadow DOM, external resources, and element-inline styles.
15467
15649
  option, use with caution.
15468
15650
  */
15469
15651
  grantUniveralAccess?: boolean;
15652
+ /**
15653
+ * An optional content security policy to set for the isolated world.
15654
+ If omitted, any existing CSP for the world will be cleared.
15655
+ Note that clearing or updating the CSP does not immediately affect the active
15656
+ context in the same document because LocalDOMWindow caches the
15657
+ ContentSecurityPolicy object. The change takes effect on subsequent
15658
+ navigations when a new window context is created.
15659
+ */
15660
+ contentSecurityPolicy?: string;
15470
15661
  }
15471
15662
  export type createIsolatedWorldReturnValue = {
15472
15663
  /**
@@ -16617,7 +16808,7 @@ status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
16617
16808
  * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
16618
16809
  filter out the ones that aren't necessary to the developers.
16619
16810
  */
16620
- export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchEvictedAfterBrowsingDataRemoved"|"PrefetchEvictedAfterCandidateRemoved"|"PrefetchEvictedForNewerPrefetch"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler"|"PrefetchNotEligibleRedirectFromServiceWorker"|"PrefetchNotEligibleRedirectToServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
16811
+ export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchEvictedAfterBrowsingDataRemoved"|"PrefetchEvictedAfterCandidateRemoved"|"PrefetchEvictedForNewerPrefetch"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBlockedByConnectionAllowlist"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler"|"PrefetchNotEligibleRedirectFromServiceWorker"|"PrefetchNotEligibleRedirectToServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed"|"PrefetchCancelledOnUserNavigation";
16621
16812
  /**
16622
16813
  * Information of headers to be displayed when the header mismatch occurred.
16623
16814
  */
@@ -18637,6 +18828,11 @@ this is the "ancestor" frame that created the first worker in the nested chain.
18637
18828
  the type of "page", this may be set to "prerender".
18638
18829
  */
18639
18830
  subtype?: string;
18831
+ /**
18832
+ * Embedder-specific target metadata. This is only set for targets of
18833
+ type "tab".
18834
+ */
18835
+ embedderData?: { [key: string]: string };
18640
18836
  }
18641
18837
  /**
18642
18838
  * A filter used by target query/discovery/auto-attach operations.
@@ -18917,13 +19113,11 @@ present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow:
18917
19113
  */
18918
19114
  hidden?: boolean;
18919
19115
  /**
18920
- * If specified, the option is used to determine if the new target should
18921
- be focused or not. By default, the focus behavior depends on the
18922
- value of the background field. For example, background=false and focus=false
18923
- will result in the target tab being opened but the browser window remain
18924
- unchanged (if it was in the background, it will remain in the background)
18925
- and background=false with focus=undefined will result in the window being focused.
18926
- Using background: true and focus: true is not supported and will result in an error.
19116
+ * If specified, determines whether the new target should be focused.
19117
+ By default, the focus behavior depends on the `background` parameter:
19118
+ - If `background` is false (default) and `focus` is omitted, the new target is focused and the browser window is brought to the foreground.
19119
+ - If `background` is false and `focus` is false, the target is opened but the browser window's focus remains unchanged (e.g., if the window was in the background, it stays there).
19120
+ - If `background` is true, setting `focus` to true is not supported and will result in an error.
18927
19121
  */
18928
19122
  focus?: boolean;
18929
19123
  }
@@ -19110,8 +19304,8 @@ to run paused targets.
19110
19304
  targetId: TargetID;
19111
19305
  /**
19112
19306
  * The id of the panel we want DevTools to open initially. Currently
19113
- supported panels are elements, console, network, sources, resources
19114
- and performance.
19307
+ supported panels are elements, console, network, sources, resources,
19308
+ timeline, chrome-recorder, heap-profiler, lighthouse, and security.
19115
19309
  */
19116
19310
  panelId?: string;
19117
19311
  }
@@ -19386,6 +19580,21 @@ are ignored.
19386
19580
  * Backend type (defaults to `auto`)
19387
19581
  */
19388
19582
  tracingBackend?: TracingBackend;
19583
+ /**
19584
+ * Maximum width and height (in pixels) of each captured screenshot.
19585
+ Only used when the `disabled-by-default-devtools.screenshot` category is
19586
+ enabled. Defaults to 500. The combined memory footprint of screenshots
19587
+ (`screenshotMaxSize` * `screenshotMaxSize` * 4 * `screenshotMaxCount`)
19588
+ is clamped to the existing per-session budget.
19589
+ */
19590
+ screenshotMaxSize?: number;
19591
+ /**
19592
+ * Maximum number of screenshots captured during a single tracing session.
19593
+ Only used when the `disabled-by-default-devtools.screenshot` category is
19594
+ enabled. Defaults to 450. Clamped together with `screenshotMaxSize` to
19595
+ stay within the per-session screenshot memory budget.
19596
+ */
19597
+ screenshotMaxCount?: number;
19389
19598
  }
19390
19599
  export type startReturnValue = {
19391
19600
  }
@@ -23297,6 +23506,7 @@ Error was thrown.
23297
23506
  "Accessibility.getAXNodeAndAncestors": Accessibility.getAXNodeAndAncestorsParameters;
23298
23507
  "Accessibility.getChildAXNodes": Accessibility.getChildAXNodesParameters;
23299
23508
  "Accessibility.queryAXTree": Accessibility.queryAXTreeParameters;
23509
+ "Ads.getAdMetrics": Ads.getAdMetricsParameters;
23300
23510
  "Animation.disable": Animation.disableParameters;
23301
23511
  "Animation.enable": Animation.enableParameters;
23302
23512
  "Animation.getCurrentTime": Animation.getCurrentTimeParameters;
@@ -23382,6 +23592,7 @@ Error was thrown.
23382
23592
  "CSS.setKeyframeKey": CSS.setKeyframeKeyParameters;
23383
23593
  "CSS.setMediaText": CSS.setMediaTextParameters;
23384
23594
  "CSS.setContainerQueryText": CSS.setContainerQueryTextParameters;
23595
+ "CSS.setContainerQueryConditionText": CSS.setContainerQueryConditionTextParameters;
23385
23596
  "CSS.setSupportsText": CSS.setSupportsTextParameters;
23386
23597
  "CSS.setNavigationText": CSS.setNavigationTextParameters;
23387
23598
  "CSS.setScopeText": CSS.setScopeTextParameters;
@@ -23509,7 +23720,6 @@ Error was thrown.
23509
23720
  "Emulation.setSensorOverrideReadings": Emulation.setSensorOverrideReadingsParameters;
23510
23721
  "Emulation.setPressureSourceOverrideEnabled": Emulation.setPressureSourceOverrideEnabledParameters;
23511
23722
  "Emulation.setPressureStateOverride": Emulation.setPressureStateOverrideParameters;
23512
- "Emulation.setPressureDataOverride": Emulation.setPressureDataOverrideParameters;
23513
23723
  "Emulation.setIdleOverride": Emulation.setIdleOverrideParameters;
23514
23724
  "Emulation.clearIdleOverride": Emulation.clearIdleOverrideParameters;
23515
23725
  "Emulation.setNavigatorOverrides": Emulation.setNavigatorOverridesParameters;
@@ -23685,6 +23895,7 @@ Error was thrown.
23685
23895
  "Overlay.setShowWebVitals": Overlay.setShowWebVitalsParameters;
23686
23896
  "Overlay.setShowViewportSizeOnResize": Overlay.setShowViewportSizeOnResizeParameters;
23687
23897
  "Overlay.setShowHinge": Overlay.setShowHingeParameters;
23898
+ "Overlay.setShowDisplayCutout": Overlay.setShowDisplayCutoutParameters;
23688
23899
  "Overlay.setShowIsolatedElements": Overlay.setShowIsolatedElementsParameters;
23689
23900
  "Overlay.setShowWindowControlsOverlay": Overlay.setShowWindowControlsOverlayParameters;
23690
23901
  "PWA.getOsAppState": PWA.getOsAppStateParameters;
@@ -23966,6 +24177,7 @@ Error was thrown.
23966
24177
  "Accessibility.getAXNodeAndAncestors": Accessibility.getAXNodeAndAncestorsReturnValue;
23967
24178
  "Accessibility.getChildAXNodes": Accessibility.getChildAXNodesReturnValue;
23968
24179
  "Accessibility.queryAXTree": Accessibility.queryAXTreeReturnValue;
24180
+ "Ads.getAdMetrics": Ads.getAdMetricsReturnValue;
23969
24181
  "Animation.disable": Animation.disableReturnValue;
23970
24182
  "Animation.enable": Animation.enableReturnValue;
23971
24183
  "Animation.getCurrentTime": Animation.getCurrentTimeReturnValue;
@@ -24051,6 +24263,7 @@ Error was thrown.
24051
24263
  "CSS.setKeyframeKey": CSS.setKeyframeKeyReturnValue;
24052
24264
  "CSS.setMediaText": CSS.setMediaTextReturnValue;
24053
24265
  "CSS.setContainerQueryText": CSS.setContainerQueryTextReturnValue;
24266
+ "CSS.setContainerQueryConditionText": CSS.setContainerQueryConditionTextReturnValue;
24054
24267
  "CSS.setSupportsText": CSS.setSupportsTextReturnValue;
24055
24268
  "CSS.setNavigationText": CSS.setNavigationTextReturnValue;
24056
24269
  "CSS.setScopeText": CSS.setScopeTextReturnValue;
@@ -24178,7 +24391,6 @@ Error was thrown.
24178
24391
  "Emulation.setSensorOverrideReadings": Emulation.setSensorOverrideReadingsReturnValue;
24179
24392
  "Emulation.setPressureSourceOverrideEnabled": Emulation.setPressureSourceOverrideEnabledReturnValue;
24180
24393
  "Emulation.setPressureStateOverride": Emulation.setPressureStateOverrideReturnValue;
24181
- "Emulation.setPressureDataOverride": Emulation.setPressureDataOverrideReturnValue;
24182
24394
  "Emulation.setIdleOverride": Emulation.setIdleOverrideReturnValue;
24183
24395
  "Emulation.clearIdleOverride": Emulation.clearIdleOverrideReturnValue;
24184
24396
  "Emulation.setNavigatorOverrides": Emulation.setNavigatorOverridesReturnValue;
@@ -24354,6 +24566,7 @@ Error was thrown.
24354
24566
  "Overlay.setShowWebVitals": Overlay.setShowWebVitalsReturnValue;
24355
24567
  "Overlay.setShowViewportSizeOnResize": Overlay.setShowViewportSizeOnResizeReturnValue;
24356
24568
  "Overlay.setShowHinge": Overlay.setShowHingeReturnValue;
24569
+ "Overlay.setShowDisplayCutout": Overlay.setShowDisplayCutoutReturnValue;
24357
24570
  "Overlay.setShowIsolatedElements": Overlay.setShowIsolatedElementsReturnValue;
24358
24571
  "Overlay.setShowWindowControlsOverlay": Overlay.setShowWindowControlsOverlayReturnValue;
24359
24572
  "PWA.getOsAppState": PWA.getOsAppStateReturnValue;
@@ -25,10 +25,17 @@ export type Serializable = any;
25
25
  */
26
26
  export type EvaluationArgument = {};
27
27
 
28
- export type NoHandles<Arg> = Arg extends JSHandle ? never : (Arg extends object ? { [Key in keyof Arg]: NoHandles<Arg[Key]> } : Arg);
28
+ export type NoHandles<Arg> =
29
+ Arg extends JSHandle ? never :
30
+ Arg extends (...args: infer T) => PromiseLike<infer U> ? (...args: T) => Promise<NoHandles<U>> :
31
+ Arg extends (...args: infer T) => infer R ? (...args: T) => NoHandles<R> :
32
+ Arg extends object ? { [Key in keyof Arg]: NoHandles<Arg[Key]> } :
33
+ Arg;
29
34
  export type Unboxed<Arg> =
30
35
  Arg extends ElementHandle<infer T> ? T :
31
36
  Arg extends JSHandle<infer T> ? T :
37
+ Arg extends (...args: infer T) => PromiseLike<infer U> ? (...args: T) => Promise<Unboxed<U>> :
38
+ Arg extends (...args: infer T) => infer R ? (...args: T) => Unboxed<R> :
32
39
  Arg extends NoHandles<Arg> ? Arg :
33
40
  Arg extends [infer A0] ? [Unboxed<A0>] :
34
41
  Arg extends [infer A0, infer A1] ? [Unboxed<A0>, Unboxed<A1>] :