diff --git a/README.md b/README.md index 866cb9597f..8dbc9a69f0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🎭 Playwright -[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Chromium version](https://img.shields.io/badge/chromium-108.0.5359.48-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-107.0-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-16.4-blue.svg?logo=safari)](https://webkit.org/) +[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Chromium version](https://img.shields.io/badge/chromium-109.0.5414.25-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-107.0-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-16.4-blue.svg?logo=safari)](https://webkit.org/) ## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright) @@ -8,7 +8,7 @@ Playwright is a framework for Web Testing and Automation. It allows testing [Chr | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | -| Chromium 108.0.5359.48 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Chromium 109.0.5414.25 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 16.4 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Firefox 107.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index 564e2d0ce4..eff3f75ae5 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -3,15 +3,15 @@ "browsers": [ { "name": "chromium", - "revision": "1035", + "revision": "1038", "installByDefault": true, - "browserVersion": "108.0.5359.48" + "browserVersion": "109.0.5414.25" }, { "name": "chromium-with-symbols", - "revision": "1035", + "revision": "1038", "installByDefault": false, - "browserVersion": "108.0.5359.48" + "browserVersion": "109.0.5414.25" }, { "name": "chromium-tip-of-tree", diff --git a/packages/playwright-core/src/server/chromium/protocol.d.ts b/packages/playwright-core/src/server/chromium/protocol.d.ts index cb2f6d9be0..1b618353d2 100644 --- a/packages/playwright-core/src/server/chromium/protocol.d.ts +++ b/packages/playwright-core/src/server/chromium/protocol.d.ts @@ -1130,8 +1130,8 @@ events afterwards if enabled and recording. */ windowState?: WindowState; } - export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"videoCapture"|"videoCapturePanTiltZoom"|"idleDetection"|"wakeLockScreen"|"wakeLockSystem"; - export type PermissionSetting = "granted"|"denied"|"prompt"; + export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"idleDetection"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"storageAccess"|"videoCapture"|"videoCapturePanTiltZoom"|"wakeLockScreen"|"wakeLockSystem"|"windowManagement"; + export type PermissionSetting = "granted"|"denied"; /** * Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor. @@ -1959,6 +1959,14 @@ available). * Optional name for the container. */ name?: string; + /** + * Optional physical axes queried for the container. + */ + physicalAxes?: DOM.PhysicalAxes; + /** + * Optional logical axes queried for the container. + */ + logicalAxes?: DOM.LogicalAxes; } /** * CSS Supports at-rule descriptor. @@ -2923,7 +2931,7 @@ front-end. /** * Pseudo element type. */ - export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"selection"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"page-transition"|"page-transition-container"|"page-transition-image-wrapper"|"page-transition-outgoing-image"|"page-transition-incoming-image"; + export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"selection"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"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-old"|"view-transition-new"; /** * Shadow root type. */ @@ -2932,6 +2940,14 @@ front-end. * Document compatibility mode. */ export type CompatibilityMode = "QuirksMode"|"LimitedQuirksMode"|"NoQuirksMode"; + /** + * ContainerSelector physical axes + */ + export type PhysicalAxes = "Horizontal"|"Vertical"|"Both"; + /** + * ContainerSelector logical axes + */ + export type LogicalAxes = "Inline"|"Block"|"Both"; /** * DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type. @@ -4173,13 +4189,16 @@ $x functions). nodeId?: NodeId; } /** - * Returns the container of the given node based on container query conditions. -If containerName is given, it will find the nearest container with a matching name; -otherwise it will find the nearest container regardless of its container name. + * Returns the query container of the given node based on container query +conditions: containerName, physical, and logical axes. If no axes are +provided, the style container is returned, which is the direct parent or the +closest element with a matching container-name. */ export type getContainerForNodeParameters = { nodeId: NodeId; containerName?: string; + physicalAxes?: PhysicalAxes; + logicalAxes?: LogicalAxes; } export type getContainerForNodeReturnValue = { /** @@ -5667,24 +5686,17 @@ on Android. /** * Image compression format (defaults to png). */ - format?: "jpeg"|"png"; + format?: "jpeg"|"png"|"webp"; /** * Compression quality from range [0..100] (jpeg only). */ quality?: number; + /** + * Optimize image encoding for speed, not for resulting size (defaults to false) + */ + optimizeForSpeed?: boolean; } - /** - * Issued when the target starts or stops needing BeginFrames. -Deprecated. Issue beginFrame unconditionally instead and use result from -beginFrame to detect whether the frames were suppressed. - */ - export type needsBeginFramesChangedPayload = { - /** - * True if BeginFrames are needed, false otherwise. - */ - needsBeginFrames: boolean; - } /** * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a @@ -8783,6 +8795,10 @@ the request and the ones not sent; the latter are distinguished by having blocke * The client security state set for the request. */ clientSecurityState?: ClientSecurityState; + /** + * Whether the site has partitioned cookies stored in a partition different than the current one. + */ + siteHasCookieInOtherPartition?: boolean; } /** * Fired when additional information about a responseReceived event is available from the network @@ -10337,7 +10353,7 @@ as an ad. * All Permissions Policy features. This enum should match the one defined in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5. */ - export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-full"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-reduced"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"cross-origin-isolated"|"direct-sockets"|"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"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"storage-access"|"sync-xhr"|"trust-token-redemption"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking"; + export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-full"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-reduced"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"cross-origin-isolated"|"direct-sockets"|"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"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"storage-access"|"sync-xhr"|"trust-token-redemption"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking"; /** * Reason for a permissions policy feature to be disabled. */ @@ -10802,7 +10818,7 @@ Example URLs: http://www.google.com/file.html -> "google.com" /** * List of not restored reasons for back-forward cache. */ - export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"DedicatedWorkerOrWorklet"|"OutstandingNetworkRequestOthers"|"OutstandingIndexedDBTransaction"|"RequestedNotificationsPermission"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"IndexedDBConnection"|"WebXR"|"SharedWorker"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"Portal"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"Dummy"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"; + export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"DedicatedWorkerOrWorklet"|"OutstandingNetworkRequestOthers"|"OutstandingIndexedDBTransaction"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"IndexedDBConnection"|"WebXR"|"SharedWorker"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"Portal"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"Dummy"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"; /** * Types of not restored reasons for back-forward cache. */ @@ -10840,7 +10856,7 @@ dependent on the reason: /** * List of FinalStatus reasons for Prerender2. */ - export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"CrossOriginRedirect"|"CrossOriginNavigation"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"InProgressNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"MaxNumOfRunningPrerendersExceeded"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"EmbedderTriggeredAndCrossOriginRedirected"|"MemoryLimitExceeded"|"FailToGetMemoryUsage"|"DataSaverEnabled"|"HasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"; + export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"InProgressNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"MaxNumOfRunningPrerendersExceeded"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"EmbedderTriggeredAndCrossOriginRedirected"|"MemoryLimitExceeded"|"FailToGetMemoryUsage"|"DataSaverEnabled"|"HasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirect"|"CrossSiteNavigation"|"SameSiteCrossOriginRedirect"|"SameSiteCrossOriginNavigation"|"SameSiteCrossOriginRedirectNotOptIn"|"SameSiteCrossOriginNavigationNotOptIn"|"ActivationNavigationParameterMismatch"; export type domContentEventFiredPayload = { timestamp: Network.MonotonicTime; @@ -10878,11 +10894,6 @@ dependent on the reason: * JavaScript stack trace of when frame was attached, only set if frame initiated from script. */ stack?: Runtime.StackTrace; - /** - * Identifies the bottom-most script which caused the frame to be labelled -as an ad. Only sent if frame is labelled as an ad and id is available. - */ - adScriptId?: AdScriptId; } /** * Fired when frame no longer has a scheduled navigation. @@ -11276,6 +11287,10 @@ to false. * Capture the screenshot beyond the viewport. Defaults to false. */ captureBeyondViewport?: boolean; + /** + * Optimize image encoding for speed, not for resulting size (defaults to false) + */ + optimizeForSpeed?: boolean; } export type captureScreenshotReturnValue = { /** @@ -11416,6 +11431,16 @@ Only returns values if the feature flag 'WebAppEnableManifestId' is enabled */ recommendedId?: string; } + export type getAdScriptIdParameters = { + frameId: FrameId; + } + export type getAdScriptIdReturnValue = { + /** + * Identifies the bottom-most script which caused the frame to be labelled +as an ad. Only sent if frame is labelled as an ad and id is available. + */ + adScriptId?: AdScriptId; + } /** * Returns all browser cookies for the page and all of its subframes. Depending on the backend support, will return detailed cookie information in the @@ -12728,7 +12753,7 @@ For cached script it is the last time the cache entry was validated. /** * Enum of possible storage types. */ - export type StorageType = "appcache"|"cookies"|"file_systems"|"indexeddb"|"local_storage"|"shader_cache"|"websql"|"service_workers"|"cache_storage"|"interest_groups"|"all"|"other"; + export type StorageType = "appcache"|"cookies"|"file_systems"|"indexeddb"|"local_storage"|"shader_cache"|"websql"|"service_workers"|"cache_storage"|"interest_groups"|"shared_storage"|"all"|"other"; /** * Usage for a storage type. */ @@ -12778,6 +12803,98 @@ Tokens from that issuer. ads: InterestGroupAd[]; adComponents: InterestGroupAd[]; } + /** + * Enum of shared storage access types. + */ + export type SharedStorageAccessType = "documentAddModule"|"documentSelectURL"|"documentRun"|"documentSet"|"documentAppend"|"documentDelete"|"documentClear"|"workletSet"|"workletAppend"|"workletDelete"|"workletClear"|"workletGet"|"workletKeys"|"workletEntries"|"workletLength"|"workletRemainingBudget"; + /** + * Struct for a single key-value pair in an origin's shared storage. + */ + export interface SharedStorageEntry { + key: string; + value: string; + } + /** + * Details for an origin's shared storage. + */ + export interface SharedStorageMetadata { + creationTime: Network.TimeSinceEpoch; + length: number; + remainingBudget: number; + } + /** + * Pair of reporting metadata details for a candidate URL for `selectURL()`. + */ + export interface SharedStorageReportingMetadata { + eventType: string; + reportingUrl: string; + } + /** + * Bundles a candidate URL with its reporting metadata. + */ + export interface SharedStorageUrlWithMetadata { + /** + * Spec of candidate URL. + */ + url: string; + /** + * Any associated reporting metadata. + */ + reportingMetadata: SharedStorageReportingMetadata[]; + } + /** + * Bundles the parameters for shared storage access events whose +presence/absence can vary according to SharedStorageAccessType. + */ + export interface SharedStorageAccessParams { + /** + * Spec of the module script URL. +Present only for SharedStorageAccessType.documentAddModule. + */ + scriptSourceUrl?: string; + /** + * Name of the registered operation to be run. +Present only for SharedStorageAccessType.documentRun and +SharedStorageAccessType.documentSelectURL. + */ + operationName?: string; + /** + * The operation's serialized data in bytes (converted to a string). +Present only for SharedStorageAccessType.documentRun and +SharedStorageAccessType.documentSelectURL. + */ + serializedData?: string; + /** + * Array of candidate URLs' specs, along with any associated metadata. +Present only for SharedStorageAccessType.documentSelectURL. + */ + urlsWithMetadata?: SharedStorageUrlWithMetadata[]; + /** + * Key for a specific entry in an origin's shared storage. +Present only for SharedStorageAccessType.documentSet, +SharedStorageAccessType.documentAppend, +SharedStorageAccessType.documentDelete, +SharedStorageAccessType.workletSet, +SharedStorageAccessType.workletAppend, +SharedStorageAccessType.workletDelete, and +SharedStorageAccessType.workletGet. + */ + key?: string; + /** + * Value for a specific entry in an origin's shared storage. +Present only for SharedStorageAccessType.documentSet, +SharedStorageAccessType.documentAppend, +SharedStorageAccessType.workletSet, and +SharedStorageAccessType.workletAppend. + */ + value?: string; + /** + * Whether or not to set an entry for a key if that key is already present. +Present only for SharedStorageAccessType.documentSet and +SharedStorageAccessType.workletSet. + */ + ignoreIfPresent?: boolean; + } /** * A cache's contents have been modified. @@ -12844,6 +12961,33 @@ Tokens from that issuer. ownerOrigin: string; name: string; } + /** + * Shared storage was accessed by the associated page. +The following parameters are included in all events. + */ + export type sharedStorageAccessedPayload = { + /** + * Time of the access. + */ + accessTime: Network.TimeSinceEpoch; + /** + * Enum value indicating the Shared Storage API method invoked. + */ + type: SharedStorageAccessType; + /** + * DevTools Frame Token for the primary frame tree's root. + */ + mainFrameId: Page.FrameId; + /** + * Serialized origin for the context that invoked the Shared Storage API. + */ + ownerOrigin: string; + /** + * The sub-parameters warapped by `params` are all optional and their +presence/absence depends on `type`. + */ + params: SharedStorageAccessParams; + } /** * Returns a storage key given a frame id. @@ -13079,6 +13223,64 @@ Leaves other stored data, including the issuer's Redemption Records, intact. } export type setInterestGroupTrackingReturnValue = { } + /** + * Gets metadata for an origin's shared storage. + */ + export type getSharedStorageMetadataParameters = { + ownerOrigin: string; + } + export type getSharedStorageMetadataReturnValue = { + metadata: SharedStorageMetadata; + } + /** + * Gets the entries in an given origin's shared storage. + */ + export type getSharedStorageEntriesParameters = { + ownerOrigin: string; + } + export type getSharedStorageEntriesReturnValue = { + entries: SharedStorageEntry[]; + } + /** + * Sets entry with `key` and `value` for a given origin's shared storage. + */ + export type setSharedStorageEntryParameters = { + ownerOrigin: string; + key: string; + value: string; + /** + * If `ignoreIfPresent` is included and true, then only sets the entry if +`key` doesn't already exist. + */ + ignoreIfPresent?: boolean; + } + export type setSharedStorageEntryReturnValue = { + } + /** + * Deletes entry for `key` (if it exists) for a given origin's shared storage. + */ + export type deleteSharedStorageEntryParameters = { + ownerOrigin: string; + key: string; + } + export type deleteSharedStorageEntryReturnValue = { + } + /** + * Clears all entries for a given origin's shared storage. + */ + export type clearSharedStorageEntriesParameters = { + ownerOrigin: string; + } + export type clearSharedStorageEntriesReturnValue = { + } + /** + * Enables/disables issuing of sharedStorageAccessed events. + */ + export type setSharedStorageTrackingParameters = { + enable: boolean; + } + export type setSharedStorageTrackingReturnValue = { + } } /** @@ -14249,7 +14451,9 @@ If absent, a standard phrase matching responseCode is used. */ postData?: binary; /** - * If set, overrides the request headers. + * If set, overrides the request headers. Note that the overrides do not +extend to subsequent redirect hops, if a redirect happens. Another override +may be applied to a different request produced by a redirect. */ headers?: HeaderEntry[]; /** @@ -14704,6 +14908,29 @@ Defaults to false. export type addVirtualAuthenticatorReturnValue = { authenticatorId: AuthenticatorId; } + /** + * Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present. + */ + export type setResponseOverrideBitsParameters = { + authenticatorId: AuthenticatorId; + /** + * If isBogusSignature is set, overrides the signature in the authenticator response to be zero. +Defaults to false. + */ + isBogusSignature?: boolean; + /** + * If isBadUV is set, overrides the UV bit in the flags in the authenticator response to +be zero. Defaults to false. + */ + isBadUV?: boolean; + /** + * If isBadUP is set, overrides the UP bit in the flags in the authenticator response to +be zero. Defaults to false. + */ + isBadUP?: boolean; + } + export type setResponseOverrideBitsReturnValue = { + } /** * Removes the given authenticator. */ @@ -15816,14 +16043,14 @@ stop on the breakpoint if this expression evaluates to true. export type setBreakpointsActiveReturnValue = { } /** - * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or -no exceptions. Initial pause on exceptions state is `none`. + * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions, +or caught exceptions, no exceptions. Initial pause on exceptions state is `none`. */ export type setPauseOnExceptionsParameters = { /** * Pause on exceptions mode. */ - state: "none"|"uncaught"|"all"; + state: "none"|"caught"|"uncaught"|"all"; } export type setPauseOnExceptionsReturnValue = { } @@ -17546,7 +17773,6 @@ Error was thrown. "DOMStorage.domStorageItemsCleared": DOMStorage.domStorageItemsClearedPayload; "Database.addDatabase": Database.addDatabasePayload; "Emulation.virtualTimeBudgetExpired": Emulation.virtualTimeBudgetExpiredPayload; - "HeadlessExperimental.needsBeginFramesChanged": HeadlessExperimental.needsBeginFramesChangedPayload; "Input.dragIntercepted": Input.dragInterceptedPayload; "Inspector.detached": Inspector.detachedPayload; "Inspector.targetCrashed": Inspector.targetCrashedPayload; @@ -17628,6 +17854,7 @@ Error was thrown. "Storage.indexedDBContentUpdated": Storage.indexedDBContentUpdatedPayload; "Storage.indexedDBListUpdated": Storage.indexedDBListUpdatedPayload; "Storage.interestGroupAccessed": Storage.interestGroupAccessedPayload; + "Storage.sharedStorageAccessed": Storage.sharedStorageAccessedPayload; "Target.attachedToTarget": Target.attachedToTargetPayload; "Target.detachedFromTarget": Target.detachedFromTargetPayload; "Target.receivedMessageFromTarget": Target.receivedMessageFromTargetPayload; @@ -18002,6 +18229,7 @@ Error was thrown. "Page.getInstallabilityErrors": Page.getInstallabilityErrorsParameters; "Page.getManifestIcons": Page.getManifestIconsParameters; "Page.getAppId": Page.getAppIdParameters; + "Page.getAdScriptId": Page.getAdScriptIdParameters; "Page.getCookies": Page.getCookiesParameters; "Page.getFrameTree": Page.getFrameTreeParameters; "Page.getLayoutMetrics": Page.getLayoutMetricsParameters; @@ -18085,6 +18313,12 @@ Error was thrown. "Storage.clearTrustTokens": Storage.clearTrustTokensParameters; "Storage.getInterestGroupDetails": Storage.getInterestGroupDetailsParameters; "Storage.setInterestGroupTracking": Storage.setInterestGroupTrackingParameters; + "Storage.getSharedStorageMetadata": Storage.getSharedStorageMetadataParameters; + "Storage.getSharedStorageEntries": Storage.getSharedStorageEntriesParameters; + "Storage.setSharedStorageEntry": Storage.setSharedStorageEntryParameters; + "Storage.deleteSharedStorageEntry": Storage.deleteSharedStorageEntryParameters; + "Storage.clearSharedStorageEntries": Storage.clearSharedStorageEntriesParameters; + "Storage.setSharedStorageTracking": Storage.setSharedStorageTrackingParameters; "SystemInfo.getInfo": SystemInfo.getInfoParameters; "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters; "Target.activateTarget": Target.activateTargetParameters; @@ -18126,6 +18360,7 @@ Error was thrown. "WebAuthn.enable": WebAuthn.enableParameters; "WebAuthn.disable": WebAuthn.disableParameters; "WebAuthn.addVirtualAuthenticator": WebAuthn.addVirtualAuthenticatorParameters; + "WebAuthn.setResponseOverrideBits": WebAuthn.setResponseOverrideBitsParameters; "WebAuthn.removeVirtualAuthenticator": WebAuthn.removeVirtualAuthenticatorParameters; "WebAuthn.addCredential": WebAuthn.addCredentialParameters; "WebAuthn.getCredential": WebAuthn.getCredentialParameters; @@ -18537,6 +18772,7 @@ Error was thrown. "Page.getInstallabilityErrors": Page.getInstallabilityErrorsReturnValue; "Page.getManifestIcons": Page.getManifestIconsReturnValue; "Page.getAppId": Page.getAppIdReturnValue; + "Page.getAdScriptId": Page.getAdScriptIdReturnValue; "Page.getCookies": Page.getCookiesReturnValue; "Page.getFrameTree": Page.getFrameTreeReturnValue; "Page.getLayoutMetrics": Page.getLayoutMetricsReturnValue; @@ -18620,6 +18856,12 @@ Error was thrown. "Storage.clearTrustTokens": Storage.clearTrustTokensReturnValue; "Storage.getInterestGroupDetails": Storage.getInterestGroupDetailsReturnValue; "Storage.setInterestGroupTracking": Storage.setInterestGroupTrackingReturnValue; + "Storage.getSharedStorageMetadata": Storage.getSharedStorageMetadataReturnValue; + "Storage.getSharedStorageEntries": Storage.getSharedStorageEntriesReturnValue; + "Storage.setSharedStorageEntry": Storage.setSharedStorageEntryReturnValue; + "Storage.deleteSharedStorageEntry": Storage.deleteSharedStorageEntryReturnValue; + "Storage.clearSharedStorageEntries": Storage.clearSharedStorageEntriesReturnValue; + "Storage.setSharedStorageTracking": Storage.setSharedStorageTrackingReturnValue; "SystemInfo.getInfo": SystemInfo.getInfoReturnValue; "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue; "Target.activateTarget": Target.activateTargetReturnValue; @@ -18661,6 +18903,7 @@ Error was thrown. "WebAuthn.enable": WebAuthn.enableReturnValue; "WebAuthn.disable": WebAuthn.disableReturnValue; "WebAuthn.addVirtualAuthenticator": WebAuthn.addVirtualAuthenticatorReturnValue; + "WebAuthn.setResponseOverrideBits": WebAuthn.setResponseOverrideBitsReturnValue; "WebAuthn.removeVirtualAuthenticator": WebAuthn.removeVirtualAuthenticatorReturnValue; "WebAuthn.addCredential": WebAuthn.addCredentialReturnValue; "WebAuthn.getCredential": WebAuthn.getCredentialReturnValue; diff --git a/packages/playwright-core/src/server/deviceDescriptorsSource.json b/packages/playwright-core/src/server/deviceDescriptorsSource.json index 40e5a07df9..1b422689b0 100644 --- a/packages/playwright-core/src/server/deviceDescriptorsSource.json +++ b/packages/playwright-core/src/server/deviceDescriptorsSource.json @@ -110,7 +110,7 @@ "defaultBrowserType": "webkit" }, "Galaxy S5": { - "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 360, "height": 640 @@ -121,7 +121,7 @@ "defaultBrowserType": "chromium" }, "Galaxy S5 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 640, "height": 360 @@ -132,7 +132,7 @@ "defaultBrowserType": "chromium" }, "Galaxy S8": { - "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 360, "height": 740 @@ -143,7 +143,7 @@ "defaultBrowserType": "chromium" }, "Galaxy S8 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 740, "height": 360 @@ -154,7 +154,7 @@ "defaultBrowserType": "chromium" }, "Galaxy S9+": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 320, "height": 658 @@ -165,7 +165,7 @@ "defaultBrowserType": "chromium" }, "Galaxy S9+ landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 658, "height": 320 @@ -176,7 +176,7 @@ "defaultBrowserType": "chromium" }, "Galaxy Tab S4": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "viewport": { "width": 712, "height": 1138 @@ -187,7 +187,7 @@ "defaultBrowserType": "chromium" }, "Galaxy Tab S4 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "viewport": { "width": 1138, "height": 712 @@ -836,7 +836,7 @@ "defaultBrowserType": "webkit" }, "LG Optimus L70": { - "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 384, "height": 640 @@ -847,7 +847,7 @@ "defaultBrowserType": "chromium" }, "LG Optimus L70 landscape": { - "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 640, "height": 384 @@ -858,7 +858,7 @@ "defaultBrowserType": "chromium" }, "Microsoft Lumia 550": { - "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36 Edge/14.14263", + "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36 Edge/14.14263", "viewport": { "width": 640, "height": 360 @@ -869,7 +869,7 @@ "defaultBrowserType": "chromium" }, "Microsoft Lumia 550 landscape": { - "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36 Edge/14.14263", + "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36 Edge/14.14263", "viewport": { "width": 360, "height": 640 @@ -880,7 +880,7 @@ "defaultBrowserType": "chromium" }, "Microsoft Lumia 950": { - "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36 Edge/14.14263", + "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36 Edge/14.14263", "viewport": { "width": 360, "height": 640 @@ -891,7 +891,7 @@ "defaultBrowserType": "chromium" }, "Microsoft Lumia 950 landscape": { - "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36 Edge/14.14263", + "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36 Edge/14.14263", "viewport": { "width": 640, "height": 360 @@ -902,7 +902,7 @@ "defaultBrowserType": "chromium" }, "Nexus 10": { - "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "viewport": { "width": 800, "height": 1280 @@ -913,7 +913,7 @@ "defaultBrowserType": "chromium" }, "Nexus 10 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "viewport": { "width": 1280, "height": 800 @@ -924,7 +924,7 @@ "defaultBrowserType": "chromium" }, "Nexus 4": { - "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 384, "height": 640 @@ -935,7 +935,7 @@ "defaultBrowserType": "chromium" }, "Nexus 4 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 640, "height": 384 @@ -946,7 +946,7 @@ "defaultBrowserType": "chromium" }, "Nexus 5": { - "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 360, "height": 640 @@ -957,7 +957,7 @@ "defaultBrowserType": "chromium" }, "Nexus 5 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 640, "height": 360 @@ -968,7 +968,7 @@ "defaultBrowserType": "chromium" }, "Nexus 5X": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 412, "height": 732 @@ -979,7 +979,7 @@ "defaultBrowserType": "chromium" }, "Nexus 5X landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 732, "height": 412 @@ -990,7 +990,7 @@ "defaultBrowserType": "chromium" }, "Nexus 6": { - "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 412, "height": 732 @@ -1001,7 +1001,7 @@ "defaultBrowserType": "chromium" }, "Nexus 6 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 732, "height": 412 @@ -1012,7 +1012,7 @@ "defaultBrowserType": "chromium" }, "Nexus 6P": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 412, "height": 732 @@ -1023,7 +1023,7 @@ "defaultBrowserType": "chromium" }, "Nexus 6P landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 732, "height": 412 @@ -1034,7 +1034,7 @@ "defaultBrowserType": "chromium" }, "Nexus 7": { - "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "viewport": { "width": 600, "height": 960 @@ -1045,7 +1045,7 @@ "defaultBrowserType": "chromium" }, "Nexus 7 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "viewport": { "width": 960, "height": 600 @@ -1100,7 +1100,7 @@ "defaultBrowserType": "webkit" }, "Pixel 2": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 411, "height": 731 @@ -1111,7 +1111,7 @@ "defaultBrowserType": "chromium" }, "Pixel 2 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 731, "height": 411 @@ -1122,7 +1122,7 @@ "defaultBrowserType": "chromium" }, "Pixel 2 XL": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 411, "height": 823 @@ -1133,7 +1133,7 @@ "defaultBrowserType": "chromium" }, "Pixel 2 XL landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 823, "height": 411 @@ -1144,7 +1144,7 @@ "defaultBrowserType": "chromium" }, "Pixel 3": { - "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 393, "height": 786 @@ -1155,7 +1155,7 @@ "defaultBrowserType": "chromium" }, "Pixel 3 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 786, "height": 393 @@ -1166,7 +1166,7 @@ "defaultBrowserType": "chromium" }, "Pixel 4": { - "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 353, "height": 745 @@ -1177,7 +1177,7 @@ "defaultBrowserType": "chromium" }, "Pixel 4 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 745, "height": 353 @@ -1188,7 +1188,7 @@ "defaultBrowserType": "chromium" }, "Pixel 4a (5G)": { - "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "screen": { "width": 412, "height": 892 @@ -1203,7 +1203,7 @@ "defaultBrowserType": "chromium" }, "Pixel 4a (5G) landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "screen": { "height": 892, "width": 412 @@ -1218,7 +1218,7 @@ "defaultBrowserType": "chromium" }, "Pixel 5": { - "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "screen": { "width": 393, "height": 851 @@ -1233,7 +1233,7 @@ "defaultBrowserType": "chromium" }, "Pixel 5 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "screen": { "width": 851, "height": 393 @@ -1248,7 +1248,7 @@ "defaultBrowserType": "chromium" }, "Moto G4": { - "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 360, "height": 640 @@ -1259,7 +1259,7 @@ "defaultBrowserType": "chromium" }, "Moto G4 landscape": { - "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Mobile Safari/537.36", + "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Mobile Safari/537.36", "viewport": { "width": 640, "height": 360 @@ -1270,7 +1270,7 @@ "defaultBrowserType": "chromium" }, "Desktop Chrome HiDPI": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "screen": { "width": 1792, "height": 1120 @@ -1285,7 +1285,7 @@ "defaultBrowserType": "chromium" }, "Desktop Edge HiDPI": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36 Edg/108.0.5359.48", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36 Edg/109.0.5414.25", "screen": { "width": 1792, "height": 1120 @@ -1330,7 +1330,7 @@ "defaultBrowserType": "webkit" }, "Desktop Chrome": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36", "screen": { "width": 1920, "height": 1080 @@ -1345,7 +1345,7 @@ "defaultBrowserType": "chromium" }, "Desktop Edge": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.48 Safari/537.36 Edg/108.0.5359.48", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.25 Safari/537.36 Edg/109.0.5414.25", "screen": { "width": 1920, "height": 1080 diff --git a/packages/playwright-core/types/protocol.d.ts b/packages/playwright-core/types/protocol.d.ts index cb2f6d9be0..1b618353d2 100644 --- a/packages/playwright-core/types/protocol.d.ts +++ b/packages/playwright-core/types/protocol.d.ts @@ -1130,8 +1130,8 @@ events afterwards if enabled and recording. */ windowState?: WindowState; } - export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"videoCapture"|"videoCapturePanTiltZoom"|"idleDetection"|"wakeLockScreen"|"wakeLockSystem"; - export type PermissionSetting = "granted"|"denied"|"prompt"; + export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"idleDetection"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"storageAccess"|"videoCapture"|"videoCapturePanTiltZoom"|"wakeLockScreen"|"wakeLockSystem"|"windowManagement"; + export type PermissionSetting = "granted"|"denied"; /** * Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor. @@ -1959,6 +1959,14 @@ available). * Optional name for the container. */ name?: string; + /** + * Optional physical axes queried for the container. + */ + physicalAxes?: DOM.PhysicalAxes; + /** + * Optional logical axes queried for the container. + */ + logicalAxes?: DOM.LogicalAxes; } /** * CSS Supports at-rule descriptor. @@ -2923,7 +2931,7 @@ front-end. /** * Pseudo element type. */ - export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"selection"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"page-transition"|"page-transition-container"|"page-transition-image-wrapper"|"page-transition-outgoing-image"|"page-transition-incoming-image"; + export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"selection"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"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-old"|"view-transition-new"; /** * Shadow root type. */ @@ -2932,6 +2940,14 @@ front-end. * Document compatibility mode. */ export type CompatibilityMode = "QuirksMode"|"LimitedQuirksMode"|"NoQuirksMode"; + /** + * ContainerSelector physical axes + */ + export type PhysicalAxes = "Horizontal"|"Vertical"|"Both"; + /** + * ContainerSelector logical axes + */ + export type LogicalAxes = "Inline"|"Block"|"Both"; /** * DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type. @@ -4173,13 +4189,16 @@ $x functions). nodeId?: NodeId; } /** - * Returns the container of the given node based on container query conditions. -If containerName is given, it will find the nearest container with a matching name; -otherwise it will find the nearest container regardless of its container name. + * Returns the query container of the given node based on container query +conditions: containerName, physical, and logical axes. If no axes are +provided, the style container is returned, which is the direct parent or the +closest element with a matching container-name. */ export type getContainerForNodeParameters = { nodeId: NodeId; containerName?: string; + physicalAxes?: PhysicalAxes; + logicalAxes?: LogicalAxes; } export type getContainerForNodeReturnValue = { /** @@ -5667,24 +5686,17 @@ on Android. /** * Image compression format (defaults to png). */ - format?: "jpeg"|"png"; + format?: "jpeg"|"png"|"webp"; /** * Compression quality from range [0..100] (jpeg only). */ quality?: number; + /** + * Optimize image encoding for speed, not for resulting size (defaults to false) + */ + optimizeForSpeed?: boolean; } - /** - * Issued when the target starts or stops needing BeginFrames. -Deprecated. Issue beginFrame unconditionally instead and use result from -beginFrame to detect whether the frames were suppressed. - */ - export type needsBeginFramesChangedPayload = { - /** - * True if BeginFrames are needed, false otherwise. - */ - needsBeginFrames: boolean; - } /** * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a @@ -8783,6 +8795,10 @@ the request and the ones not sent; the latter are distinguished by having blocke * The client security state set for the request. */ clientSecurityState?: ClientSecurityState; + /** + * Whether the site has partitioned cookies stored in a partition different than the current one. + */ + siteHasCookieInOtherPartition?: boolean; } /** * Fired when additional information about a responseReceived event is available from the network @@ -10337,7 +10353,7 @@ as an ad. * All Permissions Policy features. This enum should match the one defined in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5. */ - export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-full"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-reduced"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"cross-origin-isolated"|"direct-sockets"|"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"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"storage-access"|"sync-xhr"|"trust-token-redemption"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking"; + export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-full"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-reduced"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"cross-origin-isolated"|"direct-sockets"|"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"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"storage-access"|"sync-xhr"|"trust-token-redemption"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking"; /** * Reason for a permissions policy feature to be disabled. */ @@ -10802,7 +10818,7 @@ Example URLs: http://www.google.com/file.html -> "google.com" /** * List of not restored reasons for back-forward cache. */ - export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"DedicatedWorkerOrWorklet"|"OutstandingNetworkRequestOthers"|"OutstandingIndexedDBTransaction"|"RequestedNotificationsPermission"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"IndexedDBConnection"|"WebXR"|"SharedWorker"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"Portal"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"Dummy"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"; + export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"DedicatedWorkerOrWorklet"|"OutstandingNetworkRequestOthers"|"OutstandingIndexedDBTransaction"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"IndexedDBConnection"|"WebXR"|"SharedWorker"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"Portal"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"Dummy"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"; /** * Types of not restored reasons for back-forward cache. */ @@ -10840,7 +10856,7 @@ dependent on the reason: /** * List of FinalStatus reasons for Prerender2. */ - export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"CrossOriginRedirect"|"CrossOriginNavigation"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"InProgressNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"MaxNumOfRunningPrerendersExceeded"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"EmbedderTriggeredAndCrossOriginRedirected"|"MemoryLimitExceeded"|"FailToGetMemoryUsage"|"DataSaverEnabled"|"HasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"; + export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"InProgressNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"MaxNumOfRunningPrerendersExceeded"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"EmbedderTriggeredAndCrossOriginRedirected"|"MemoryLimitExceeded"|"FailToGetMemoryUsage"|"DataSaverEnabled"|"HasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirect"|"CrossSiteNavigation"|"SameSiteCrossOriginRedirect"|"SameSiteCrossOriginNavigation"|"SameSiteCrossOriginRedirectNotOptIn"|"SameSiteCrossOriginNavigationNotOptIn"|"ActivationNavigationParameterMismatch"; export type domContentEventFiredPayload = { timestamp: Network.MonotonicTime; @@ -10878,11 +10894,6 @@ dependent on the reason: * JavaScript stack trace of when frame was attached, only set if frame initiated from script. */ stack?: Runtime.StackTrace; - /** - * Identifies the bottom-most script which caused the frame to be labelled -as an ad. Only sent if frame is labelled as an ad and id is available. - */ - adScriptId?: AdScriptId; } /** * Fired when frame no longer has a scheduled navigation. @@ -11276,6 +11287,10 @@ to false. * Capture the screenshot beyond the viewport. Defaults to false. */ captureBeyondViewport?: boolean; + /** + * Optimize image encoding for speed, not for resulting size (defaults to false) + */ + optimizeForSpeed?: boolean; } export type captureScreenshotReturnValue = { /** @@ -11416,6 +11431,16 @@ Only returns values if the feature flag 'WebAppEnableManifestId' is enabled */ recommendedId?: string; } + export type getAdScriptIdParameters = { + frameId: FrameId; + } + export type getAdScriptIdReturnValue = { + /** + * Identifies the bottom-most script which caused the frame to be labelled +as an ad. Only sent if frame is labelled as an ad and id is available. + */ + adScriptId?: AdScriptId; + } /** * Returns all browser cookies for the page and all of its subframes. Depending on the backend support, will return detailed cookie information in the @@ -12728,7 +12753,7 @@ For cached script it is the last time the cache entry was validated. /** * Enum of possible storage types. */ - export type StorageType = "appcache"|"cookies"|"file_systems"|"indexeddb"|"local_storage"|"shader_cache"|"websql"|"service_workers"|"cache_storage"|"interest_groups"|"all"|"other"; + export type StorageType = "appcache"|"cookies"|"file_systems"|"indexeddb"|"local_storage"|"shader_cache"|"websql"|"service_workers"|"cache_storage"|"interest_groups"|"shared_storage"|"all"|"other"; /** * Usage for a storage type. */ @@ -12778,6 +12803,98 @@ Tokens from that issuer. ads: InterestGroupAd[]; adComponents: InterestGroupAd[]; } + /** + * Enum of shared storage access types. + */ + export type SharedStorageAccessType = "documentAddModule"|"documentSelectURL"|"documentRun"|"documentSet"|"documentAppend"|"documentDelete"|"documentClear"|"workletSet"|"workletAppend"|"workletDelete"|"workletClear"|"workletGet"|"workletKeys"|"workletEntries"|"workletLength"|"workletRemainingBudget"; + /** + * Struct for a single key-value pair in an origin's shared storage. + */ + export interface SharedStorageEntry { + key: string; + value: string; + } + /** + * Details for an origin's shared storage. + */ + export interface SharedStorageMetadata { + creationTime: Network.TimeSinceEpoch; + length: number; + remainingBudget: number; + } + /** + * Pair of reporting metadata details for a candidate URL for `selectURL()`. + */ + export interface SharedStorageReportingMetadata { + eventType: string; + reportingUrl: string; + } + /** + * Bundles a candidate URL with its reporting metadata. + */ + export interface SharedStorageUrlWithMetadata { + /** + * Spec of candidate URL. + */ + url: string; + /** + * Any associated reporting metadata. + */ + reportingMetadata: SharedStorageReportingMetadata[]; + } + /** + * Bundles the parameters for shared storage access events whose +presence/absence can vary according to SharedStorageAccessType. + */ + export interface SharedStorageAccessParams { + /** + * Spec of the module script URL. +Present only for SharedStorageAccessType.documentAddModule. + */ + scriptSourceUrl?: string; + /** + * Name of the registered operation to be run. +Present only for SharedStorageAccessType.documentRun and +SharedStorageAccessType.documentSelectURL. + */ + operationName?: string; + /** + * The operation's serialized data in bytes (converted to a string). +Present only for SharedStorageAccessType.documentRun and +SharedStorageAccessType.documentSelectURL. + */ + serializedData?: string; + /** + * Array of candidate URLs' specs, along with any associated metadata. +Present only for SharedStorageAccessType.documentSelectURL. + */ + urlsWithMetadata?: SharedStorageUrlWithMetadata[]; + /** + * Key for a specific entry in an origin's shared storage. +Present only for SharedStorageAccessType.documentSet, +SharedStorageAccessType.documentAppend, +SharedStorageAccessType.documentDelete, +SharedStorageAccessType.workletSet, +SharedStorageAccessType.workletAppend, +SharedStorageAccessType.workletDelete, and +SharedStorageAccessType.workletGet. + */ + key?: string; + /** + * Value for a specific entry in an origin's shared storage. +Present only for SharedStorageAccessType.documentSet, +SharedStorageAccessType.documentAppend, +SharedStorageAccessType.workletSet, and +SharedStorageAccessType.workletAppend. + */ + value?: string; + /** + * Whether or not to set an entry for a key if that key is already present. +Present only for SharedStorageAccessType.documentSet and +SharedStorageAccessType.workletSet. + */ + ignoreIfPresent?: boolean; + } /** * A cache's contents have been modified. @@ -12844,6 +12961,33 @@ Tokens from that issuer. ownerOrigin: string; name: string; } + /** + * Shared storage was accessed by the associated page. +The following parameters are included in all events. + */ + export type sharedStorageAccessedPayload = { + /** + * Time of the access. + */ + accessTime: Network.TimeSinceEpoch; + /** + * Enum value indicating the Shared Storage API method invoked. + */ + type: SharedStorageAccessType; + /** + * DevTools Frame Token for the primary frame tree's root. + */ + mainFrameId: Page.FrameId; + /** + * Serialized origin for the context that invoked the Shared Storage API. + */ + ownerOrigin: string; + /** + * The sub-parameters warapped by `params` are all optional and their +presence/absence depends on `type`. + */ + params: SharedStorageAccessParams; + } /** * Returns a storage key given a frame id. @@ -13079,6 +13223,64 @@ Leaves other stored data, including the issuer's Redemption Records, intact. } export type setInterestGroupTrackingReturnValue = { } + /** + * Gets metadata for an origin's shared storage. + */ + export type getSharedStorageMetadataParameters = { + ownerOrigin: string; + } + export type getSharedStorageMetadataReturnValue = { + metadata: SharedStorageMetadata; + } + /** + * Gets the entries in an given origin's shared storage. + */ + export type getSharedStorageEntriesParameters = { + ownerOrigin: string; + } + export type getSharedStorageEntriesReturnValue = { + entries: SharedStorageEntry[]; + } + /** + * Sets entry with `key` and `value` for a given origin's shared storage. + */ + export type setSharedStorageEntryParameters = { + ownerOrigin: string; + key: string; + value: string; + /** + * If `ignoreIfPresent` is included and true, then only sets the entry if +`key` doesn't already exist. + */ + ignoreIfPresent?: boolean; + } + export type setSharedStorageEntryReturnValue = { + } + /** + * Deletes entry for `key` (if it exists) for a given origin's shared storage. + */ + export type deleteSharedStorageEntryParameters = { + ownerOrigin: string; + key: string; + } + export type deleteSharedStorageEntryReturnValue = { + } + /** + * Clears all entries for a given origin's shared storage. + */ + export type clearSharedStorageEntriesParameters = { + ownerOrigin: string; + } + export type clearSharedStorageEntriesReturnValue = { + } + /** + * Enables/disables issuing of sharedStorageAccessed events. + */ + export type setSharedStorageTrackingParameters = { + enable: boolean; + } + export type setSharedStorageTrackingReturnValue = { + } } /** @@ -14249,7 +14451,9 @@ If absent, a standard phrase matching responseCode is used. */ postData?: binary; /** - * If set, overrides the request headers. + * If set, overrides the request headers. Note that the overrides do not +extend to subsequent redirect hops, if a redirect happens. Another override +may be applied to a different request produced by a redirect. */ headers?: HeaderEntry[]; /** @@ -14704,6 +14908,29 @@ Defaults to false. export type addVirtualAuthenticatorReturnValue = { authenticatorId: AuthenticatorId; } + /** + * Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present. + */ + export type setResponseOverrideBitsParameters = { + authenticatorId: AuthenticatorId; + /** + * If isBogusSignature is set, overrides the signature in the authenticator response to be zero. +Defaults to false. + */ + isBogusSignature?: boolean; + /** + * If isBadUV is set, overrides the UV bit in the flags in the authenticator response to +be zero. Defaults to false. + */ + isBadUV?: boolean; + /** + * If isBadUP is set, overrides the UP bit in the flags in the authenticator response to +be zero. Defaults to false. + */ + isBadUP?: boolean; + } + export type setResponseOverrideBitsReturnValue = { + } /** * Removes the given authenticator. */ @@ -15816,14 +16043,14 @@ stop on the breakpoint if this expression evaluates to true. export type setBreakpointsActiveReturnValue = { } /** - * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or -no exceptions. Initial pause on exceptions state is `none`. + * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions, +or caught exceptions, no exceptions. Initial pause on exceptions state is `none`. */ export type setPauseOnExceptionsParameters = { /** * Pause on exceptions mode. */ - state: "none"|"uncaught"|"all"; + state: "none"|"caught"|"uncaught"|"all"; } export type setPauseOnExceptionsReturnValue = { } @@ -17546,7 +17773,6 @@ Error was thrown. "DOMStorage.domStorageItemsCleared": DOMStorage.domStorageItemsClearedPayload; "Database.addDatabase": Database.addDatabasePayload; "Emulation.virtualTimeBudgetExpired": Emulation.virtualTimeBudgetExpiredPayload; - "HeadlessExperimental.needsBeginFramesChanged": HeadlessExperimental.needsBeginFramesChangedPayload; "Input.dragIntercepted": Input.dragInterceptedPayload; "Inspector.detached": Inspector.detachedPayload; "Inspector.targetCrashed": Inspector.targetCrashedPayload; @@ -17628,6 +17854,7 @@ Error was thrown. "Storage.indexedDBContentUpdated": Storage.indexedDBContentUpdatedPayload; "Storage.indexedDBListUpdated": Storage.indexedDBListUpdatedPayload; "Storage.interestGroupAccessed": Storage.interestGroupAccessedPayload; + "Storage.sharedStorageAccessed": Storage.sharedStorageAccessedPayload; "Target.attachedToTarget": Target.attachedToTargetPayload; "Target.detachedFromTarget": Target.detachedFromTargetPayload; "Target.receivedMessageFromTarget": Target.receivedMessageFromTargetPayload; @@ -18002,6 +18229,7 @@ Error was thrown. "Page.getInstallabilityErrors": Page.getInstallabilityErrorsParameters; "Page.getManifestIcons": Page.getManifestIconsParameters; "Page.getAppId": Page.getAppIdParameters; + "Page.getAdScriptId": Page.getAdScriptIdParameters; "Page.getCookies": Page.getCookiesParameters; "Page.getFrameTree": Page.getFrameTreeParameters; "Page.getLayoutMetrics": Page.getLayoutMetricsParameters; @@ -18085,6 +18313,12 @@ Error was thrown. "Storage.clearTrustTokens": Storage.clearTrustTokensParameters; "Storage.getInterestGroupDetails": Storage.getInterestGroupDetailsParameters; "Storage.setInterestGroupTracking": Storage.setInterestGroupTrackingParameters; + "Storage.getSharedStorageMetadata": Storage.getSharedStorageMetadataParameters; + "Storage.getSharedStorageEntries": Storage.getSharedStorageEntriesParameters; + "Storage.setSharedStorageEntry": Storage.setSharedStorageEntryParameters; + "Storage.deleteSharedStorageEntry": Storage.deleteSharedStorageEntryParameters; + "Storage.clearSharedStorageEntries": Storage.clearSharedStorageEntriesParameters; + "Storage.setSharedStorageTracking": Storage.setSharedStorageTrackingParameters; "SystemInfo.getInfo": SystemInfo.getInfoParameters; "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters; "Target.activateTarget": Target.activateTargetParameters; @@ -18126,6 +18360,7 @@ Error was thrown. "WebAuthn.enable": WebAuthn.enableParameters; "WebAuthn.disable": WebAuthn.disableParameters; "WebAuthn.addVirtualAuthenticator": WebAuthn.addVirtualAuthenticatorParameters; + "WebAuthn.setResponseOverrideBits": WebAuthn.setResponseOverrideBitsParameters; "WebAuthn.removeVirtualAuthenticator": WebAuthn.removeVirtualAuthenticatorParameters; "WebAuthn.addCredential": WebAuthn.addCredentialParameters; "WebAuthn.getCredential": WebAuthn.getCredentialParameters; @@ -18537,6 +18772,7 @@ Error was thrown. "Page.getInstallabilityErrors": Page.getInstallabilityErrorsReturnValue; "Page.getManifestIcons": Page.getManifestIconsReturnValue; "Page.getAppId": Page.getAppIdReturnValue; + "Page.getAdScriptId": Page.getAdScriptIdReturnValue; "Page.getCookies": Page.getCookiesReturnValue; "Page.getFrameTree": Page.getFrameTreeReturnValue; "Page.getLayoutMetrics": Page.getLayoutMetricsReturnValue; @@ -18620,6 +18856,12 @@ Error was thrown. "Storage.clearTrustTokens": Storage.clearTrustTokensReturnValue; "Storage.getInterestGroupDetails": Storage.getInterestGroupDetailsReturnValue; "Storage.setInterestGroupTracking": Storage.setInterestGroupTrackingReturnValue; + "Storage.getSharedStorageMetadata": Storage.getSharedStorageMetadataReturnValue; + "Storage.getSharedStorageEntries": Storage.getSharedStorageEntriesReturnValue; + "Storage.setSharedStorageEntry": Storage.setSharedStorageEntryReturnValue; + "Storage.deleteSharedStorageEntry": Storage.deleteSharedStorageEntryReturnValue; + "Storage.clearSharedStorageEntries": Storage.clearSharedStorageEntriesReturnValue; + "Storage.setSharedStorageTracking": Storage.setSharedStorageTrackingReturnValue; "SystemInfo.getInfo": SystemInfo.getInfoReturnValue; "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue; "Target.activateTarget": Target.activateTargetReturnValue; @@ -18661,6 +18903,7 @@ Error was thrown. "WebAuthn.enable": WebAuthn.enableReturnValue; "WebAuthn.disable": WebAuthn.disableReturnValue; "WebAuthn.addVirtualAuthenticator": WebAuthn.addVirtualAuthenticatorReturnValue; + "WebAuthn.setResponseOverrideBits": WebAuthn.setResponseOverrideBitsReturnValue; "WebAuthn.removeVirtualAuthenticator": WebAuthn.removeVirtualAuthenticatorReturnValue; "WebAuthn.addCredential": WebAuthn.addCredentialReturnValue; "WebAuthn.getCredential": WebAuthn.getCredentialReturnValue;