Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(chromium): roll to r1008 (#14448)
Playwright Servicef087e39c017b
diff --git a/README.md b/README.mdindex 810579ea71..9750853655 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@# 🎭 Playwright-[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->+[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->## [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 <!-- GEN:chromium-version -->102.0.5005.61<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Chromium <!-- GEN:chromium-version -->103.0.5060.24<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: || WebKit <!-- GEN:webkit-version -->15.4<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: || Firefox <!-- GEN:firefox-version -->99.0.1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.jsonindex 29d9958aca..0b9b1ed0f9 100644--- a/packages/playwright-core/browsers.json+++ b/packages/playwright-core/browsers.json@@ -3,15 +3,15 @@"browsers": [{"name": "chromium",- "revision": "1007",+ "revision": "1008","installByDefault": true,- "browserVersion": "102.0.5005.61"+ "browserVersion": "103.0.5060.24"},{"name": "chromium-with-symbols",- "revision": "1007",+ "revision": "1008","installByDefault": false,- "browserVersion": "102.0.5005.61"+ "browserVersion": "103.0.5060.24"},{"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.tsindex dfb01f3598..c58b8d4201 100644--- a/packages/playwright-core/src/server/chromium/protocol.d.ts+++ b/packages/playwright-core/src/server/chromium/protocol.d.ts@@ -807,7 +807,7 @@ CORS RFC1918 enforcement.resourceIPAddressSpace?: Network.IPAddressSpace;clientSecurityState?: Network.ClientSecurityState;}- export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"InvalidAttributionSourceEventId"|"AttributionSourceUntrustworthyOrigin"|"AttributionUntrustworthyOrigin"|"InvalidAttributionSourceExpiry"|"InvalidAttributionSourcePriority";+ export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"AttributionSourceUntrustworthyOrigin"|"AttributionUntrustworthyOrigin"|"InvalidHeader";/*** Details for issues around "Attribution Reporting API" usage.Explainer: https://github.com/WICG/conversion-measurement-api@@ -849,29 +849,14 @@ instead of "limited-quirks".errorType: GenericIssueErrorType;frameId?: Page.FrameId;}- export type DeprecationIssueType = "DeprecationExample"|"Untranslated";+ export type DeprecationIssueType = "AuthorizationCoveredByWildcard"|"CanRequestURLHTTPContainingNewline"|"ChromeLoadTimesConnectionInfo"|"ChromeLoadTimesFirstPaintAfterLoadTime"|"ChromeLoadTimesWasAlternateProtocolAvailable"|"CookieWithTruncatingChar"|"CrossOriginAccessBasedOnDocumentDomain"|"CrossOriginWindowAlert"|"CrossOriginWindowConfirm"|"CSSSelectorInternalMediaControlsOverlayCastButton"|"CustomCursorIntersectsViewport"|"DeprecationExample"|"DocumentDomainSettingWithoutOriginAgentClusterHeader"|"EventPath"|"GeolocationInsecureOrigin"|"GeolocationInsecureOriginDeprecatedNotRemoved"|"GetUserMediaInsecureOrigin"|"HostCandidateAttributeGetter"|"InsecurePrivateNetworkSubresourceRequest"|"LegacyConstraintGoogIPv6"|"LocalCSSFileExtensionRejected"|"MediaElementAudioSourceNode"|"MediaSourceAbortRemove"|"MediaSourceDurationTruncatingBuffered"|"NoSysexWebMIDIWithoutPermission"|"NotificationInsecureOrigin"|"NotificationPermissionRequestedIframe"|"ObsoleteWebRtcCipherSuite"|"PaymentRequestBasicCard"|"PaymentRequestShowWithoutGesture"|"PictureSourceSrc"|"PrefixedCancelAnimationFrame"|"PrefixedRequestAnimationFrame"|"PrefixedStorageInfo"|"PrefixedVideoDisplayingFullscreen"|"PrefixedVideoEnterFullscreen"|"PrefixedVideoEnterFullScreen"|"PrefixedVideoExitFullscreen"|"PrefixedVideoExitFullScreen"|"PrefixedVideoSupportsFullscreen"|"RangeExpand"|"RequestedSubresourceWithEmbeddedCredentials"|"RTCConstraintEnableDtlsSrtpFalse"|"RTCConstraintEnableDtlsSrtpTrue"|"RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics"|"RTCPeerConnectionSdpSemanticsPlanB"|"RtcpMuxPolicyNegotiate"|"RTPDataChannel"|"SharedArrayBufferConstructedWithoutIsolation"|"TextToSpeech_DisallowedByAutoplay"|"V8SharedArrayBufferConstructedInExtensionWithoutIsolation"|"XHRJSONEncodingDetection"|"XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload"|"XRSupportsSession";/*** This issue tracks information needed to print a deprecation message.-The formatting is inherited from the old console.log version, see more at:-https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc-TODO(crbug.com/1264960): Re-work format to add i18n support per:-https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md+https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md*/export interface DeprecationIssueDetails {affectedFrame?: AffectedFrame;sourceCodeLocation: SourceCodeLocation;- /**- * The content of an untranslated deprecation issue,-e.g. "window.inefficientLegacyStorageMethod will be removed in M97,-around January 2022. Please use Web Storage or Indexed Database-instead. This standard was abandoned in January, 1970. See-https://www.chromestatus.com/feature/5684870116278272 for more details."- */- message?: string;- /**- * The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.- */- deprecationType?: string;type: DeprecationIssueType;}export type ClientHintIssueReason = "MetaTagAllowListInvalidOrigin"|"MetaTagModifiedHTML";@@ -4913,6 +4898,7 @@ The final text color opacity is computed based on the opacity of all overlapping* Query and modify DOM storage.*/export module DOMStorage {+ export type SerializedStorageKey = string;/*** DOM Storage identifier.*/@@ -4920,7 +4906,11 @@ The final text color opacity is computed based on the opacity of all overlapping/*** Security origin for the storage.*/- securityOrigin: string;+ securityOrigin?: string;+ /**+ * Represents a key by which DOM Storage keys its CachedStorageAreas+ */+ storageKey?: SerializedStorageKey;/*** Whether the storage is local storage (not session storage).*/@@ -4988,6 +4978,12 @@ The final text color opacity is computed based on the opacity of all overlapping}export type setDOMStorageItemReturnValue = {}+ export type getStorageKeyForFrameParameters = {+ frameId: Page.FrameId;+ }+ export type getStorageKeyForFrameReturnValue = {+ storageKey: SerializedStorageKey;+ }}export module Database {@@ -5161,6 +5157,8 @@ Missing optional values will be filled in by the target with what it would normaarchitecture: string;model: string;mobile: boolean;+ bitness?: string;+ wow64?: boolean;}/*** Enum of image types that can be disabled.@@ -5605,7 +5603,7 @@ beginFrame to detect whether the frames were suppressed.* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures ascreenshot from the resulting frame. Requires that the target was created with enabledBeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also-https://goo.gl/3zHXhB for more background.+https://goo.gle/chrome-headless-rendering for more background.*/export type beginFrameParameters = {/**@@ -10181,7 +10179,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.* All Permissions Policy features. This enum should match the one definedin third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.*/- export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-partitioned-cookies"|"ch-prefers-color-scheme"|"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"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"storage-access-api"|"sync-xhr"|"trust-token-redemption"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking";+ export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-partitioned-cookies"|"ch-prefers-color-scheme"|"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"|"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"|"storage-access-api"|"sync-xhr"|"trust-token-redemption"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking";/*** Reason for a permissions policy feature to be disabled.*/@@ -10565,6 +10563,10 @@ Example URLs: http://www.google.com/file.html -> "google.com"* The fantasy font-family.*/fantasy?: string;+ /**+ * The math font-family.+ */+ math?: string;}/*** Font families collection for a script.@@ -10642,7 +10644,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"|"GrantedMediaStreamAccess"|"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"|"OptInUnloadHeaderNotPresent"|"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"|"ContentMediaSession"|"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"|"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"|"ContentMediaSession"|"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.*/@@ -10680,7 +10682,7 @@ dependent on the reason:/*** List of FinalStatus reasons for Prerender2.*/- export type PrerenderFinalStatus = "Activated";+ 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"|"EmbedderTriggeredAndSameOriginRedirected"|"EmbedderTriggeredAndCrossOriginRedirected"|"EmbedderTriggeredAndDestroyed";export type domContentEventFiredPayload = {timestamp: Network.MonotonicTime;@@ -11403,7 +11405,8 @@ dialog.*/frameId: FrameId;/**- * Loader identifier.+ * Loader identifier. This is omitted in case of same-document navigation,+as the previously committed loaderId would not change.*/loaderId?: Network.LoaderId;/**@@ -11467,15 +11470,16 @@ dialog.*/marginRight?: number;/**- * Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which means-print all pages.+ * Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are+printed in the document order, not in the order specified, and no+more than once.+Defaults to empty string, which implies the entire document is printed.+The page numbers are quietly capped to actual page count of the+document, and ranges beyond the end of the document are ignored.+If this results in no pages to print, an error is reported.+It is an error to specify a range with start greater than end.*/pageRanges?: string;- /**- * Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.-Defaults to false.- */- ignoreInvalidPageRanges?: boolean;/*** HTML template for the print header. Should be valid HTML markup with followingclasses used to inject printing values into them:@@ -12551,6 +12555,7 @@ For cached script it is the last time the cache entry was validated.}export module Storage {+ export type SerializedStorageKey = string;/*** Enum of possible storage types.*/@@ -14393,6 +14398,14 @@ See https://w3c.github.io/webauthn/#sctn-large-blob-extensionretrieval with a virtual authenticator.*/export type enableParameters = {+ /**+ * Whether to enable the WebAuthn user interface. Enabling the UI is+recommended for debugging and demo purposes, as it is closer to the real+experience. Disabling the UI is recommended for automated testing.+Supported at the embedder's discretion if UI is available.+Defaults to false.+ */+ enableUI?: boolean;}export type enableReturnValue = {}@@ -14769,6 +14782,13 @@ sent `Debugger.scriptParsed` event.* The value being returned, if the function is at return point.*/returnValue?: Runtime.RemoteObject;+ /**+ * Valid only while the VM is paused and indicates whether this frame+can be restarted or not. Note that a `true` value here does not+guarantee that Debugger#restartFrame with this CallFrameId will be+successful, but it is very likely.+ */+ canBeRestarted?: boolean;}/*** Scope description.@@ -14923,7 +14943,7 @@ variables as its properties.*/executionContextId: Runtime.ExecutionContextId;/**- * Content hash of the script.+ * Content hash of the script, SHA-256.*/hash: string;/**@@ -14997,7 +15017,7 @@ scripts upon enabling debugger.*/executionContextId: Runtime.ExecutionContextId;/**- * Content hash of the script.+ * Content hash of the script, SHA-256.*/hash: string;/**@@ -15750,11 +15770,18 @@ default value is 32768 bytes.when the tracking is stopped.*/reportProgress?: boolean;+ /**+ * Deprecated in favor of `exposeInternals`.+ */treatGlobalObjectsAsRoots?: boolean;/*** If true, numerical values are included in the snapshot*/captureNumericValue?: boolean;+ /**+ * If true, exposes internals of the snapshot.+ */+ exposeInternals?: boolean;}export type stopTrackingHeapObjectsReturnValue = {}@@ -15764,13 +15791,18 @@ when the tracking is stopped.*/reportProgress?: boolean;/**- * If true, a raw snapshot without artificial roots will be generated+ * If true, a raw snapshot without artificial roots will be generated.+Deprecated in favor of `exposeInternals`.*/treatGlobalObjectsAsRoots?: boolean;/*** If true, numerical values are included in the snapshot*/captureNumericValue?: boolean;+ /**+ * If true, exposes internals of the snapshot.+ */+ exposeInternals?: boolean;}export type takeHeapSnapshotReturnValue = {}@@ -16688,7 +16720,9 @@ specified and objectId is, objectGroup will be inherited from object.*/throwOnSideEffect?: boolean;/**- * Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.+ * Whether the result should contain `webDriverValue`, serialized according to+https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but+resulting `objectId` is still provided.*/generateWebDriverValue?: boolean;}@@ -17480,6 +17514,7 @@ Error was thrown."DOMStorage.getDOMStorageItems": DOMStorage.getDOMStorageItemsParameters;"DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemParameters;"DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemParameters;+ "DOMStorage.getStorageKeyForFrame": DOMStorage.getStorageKeyForFrameParameters;"Database.disable": Database.disableParameters;"Database.enable": Database.enableParameters;"Database.executeSQL": Database.executeSQLParameters;@@ -18009,6 +18044,7 @@ Error was thrown."DOMStorage.getDOMStorageItems": DOMStorage.getDOMStorageItemsReturnValue;"DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemReturnValue;"DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemReturnValue;+ "DOMStorage.getStorageKeyForFrame": DOMStorage.getStorageKeyForFrameReturnValue;"Database.disable": Database.disableReturnValue;"Database.enable": Database.enableReturnValue;"Database.executeSQL": Database.executeSQLReturnValue;diff --git a/packages/playwright-core/src/server/deviceDescriptorsSource.json b/packages/playwright-core/src/server/deviceDescriptorsSource.jsonindex f186c63adc..15fc09f08f 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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 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/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","viewport": {"width": 1138,"height": 712@@ -858,7 +858,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 384,"height": 640@@ -869,7 +869,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 640,"height": 384@@ -880,7 +880,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 640,"height": 360@@ -891,7 +891,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 360,"height": 640@@ -902,7 +902,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 360,"height": 640@@ -913,7 +913,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 640,"height": 360@@ -924,7 +924,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/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","viewport": {"width": 800,"height": 1280@@ -935,7 +935,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/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","viewport": {"width": 1280,"height": 800@@ -946,7 +946,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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 384,"height": 640@@ -957,7 +957,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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 640,"height": 384@@ -968,7 +968,7 @@"defaultBrowserType": "chromium"},"Nexus 5": {- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 360,"height": 640@@ -979,7 +979,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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 640,"height": 360@@ -990,7 +990,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 412,"height": 732@@ -1001,7 +1001,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 732,"height": 412@@ -1012,7 +1012,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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 412,"height": 732@@ -1023,7 +1023,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/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 732,"height": 412@@ -1034,7 +1034,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 412,"height": 732@@ -1045,7 +1045,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 732,"height": 412@@ -1056,7 +1056,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/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","viewport": {"width": 600,"height": 960@@ -1067,7 +1067,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/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","viewport": {"width": 960,"height": 600@@ -1122,7 +1122,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 411,"height": 731@@ -1133,7 +1133,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 731,"height": 411@@ -1144,7 +1144,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 411,"height": 823@@ -1155,7 +1155,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 823,"height": 411@@ -1166,7 +1166,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 393,"height": 786@@ -1177,7 +1177,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/102.0.5005.61 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/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 786,"height": 393@@ -1188,7 +1188,7 @@"defaultBrowserType": "chromium"},"Pixel 4": {- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 353,"height": 745@@ -1199,7 +1199,7 @@"defaultBrowserType": "chromium"},"Pixel 4 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 745,"height": 353@@ -1210,7 +1210,7 @@"defaultBrowserType": "chromium"},"Pixel 4a (5G)": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","screen": {"width": 412,"height": 892@@ -1225,7 +1225,7 @@"defaultBrowserType": "chromium"},"Pixel 4a (5G) landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","screen": {"height": 892,"width": 412@@ -1240,7 +1240,7 @@"defaultBrowserType": "chromium"},"Pixel 5": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","screen": {"width": 393,"height": 851@@ -1255,7 +1255,7 @@"defaultBrowserType": "chromium"},"Pixel 5 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","screen": {"width": 851,"height": 393@@ -1270,7 +1270,7 @@"defaultBrowserType": "chromium"},"Moto G4": {- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 360,"height": 640@@ -1281,7 +1281,7 @@"defaultBrowserType": "chromium"},"Moto G4 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Mobile Safari/537.36","viewport": {"width": 640,"height": 360@@ -1292,7 +1292,7 @@"defaultBrowserType": "chromium"},"Desktop Chrome HiDPI": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","screen": {"width": 1792,"height": 1120@@ -1307,7 +1307,7 @@"defaultBrowserType": "chromium"},"Desktop Edge HiDPI": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36 Edg/102.0.5005.61",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36 Edg/103.0.5060.24","screen": {"width": 1792,"height": 1120@@ -1352,7 +1352,7 @@"defaultBrowserType": "webkit"},"Desktop Chrome": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36","screen": {"width": 1920,"height": 1080@@ -1367,7 +1367,7 @@"defaultBrowserType": "chromium"},"Desktop Edge": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36 Edg/102.0.5005.61",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.24 Safari/537.36 Edg/103.0.5060.24","screen": {"width": 1920,"height": 1080diff --git a/packages/playwright-core/types/protocol.d.ts b/packages/playwright-core/types/protocol.d.tsindex dfb01f3598..c58b8d4201 100644--- a/packages/playwright-core/types/protocol.d.ts+++ b/packages/playwright-core/types/protocol.d.ts@@ -807,7 +807,7 @@ CORS RFC1918 enforcement.resourceIPAddressSpace?: Network.IPAddressSpace;clientSecurityState?: Network.ClientSecurityState;}- export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"InvalidAttributionSourceEventId"|"AttributionSourceUntrustworthyOrigin"|"AttributionUntrustworthyOrigin"|"InvalidAttributionSourceExpiry"|"InvalidAttributionSourcePriority";+ export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"AttributionSourceUntrustworthyOrigin"|"AttributionUntrustworthyOrigin"|"InvalidHeader";/*** Details for issues around "Attribution Reporting API" usage.Explainer: https://github.com/WICG/conversion-measurement-api@@ -849,29 +849,14 @@ instead of "limited-quirks".errorType: GenericIssueErrorType;frameId?: Page.FrameId;}- export type DeprecationIssueType = "DeprecationExample"|"Untranslated";+ export type DeprecationIssueType = "AuthorizationCoveredByWildcard"|"CanRequestURLHTTPContainingNewline"|"ChromeLoadTimesConnectionInfo"|"ChromeLoadTimesFirstPaintAfterLoadTime"|"ChromeLoadTimesWasAlternateProtocolAvailable"|"CookieWithTruncatingChar"|"CrossOriginAccessBasedOnDocumentDomain"|"CrossOriginWindowAlert"|"CrossOriginWindowConfirm"|"CSSSelectorInternalMediaControlsOverlayCastButton"|"CustomCursorIntersectsViewport"|"DeprecationExample"|"DocumentDomainSettingWithoutOriginAgentClusterHeader"|"EventPath"|"GeolocationInsecureOrigin"|"GeolocationInsecureOriginDeprecatedNotRemoved"|"GetUserMediaInsecureOrigin"|"HostCandidateAttributeGetter"|"InsecurePrivateNetworkSubresourceRequest"|"LegacyConstraintGoogIPv6"|"LocalCSSFileExtensionRejected"|"MediaElementAudioSourceNode"|"MediaSourceAbortRemove"|"MediaSourceDurationTruncatingBuffered"|"NoSysexWebMIDIWithoutPermission"|"NotificationInsecureOrigin"|"NotificationPermissionRequestedIframe"|"ObsoleteWebRtcCipherSuite"|"PaymentRequestBasicCard"|"PaymentRequestShowWithoutGesture"|"PictureSourceSrc"|"PrefixedCancelAnimationFrame"|"PrefixedRequestAnimationFrame"|"PrefixedStorageInfo"|"PrefixedVideoDisplayingFullscreen"|"PrefixedVideoEnterFullscreen"|"PrefixedVideoEnterFullScreen"|"PrefixedVideoExitFullscreen"|"PrefixedVideoExitFullScreen"|"PrefixedVideoSupportsFullscreen"|"RangeExpand"|"RequestedSubresourceWithEmbeddedCredentials"|"RTCConstraintEnableDtlsSrtpFalse"|"RTCConstraintEnableDtlsSrtpTrue"|"RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics"|"RTCPeerConnectionSdpSemanticsPlanB"|"RtcpMuxPolicyNegotiate"|"RTPDataChannel"|"SharedArrayBufferConstructedWithoutIsolation"|"TextToSpeech_DisallowedByAutoplay"|"V8SharedArrayBufferConstructedInExtensionWithoutIsolation"|"XHRJSONEncodingDetection"|"XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload"|"XRSupportsSession";/*** This issue tracks information needed to print a deprecation message.-The formatting is inherited from the old console.log version, see more at:-https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc-TODO(crbug.com/1264960): Re-work format to add i18n support per:-https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md+https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md*/export interface DeprecationIssueDetails {affectedFrame?: AffectedFrame;sourceCodeLocation: SourceCodeLocation;- /**- * The content of an untranslated deprecation issue,-e.g. "window.inefficientLegacyStorageMethod will be removed in M97,-around January 2022. Please use Web Storage or Indexed Database-instead. This standard was abandoned in January, 1970. See-https://www.chromestatus.com/feature/5684870116278272 for more details."- */- message?: string;- /**- * The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.- */- deprecationType?: string;type: DeprecationIssueType;}export type ClientHintIssueReason = "MetaTagAllowListInvalidOrigin"|"MetaTagModifiedHTML";@@ -4913,6 +4898,7 @@ The final text color opacity is computed based on the opacity of all overlapping* Query and modify DOM storage.*/export module DOMStorage {+ export type SerializedStorageKey = string;/*** DOM Storage identifier.*/@@ -4920,7 +4906,11 @@ The final text color opacity is computed based on the opacity of all overlapping/*** Security origin for the storage.*/- securityOrigin: string;+ securityOrigin?: string;+ /**+ * Represents a key by which DOM Storage keys its CachedStorageAreas+ */+ storageKey?: SerializedStorageKey;/*** Whether the storage is local storage (not session storage).*/@@ -4988,6 +4978,12 @@ The final text color opacity is computed based on the opacity of all overlapping}export type setDOMStorageItemReturnValue = {}+ export type getStorageKeyForFrameParameters = {+ frameId: Page.FrameId;+ }+ export type getStorageKeyForFrameReturnValue = {+ storageKey: SerializedStorageKey;+ }}export module Database {@@ -5161,6 +5157,8 @@ Missing optional values will be filled in by the target with what it would normaarchitecture: string;model: string;mobile: boolean;+ bitness?: string;+ wow64?: boolean;}/*** Enum of image types that can be disabled.@@ -5605,7 +5603,7 @@ beginFrame to detect whether the frames were suppressed.* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures ascreenshot from the resulting frame. Requires that the target was created with enabledBeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also-https://goo.gl/3zHXhB for more background.+https://goo.gle/chrome-headless-rendering for more background.*/export type beginFrameParameters = {/**@@ -10181,7 +10179,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.* All Permissions Policy features. This enum should match the one definedin third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.*/- export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-partitioned-cookies"|"ch-prefers-color-scheme"|"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"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"storage-access-api"|"sync-xhr"|"trust-token-redemption"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking";+ export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-partitioned-cookies"|"ch-prefers-color-scheme"|"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"|"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"|"storage-access-api"|"sync-xhr"|"trust-token-redemption"|"usb"|"vertical-scroll"|"web-share"|"window-placement"|"xr-spatial-tracking";/*** Reason for a permissions policy feature to be disabled.*/@@ -10565,6 +10563,10 @@ Example URLs: http://www.google.com/file.html -> "google.com"* The fantasy font-family.*/fantasy?: string;+ /**+ * The math font-family.+ */+ math?: string;}/*** Font families collection for a script.@@ -10642,7 +10644,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"|"GrantedMediaStreamAccess"|"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"|"OptInUnloadHeaderNotPresent"|"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"|"ContentMediaSession"|"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"|"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"|"ContentMediaSession"|"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.*/@@ -10680,7 +10682,7 @@ dependent on the reason:/*** List of FinalStatus reasons for Prerender2.*/- export type PrerenderFinalStatus = "Activated";+ 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"|"EmbedderTriggeredAndSameOriginRedirected"|"EmbedderTriggeredAndCrossOriginRedirected"|"EmbedderTriggeredAndDestroyed";export type domContentEventFiredPayload = {timestamp: Network.MonotonicTime;@@ -11403,7 +11405,8 @@ dialog.*/frameId: FrameId;/**- * Loader identifier.+ * Loader identifier. This is omitted in case of same-document navigation,+as the previously committed loaderId would not change.*/loaderId?: Network.LoaderId;/**@@ -11467,15 +11470,16 @@ dialog.*/marginRight?: number;/**- * Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which means-print all pages.+ * Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are+printed in the document order, not in the order specified, and no+more than once.+Defaults to empty string, which implies the entire document is printed.+The page numbers are quietly capped to actual page count of the+document, and ranges beyond the end of the document are ignored.+If this results in no pages to print, an error is reported.+It is an error to specify a range with start greater than end.*/pageRanges?: string;- /**- * Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.-Defaults to false.- */- ignoreInvalidPageRanges?: boolean;/*** HTML template for the print header. Should be valid HTML markup with followingclasses used to inject printing values into them:@@ -12551,6 +12555,7 @@ For cached script it is the last time the cache entry was validated.}export module Storage {+ export type SerializedStorageKey = string;/*** Enum of possible storage types.*/@@ -14393,6 +14398,14 @@ See https://w3c.github.io/webauthn/#sctn-large-blob-extensionretrieval with a virtual authenticator.*/export type enableParameters = {+ /**+ * Whether to enable the WebAuthn user interface. Enabling the UI is+recommended for debugging and demo purposes, as it is closer to the real+experience. Disabling the UI is recommended for automated testing.+Supported at the embedder's discretion if UI is available.+Defaults to false.+ */+ enableUI?: boolean;}export type enableReturnValue = {}@@ -14769,6 +14782,13 @@ sent `Debugger.scriptParsed` event.* The value being returned, if the function is at return point.*/returnValue?: Runtime.RemoteObject;+ /**+ * Valid only while the VM is paused and indicates whether this frame+can be restarted or not. Note that a `true` value here does not+guarantee that Debugger#restartFrame with this CallFrameId will be+successful, but it is very likely.+ */+ canBeRestarted?: boolean;}/*** Scope description.@@ -14923,7 +14943,7 @@ variables as its properties.*/executionContextId: Runtime.ExecutionContextId;/**- * Content hash of the script.+ * Content hash of the script, SHA-256.*/hash: string;/**@@ -14997,7 +15017,7 @@ scripts upon enabling debugger.*/executionContextId: Runtime.ExecutionContextId;/**- * Content hash of the script.+ * Content hash of the script, SHA-256.*/hash: string;/**@@ -15750,11 +15770,18 @@ default value is 32768 bytes.when the tracking is stopped.*/reportProgress?: boolean;+ /**+ * Deprecated in favor of `exposeInternals`.+ */treatGlobalObjectsAsRoots?: boolean;/*** If true, numerical values are included in the snapshot*/captureNumericValue?: boolean;+ /**+ * If true, exposes internals of the snapshot.+ */+ exposeInternals?: boolean;}export type stopTrackingHeapObjectsReturnValue = {}@@ -15764,13 +15791,18 @@ when the tracking is stopped.*/reportProgress?: boolean;/**- * If true, a raw snapshot without artificial roots will be generated+ * If true, a raw snapshot without artificial roots will be generated.+Deprecated in favor of `exposeInternals`.*/treatGlobalObjectsAsRoots?: boolean;/*** If true, numerical values are included in the snapshot*/captureNumericValue?: boolean;+ /**+ * If true, exposes internals of the snapshot.+ */+ exposeInternals?: boolean;}export type takeHeapSnapshotReturnValue = {}@@ -16688,7 +16720,9 @@ specified and objectId is, objectGroup will be inherited from object.*/throwOnSideEffect?: boolean;/**- * Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.+ * Whether the result should contain `webDriverValue`, serialized according to+https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but+resulting `objectId` is still provided.*/generateWebDriverValue?: boolean;}@@ -17480,6 +17514,7 @@ Error was thrown."DOMStorage.getDOMStorageItems": DOMStorage.getDOMStorageItemsParameters;"DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemParameters;"DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemParameters;+ "DOMStorage.getStorageKeyForFrame": DOMStorage.getStorageKeyForFrameParameters;"Database.disable": Database.disableParameters;"Database.enable": Database.enableParameters;"Database.executeSQL": Database.executeSQLParameters;@@ -18009,6 +18044,7 @@ Error was thrown."DOMStorage.getDOMStorageItems": DOMStorage.getDOMStorageItemsReturnValue;"DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemReturnValue;"DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemReturnValue;+ "DOMStorage.getStorageKeyForFrame": DOMStorage.getStorageKeyForFrameReturnValue;"Database.disable": Database.disableReturnValue;"Database.enable": Database.enableReturnValue;"Database.executeSQL": Database.executeSQLReturnValue;diff --git a/tests/library/permissions.spec.ts b/tests/library/permissions.spec.tsindex b8937ae752..9107e37309 100644--- a/tests/library/permissions.spec.ts+++ b/tests/library/permissions.spec.ts@@ -100,9 +100,9 @@ it.describe('permissions', () => {expect(await getPermission(page, 'geolocation')).toBe('prompt');});- it('should trigger permission onchange', async ({ page, context, server, browserName, headless, channel }) => {+ it('should trigger permission onchange', async ({ page, context, server, browserName, headless, browserMajorVersion }) => {it.fail(browserName === 'webkit');- it.fail(browserName === 'chromium' && !headless && !channel, 'Fixed on ToT, remove once Beta rolls');+ it.fail(browserName === 'chromium' && !headless && browserMajorVersion <= 102, 'Fixed on ToT, remove once Beta rolls');await page.goto(server.EMPTY_PAGE);await page.evaluate(() => {