Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

feat(chromium): roll to r1208 (#38866)

microsoft-playwright-automation[bot]3c6d6d75acad
diff --git a/README.md b/README.md
index d838bf0ef4..8b6bd945d0 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# 🎭 Playwright
-[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-144.0.7559.20-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-146.0.1-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-26.0-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop --> [![Join Discord](https://img.shields.io/badge/join-discord-informational)](https://aka.ms/playwright/discord)
+[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-145.0.7632.6-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-146.0.1-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-26.0-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop --> [![Join Discord](https://img.shields.io/badge/join-discord-informational)](https://aka.ms/playwright/discord)
## [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 -->144.0.7559.20<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+| Chromium <!-- GEN:chromium-version -->145.0.7632.6<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->26.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->146.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.json
index 196b7f7cd5..a49bb00e71 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -3,16 +3,16 @@
"browsers": [
{
"name": "chromium",
- "revision": "1207",
+ "revision": "1208",
"installByDefault": true,
- "browserVersion": "144.0.7559.20",
+ "browserVersion": "145.0.7632.6",
"title": "Chrome for Testing"
},
{
"name": "chromium-headless-shell",
- "revision": "1207",
+ "revision": "1208",
"installByDefault": true,
- "browserVersion": "144.0.7559.20",
+ "browserVersion": "145.0.7632.6",
"title": "Chrome Headless Shell"
},
{
diff --git a/packages/playwright-core/src/server/chromium/protocol.d.ts b/packages/playwright-core/src/server/chromium/protocol.d.ts
index 576f492e4d..265faf3fcc 100644
--- a/packages/playwright-core/src/server/chromium/protocol.d.ts
+++ b/packages/playwright-core/src/server/chromium/protocol.d.ts
@@ -906,7 +906,7 @@ instead of "limited-quirks".
error: UnencodedDigestError;
request: AffectedRequest;
}
- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable";
+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo";
/**
* Depending on the concrete errorType, different properties are set.
*/
@@ -1829,7 +1829,7 @@ by |characteristicId|.
*/
windowState?: WindowState;
}
- export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetworkAccess"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
+ export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetwork"|"localNetworkAccess"|"loopbackNetwork"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
export type PermissionSetting = "granted"|"denied"|"prompt";
/**
* Definition of PermissionDescriptor defined in the Permissions API:
@@ -4187,7 +4187,7 @@ front-end.
/**
* Pseudo element type.
*/
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent"|"overscroll-client-area";
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent";
/**
* Shadow root type.
*/
@@ -10084,6 +10084,10 @@ milliseconds relatively to this requestTime.
* Loading priority of a resource request.
*/
export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";
+ /**
+ * The render blocking behavior of a resource request.
+ */
+ export type RenderBlockingBehavior = "Blocking"|"InBodyParserBlocking"|"NonBlocking"|"NonBlockingDynamic"|"PotentiallyBlocking";
/**
* Post data entry for HTTP request
*/
@@ -11148,6 +11152,183 @@ the same request (but not for redirected requests).
*/
groupName: string;
}
+ /**
+ * Unique identifier for a device bound session.
+ */
+ export interface DeviceBoundSessionKey {
+ /**
+ * The site the session is set up for.
+ */
+ site: string;
+ /**
+ * The id of the session.
+ */
+ id: string;
+ }
+ /**
+ * A device bound session's cookie craving.
+ */
+ export interface DeviceBoundSessionCookieCraving {
+ /**
+ * The name of the craving.
+ */
+ name: string;
+ /**
+ * The domain of the craving.
+ */
+ domain: string;
+ /**
+ * The path of the craving.
+ */
+ path: string;
+ /**
+ * The `Secure` attribute of the craving attributes.
+ */
+ secure: boolean;
+ /**
+ * The `HttpOnly` attribute of the craving attributes.
+ */
+ httpOnly: boolean;
+ /**
+ * The `SameSite` attribute of the craving attributes.
+ */
+ sameSite?: CookieSameSite;
+ }
+ /**
+ * A device bound session's inclusion URL rule.
+ */
+ export interface DeviceBoundSessionUrlRule {
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
+ */
+ ruleType: "Exclude"|"Include";
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
+ */
+ hostPattern: string;
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
+ */
+ pathPrefix: string;
+ }
+ /**
+ * A device bound session's inclusion rules.
+ */
+ export interface DeviceBoundSessionInclusionRules {
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
+ */
+ origin: string;
+ /**
+ * Whether the whole site is included. See comments on
+`net::device_bound_sessions::SessionInclusionRules::include_site_` for more
+details; this boolean is true if that value is populated.
+ */
+ includeSite: boolean;
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
+ */
+ urlRules: DeviceBoundSessionUrlRule[];
+ }
+ /**
+ * A device bound session.
+ */
+ export interface DeviceBoundSession {
+ /**
+ * The site and session ID of the session.
+ */
+ key: DeviceBoundSessionKey;
+ /**
+ * See comments on `net::device_bound_sessions::Session::refresh_url_`.
+ */
+ refreshUrl: string;
+ /**
+ * See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
+ */
+ inclusionRules: DeviceBoundSessionInclusionRules;
+ /**
+ * See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
+ */
+ cookieCravings: DeviceBoundSessionCookieCraving[];
+ /**
+ * See comments on `net::device_bound_sessions::Session::expiry_date_`.
+ */
+ expiryDate: Network.TimeSinceEpoch;
+ /**
+ * See comments on `net::device_bound_sessions::Session::cached_challenge__`.
+ */
+ cachedChallenge?: string;
+ /**
+ * See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
+ */
+ allowedRefreshInitiators: string[];
+ }
+ /**
+ * A unique identifier for a device bound session event.
+ */
+ export type DeviceBoundSessionEventId = string;
+ /**
+ * A fetch result for a device bound session creation or refresh.
+ */
+ export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";
+ /**
+ * Session event details specific to creation.
+ */
+ export interface CreationEventDetails {
+ /**
+ * The result of the fetch attempt.
+ */
+ fetchResult: DeviceBoundSessionFetchResult;
+ /**
+ * The session if there was a newly created session. This is populated for
+all successful creation events.
+ */
+ newSession?: DeviceBoundSession;
+ }
+ /**
+ * Session event details specific to refresh.
+ */
+ export interface RefreshEventDetails {
+ /**
+ * The result of a refresh.
+ */
+ refreshResult: "Refreshed"|"InitializedService"|"Unreachable"|"ServerError"|"RefreshQuotaExceeded"|"FatalError"|"SigningQuotaExceeded";
+ /**
+ * If there was a fetch attempt, the result of that.
+ */
+ fetchResult?: DeviceBoundSessionFetchResult;
+ /**
+ * The session display if there was a newly created session. This is populated
+for any refresh event that modifies the session config.
+ */
+ newSession?: DeviceBoundSession;
+ /**
+ * See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
+ */
+ wasFullyProactiveRefresh: boolean;
+ }
+ /**
+ * Session event details specific to termination.
+ */
+ export interface TerminationEventDetails {
+ /**
+ * The reason for a session being deleted.
+ */
+ deletionReason: "Expired"|"FailedToRestoreKey"|"FailedToUnwrapKey"|"StoragePartitionCleared"|"ClearBrowsingData"|"ServerRequested"|"InvalidSessionParams"|"RefreshFatalError";
+ }
+ /**
+ * Session event details specific to challenges.
+ */
+ export interface ChallengeEventDetails {
+ /**
+ * The result of a challenge.
+ */
+ challengeResult: "Success"|"NoSessionId"|"NoSessionMatch"|"CantSetBoundCookie";
+ /**
+ * The challenge set.
+ */
+ challenge: string;
+ }
/**
* An object providing the result of a network resource load.
*/
@@ -11400,6 +11581,10 @@ for the request which was just redirected.
* Whether the request is initiated by a user gesture. Defaults to false.
*/
hasUserGesture?: boolean;
+ /**
+ * The render blocking behavior of the request.
+ */
+ renderBlockingBehavior?: RenderBlockingBehavior;
}
/**
* Fired when resource loading priority is changed
@@ -11918,6 +12103,44 @@ And after 'enableReportingApi' for all existing reports.
origin: string;
endpoints: ReportingApiEndpoint[];
}
+ /**
+ * Triggered when the initial set of device bound sessions is added.
+ */
+ export type deviceBoundSessionsAddedPayload = {
+ /**
+ * The device bound sessions.
+ */
+ sessions: DeviceBoundSession[];
+ }
+ /**
+ * Triggered when a device bound session event occurs.
+ */
+ export type deviceBoundSessionEventOccurredPayload = {
+ /**
+ * A unique identifier for this session event.
+ */
+ eventId: DeviceBoundSessionEventId;
+ /**
+ * The site this session event is associated with.
+ */
+ site: string;
+ /**
+ * Whether this event was considered successful.
+ */
+ succeeded: boolean;
+ /**
+ * The session ID this event is associated with. May not be populated for
+failed events.
+ */
+ sessionId?: string;
+ /**
+ * The below are the different session event type details. Exactly one is populated.
+ */
+ creationEventDetails?: CreationEventDetails;
+ refreshEventDetails?: RefreshEventDetails;
+ terminationEventDetails?: TerminationEventDetails;
+ challengeEventDetails?: ChallengeEventDetails;
+ }
/**
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
@@ -12180,12 +12403,31 @@ requests affected by a rule.
/**
* Enable storing response bodies outside of renderer, so that these survive
a cross-process navigation. Requires maxTotalBufferSize to be set.
-Currently defaults to false.
+Currently defaults to false. This field is being deprecated in favor of the dedicated
+configureDurableMessages command, due to the possibility of deadlocks when awaiting
+Network.enable before issuing Runtime.runIfWaitingForDebugger.
*/
enableDurableMessages?: boolean;
}
export type enableReturnValue = {
}
+ /**
+ * Configures storing response bodies outside of renderer, so that these survive
+a cross-process navigation.
+If maxTotalBufferSize is not set, durable messages are disabled.
+ */
+ export type configureDurableMessagesParameters = {
+ /**
+ * Buffer size in bytes to use when preserving network payloads (XHRs, etc).
+ */
+ maxTotalBufferSize?: number;
+ /**
+ * Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
+ */
+ maxResourceBufferSize?: number;
+ }
+ export type configureDurableMessagesReturnValue = {
+ }
/**
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the `cookies` field.
@@ -12262,6 +12504,10 @@ the URLs of the page and all of its subframes.
* Request body string, omitting files from multipart requests
*/
postData: string;
+ /**
+ * True, if content was sent as base64.
+ */
+ base64Encoded: boolean;
}
/**
* Returns content served for the given currently intercepted request.
@@ -12551,6 +12797,32 @@ Enabling triggers 'reportingApiReportAdded' for all existing reports.
}
export type enableReportingApiReturnValue = {
}
+ /**
+ * Sets up tracking device bound sessions and fetching of initial set of sessions.
+ */
+ export type enableDeviceBoundSessionsParameters = {
+ /**
+ * Whether to enable or disable events.
+ */
+ enable: boolean;
+ }
+ export type enableDeviceBoundSessionsReturnValue = {
+ }
+ /**
+ * Fetches the schemeful site for a specific origin.
+ */
+ export type fetchSchemefulSiteParameters = {
+ /**
+ * The URL origin.
+ */
+ origin: string;
+ }
+ export type fetchSchemefulSiteReturnValue = {
+ /**
+ * The corresponding schemeful site.
+ */
+ schemefulSite: string;
+ }
/**
* Fetches the resource and returns the content.
*/
@@ -13660,7 +13932,7 @@ available.
in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
LINT.IfChange(PermissionsPolicyFeature)
*/
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network-access"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
+ export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network"|"local-network-access"|"loopback-network"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
/**
* Reason for a permissions policy feature to be disabled.
*/
@@ -18059,6 +18331,10 @@ Parts of the URL other than those constituting origin are ignored.
* An array of browser context ids.
*/
browserContextIds: Browser.BrowserContextID[];
+ /**
+ * The id of the default browser context if available.
+ */
+ defaultBrowserContextId?: Browser.BrowserContextID;
}
/**
* Creates a new page.
@@ -18490,6 +18766,17 @@ buffer wrapped around.
*/
categories: string[];
}
+ /**
+ * Return a descriptor for all available tracing categories.
+ */
+ export type getTrackEventDescriptorParameters = {
+ }
+ export type getTrackEventDescriptorReturnValue = {
+ /**
+ * Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
+ */
+ descriptor: binary;
+ }
/**
* Record a clock sync marker in the trace.
*/
@@ -21899,6 +22186,8 @@ Error was thrown.
"Network.reportingApiReportAdded": Network.reportingApiReportAddedPayload;
"Network.reportingApiReportUpdated": Network.reportingApiReportUpdatedPayload;
"Network.reportingApiEndpointsChangedForOrigin": Network.reportingApiEndpointsChangedForOriginPayload;
+ "Network.deviceBoundSessionsAdded": Network.deviceBoundSessionsAddedPayload;
+ "Network.deviceBoundSessionEventOccurred": Network.deviceBoundSessionEventOccurredPayload;
"Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
"Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
"Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;
@@ -22118,6 +22407,8 @@ Error was thrown.
["Network.reportingApiReportAdded"]: [Network.reportingApiReportAddedPayload];
["Network.reportingApiReportUpdated"]: [Network.reportingApiReportUpdatedPayload];
["Network.reportingApiEndpointsChangedForOrigin"]: [Network.reportingApiEndpointsChangedForOriginPayload];
+ ["Network.deviceBoundSessionsAdded"]: [Network.deviceBoundSessionsAddedPayload];
+ ["Network.deviceBoundSessionEventOccurred"]: [Network.deviceBoundSessionEventOccurredPayload];
["Overlay.inspectNodeRequested"]: [Overlay.inspectNodeRequestedPayload];
["Overlay.nodeHighlightRequested"]: [Overlay.nodeHighlightRequestedPayload];
["Overlay.screenshotRequested"]: [Overlay.screenshotRequestedPayload];
@@ -22567,6 +22858,7 @@ Error was thrown.
"Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleParameters;
"Network.overrideNetworkState": Network.overrideNetworkStateParameters;
"Network.enable": Network.enableParameters;
+ "Network.configureDurableMessages": Network.configureDurableMessagesParameters;
"Network.getAllCookies": Network.getAllCookiesParameters;
"Network.getCertificate": Network.getCertificateParameters;
"Network.getCookies": Network.getCookiesParameters;
@@ -22588,6 +22880,8 @@ Error was thrown.
"Network.streamResourceContent": Network.streamResourceContentParameters;
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
"Network.enableReportingApi": Network.enableReportingApiParameters;
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsParameters;
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteParameters;
"Network.loadNetworkResource": Network.loadNetworkResourceParameters;
"Network.setCookieControls": Network.setCookieControlsParameters;
"Overlay.disable": Overlay.disableParameters;
@@ -22775,6 +23069,7 @@ Error was thrown.
"Tethering.unbind": Tethering.unbindParameters;
"Tracing.end": Tracing.endParameters;
"Tracing.getCategories": Tracing.getCategoriesParameters;
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorParameters;
"Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerParameters;
"Tracing.requestMemoryDump": Tracing.requestMemoryDumpParameters;
"Tracing.start": Tracing.startParameters;
@@ -23213,6 +23508,7 @@ Error was thrown.
"Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleReturnValue;
"Network.overrideNetworkState": Network.overrideNetworkStateReturnValue;
"Network.enable": Network.enableReturnValue;
+ "Network.configureDurableMessages": Network.configureDurableMessagesReturnValue;
"Network.getAllCookies": Network.getAllCookiesReturnValue;
"Network.getCertificate": Network.getCertificateReturnValue;
"Network.getCookies": Network.getCookiesReturnValue;
@@ -23234,6 +23530,8 @@ Error was thrown.
"Network.streamResourceContent": Network.streamResourceContentReturnValue;
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
"Network.enableReportingApi": Network.enableReportingApiReturnValue;
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsReturnValue;
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteReturnValue;
"Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
"Network.setCookieControls": Network.setCookieControlsReturnValue;
"Overlay.disable": Overlay.disableReturnValue;
@@ -23421,6 +23719,7 @@ Error was thrown.
"Tethering.unbind": Tethering.unbindReturnValue;
"Tracing.end": Tracing.endReturnValue;
"Tracing.getCategories": Tracing.getCategoriesReturnValue;
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorReturnValue;
"Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerReturnValue;
"Tracing.requestMemoryDump": Tracing.requestMemoryDumpReturnValue;
"Tracing.start": Tracing.startReturnValue;
diff --git a/packages/playwright-core/src/server/deviceDescriptorsSource.json b/packages/playwright-core/src/server/deviceDescriptorsSource.json
index a8dcaf7e2a..cb89139a36 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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 658,
"height": 320
@@ -176,7 +176,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S24": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 780
@@ -187,7 +187,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S24 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 780,
"height": 360
@@ -198,7 +198,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy A55": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 480,
"height": 1040
@@ -209,7 +209,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy A55 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 1040,
"height": 480
@@ -220,7 +220,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 712,
"height": 1138
@@ -231,7 +231,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/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 1138,
"height": 712
@@ -242,7 +242,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S9": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 640,
"height": 1024
@@ -253,7 +253,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S9 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 1024,
"height": 640
@@ -1208,7 +1208,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@@ -1219,7 +1219,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@@ -1230,7 +1230,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@@ -1241,7 +1241,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@@ -1252,7 +1252,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@@ -1263,7 +1263,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@@ -1274,7 +1274,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/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 800,
"height": 1280
@@ -1285,7 +1285,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/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 1280,
"height": 800
@@ -1296,7 +1296,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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@@ -1307,7 +1307,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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@@ -1318,7 +1318,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -1329,7 +1329,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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@@ -1340,7 +1340,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -1351,7 +1351,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -1362,7 +1362,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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -1373,7 +1373,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/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -1384,7 +1384,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -1395,7 +1395,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -1406,7 +1406,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/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 600,
"height": 960
@@ -1417,7 +1417,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/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"viewport": {
"width": 960,
"height": 600
@@ -1472,7 +1472,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 731
@@ -1483,7 +1483,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 731,
"height": 411
@@ -1494,7 +1494,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 823
@@ -1505,7 +1505,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 823,
"height": 411
@@ -1516,7 +1516,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 393,
"height": 786
@@ -1527,7 +1527,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/144.0.7559.20 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/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 786,
"height": 393
@@ -1538,7 +1538,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 353,
"height": 745
@@ -1549,7 +1549,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 745,
"height": 353
@@ -1560,7 +1560,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G)": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"screen": {
"width": 412,
"height": 892
@@ -1575,7 +1575,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G) landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"screen": {
"height": 892,
"width": 412
@@ -1590,7 +1590,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"screen": {
"width": 393,
"height": 851
@@ -1605,7 +1605,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"screen": {
"width": 851,
"height": 393
@@ -1620,7 +1620,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 7": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"screen": {
"width": 412,
"height": 915
@@ -1635,7 +1635,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 7 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"screen": {
"width": 915,
"height": 412
@@ -1650,7 +1650,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -1661,7 +1661,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@@ -1672,7 +1672,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Chrome HiDPI": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"screen": {
"width": 1792,
"height": 1120
@@ -1687,7 +1687,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Edge HiDPI": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36 Edg/144.0.7559.20",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36 Edg/145.0.7632.6",
"screen": {
"width": 1792,
"height": 1120
@@ -1732,7 +1732,7 @@
"defaultBrowserType": "webkit"
},
"Desktop Chrome": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36",
"screen": {
"width": 1920,
"height": 1080
@@ -1747,7 +1747,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Edge": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.20 Safari/537.36 Edg/144.0.7559.20",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.7632.6 Safari/537.36 Edg/145.0.7632.6",
"screen": {
"width": 1920,
"height": 1080
diff --git a/packages/playwright-core/types/protocol.d.ts b/packages/playwright-core/types/protocol.d.ts
index 576f492e4d..265faf3fcc 100644
--- a/packages/playwright-core/types/protocol.d.ts
+++ b/packages/playwright-core/types/protocol.d.ts
@@ -906,7 +906,7 @@ instead of "limited-quirks".
error: UnencodedDigestError;
request: AffectedRequest;
}
- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable";
+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo";
/**
* Depending on the concrete errorType, different properties are set.
*/
@@ -1829,7 +1829,7 @@ by |characteristicId|.
*/
windowState?: WindowState;
}
- export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetworkAccess"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
+ export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetwork"|"localNetworkAccess"|"loopbackNetwork"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
export type PermissionSetting = "granted"|"denied"|"prompt";
/**
* Definition of PermissionDescriptor defined in the Permissions API:
@@ -4187,7 +4187,7 @@ front-end.
/**
* Pseudo element type.
*/
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent"|"overscroll-client-area";
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent";
/**
* Shadow root type.
*/
@@ -10084,6 +10084,10 @@ milliseconds relatively to this requestTime.
* Loading priority of a resource request.
*/
export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";
+ /**
+ * The render blocking behavior of a resource request.
+ */
+ export type RenderBlockingBehavior = "Blocking"|"InBodyParserBlocking"|"NonBlocking"|"NonBlockingDynamic"|"PotentiallyBlocking";
/**
* Post data entry for HTTP request
*/
@@ -11148,6 +11152,183 @@ the same request (but not for redirected requests).
*/
groupName: string;
}
+ /**
+ * Unique identifier for a device bound session.
+ */
+ export interface DeviceBoundSessionKey {
+ /**
+ * The site the session is set up for.
+ */
+ site: string;
+ /**
+ * The id of the session.
+ */
+ id: string;
+ }
+ /**
+ * A device bound session's cookie craving.
+ */
+ export interface DeviceBoundSessionCookieCraving {
+ /**
+ * The name of the craving.
+ */
+ name: string;
+ /**
+ * The domain of the craving.
+ */
+ domain: string;
+ /**
+ * The path of the craving.
+ */
+ path: string;
+ /**
+ * The `Secure` attribute of the craving attributes.
+ */
+ secure: boolean;
+ /**
+ * The `HttpOnly` attribute of the craving attributes.
+ */
+ httpOnly: boolean;
+ /**
+ * The `SameSite` attribute of the craving attributes.
+ */
+ sameSite?: CookieSameSite;
+ }
+ /**
+ * A device bound session's inclusion URL rule.
+ */
+ export interface DeviceBoundSessionUrlRule {
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
+ */
+ ruleType: "Exclude"|"Include";
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
+ */
+ hostPattern: string;
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
+ */
+ pathPrefix: string;
+ }
+ /**
+ * A device bound session's inclusion rules.
+ */
+ export interface DeviceBoundSessionInclusionRules {
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
+ */
+ origin: string;
+ /**
+ * Whether the whole site is included. See comments on
+`net::device_bound_sessions::SessionInclusionRules::include_site_` for more
+details; this boolean is true if that value is populated.
+ */
+ includeSite: boolean;
+ /**
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
+ */
+ urlRules: DeviceBoundSessionUrlRule[];
+ }
+ /**
+ * A device bound session.
+ */
+ export interface DeviceBoundSession {
+ /**
+ * The site and session ID of the session.
+ */
+ key: DeviceBoundSessionKey;
+ /**
+ * See comments on `net::device_bound_sessions::Session::refresh_url_`.
+ */
+ refreshUrl: string;
+ /**
+ * See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
+ */
+ inclusionRules: DeviceBoundSessionInclusionRules;
+ /**
+ * See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
+ */
+ cookieCravings: DeviceBoundSessionCookieCraving[];
+ /**
+ * See comments on `net::device_bound_sessions::Session::expiry_date_`.
+ */
+ expiryDate: Network.TimeSinceEpoch;
+ /**
+ * See comments on `net::device_bound_sessions::Session::cached_challenge__`.
+ */
+ cachedChallenge?: string;
+ /**
+ * See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
+ */
+ allowedRefreshInitiators: string[];
+ }
+ /**
+ * A unique identifier for a device bound session event.
+ */
+ export type DeviceBoundSessionEventId = string;
+ /**
+ * A fetch result for a device bound session creation or refresh.
+ */
+ export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";
+ /**
+ * Session event details specific to creation.
+ */
+ export interface CreationEventDetails {
+ /**
+ * The result of the fetch attempt.
+ */
+ fetchResult: DeviceBoundSessionFetchResult;
+ /**
+ * The session if there was a newly created session. This is populated for
+all successful creation events.
+ */
+ newSession?: DeviceBoundSession;
+ }
+ /**
+ * Session event details specific to refresh.
+ */
+ export interface RefreshEventDetails {
+ /**
+ * The result of a refresh.
+ */
+ refreshResult: "Refreshed"|"InitializedService"|"Unreachable"|"ServerError"|"RefreshQuotaExceeded"|"FatalError"|"SigningQuotaExceeded";
+ /**
+ * If there was a fetch attempt, the result of that.
+ */
+ fetchResult?: DeviceBoundSessionFetchResult;
+ /**
+ * The session display if there was a newly created session. This is populated
+for any refresh event that modifies the session config.
+ */
+ newSession?: DeviceBoundSession;
+ /**
+ * See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
+ */
+ wasFullyProactiveRefresh: boolean;
+ }
+ /**
+ * Session event details specific to termination.
+ */
+ export interface TerminationEventDetails {
+ /**
+ * The reason for a session being deleted.
+ */
+ deletionReason: "Expired"|"FailedToRestoreKey"|"FailedToUnwrapKey"|"StoragePartitionCleared"|"ClearBrowsingData"|"ServerRequested"|"InvalidSessionParams"|"RefreshFatalError";
+ }
+ /**
+ * Session event details specific to challenges.
+ */
+ export interface ChallengeEventDetails {
+ /**
+ * The result of a challenge.
+ */
+ challengeResult: "Success"|"NoSessionId"|"NoSessionMatch"|"CantSetBoundCookie";
+ /**
+ * The challenge set.
+ */
+ challenge: string;
+ }
/**
* An object providing the result of a network resource load.
*/
@@ -11400,6 +11581,10 @@ for the request which was just redirected.
* Whether the request is initiated by a user gesture. Defaults to false.
*/
hasUserGesture?: boolean;
+ /**
+ * The render blocking behavior of the request.
+ */
+ renderBlockingBehavior?: RenderBlockingBehavior;
}
/**
* Fired when resource loading priority is changed
@@ -11918,6 +12103,44 @@ And after 'enableReportingApi' for all existing reports.
origin: string;
endpoints: ReportingApiEndpoint[];
}
+ /**
+ * Triggered when the initial set of device bound sessions is added.
+ */
+ export type deviceBoundSessionsAddedPayload = {
+ /**
+ * The device bound sessions.
+ */
+ sessions: DeviceBoundSession[];
+ }
+ /**
+ * Triggered when a device bound session event occurs.
+ */
+ export type deviceBoundSessionEventOccurredPayload = {
+ /**
+ * A unique identifier for this session event.
+ */
+ eventId: DeviceBoundSessionEventId;
+ /**
+ * The site this session event is associated with.
+ */
+ site: string;
+ /**
+ * Whether this event was considered successful.
+ */
+ succeeded: boolean;
+ /**
+ * The session ID this event is associated with. May not be populated for
+failed events.
+ */
+ sessionId?: string;
+ /**
+ * The below are the different session event type details. Exactly one is populated.
+ */
+ creationEventDetails?: CreationEventDetails;
+ refreshEventDetails?: RefreshEventDetails;
+ terminationEventDetails?: TerminationEventDetails;
+ challengeEventDetails?: ChallengeEventDetails;
+ }
/**
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
@@ -12180,12 +12403,31 @@ requests affected by a rule.
/**
* Enable storing response bodies outside of renderer, so that these survive
a cross-process navigation. Requires maxTotalBufferSize to be set.
-Currently defaults to false.
+Currently defaults to false. This field is being deprecated in favor of the dedicated
+configureDurableMessages command, due to the possibility of deadlocks when awaiting
+Network.enable before issuing Runtime.runIfWaitingForDebugger.
*/
enableDurableMessages?: boolean;
}
export type enableReturnValue = {
}
+ /**
+ * Configures storing response bodies outside of renderer, so that these survive
+a cross-process navigation.
+If maxTotalBufferSize is not set, durable messages are disabled.
+ */
+ export type configureDurableMessagesParameters = {
+ /**
+ * Buffer size in bytes to use when preserving network payloads (XHRs, etc).
+ */
+ maxTotalBufferSize?: number;
+ /**
+ * Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
+ */
+ maxResourceBufferSize?: number;
+ }
+ export type configureDurableMessagesReturnValue = {
+ }
/**
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the `cookies` field.
@@ -12262,6 +12504,10 @@ the URLs of the page and all of its subframes.
* Request body string, omitting files from multipart requests
*/
postData: string;
+ /**
+ * True, if content was sent as base64.
+ */
+ base64Encoded: boolean;
}
/**
* Returns content served for the given currently intercepted request.
@@ -12551,6 +12797,32 @@ Enabling triggers 'reportingApiReportAdded' for all existing reports.
}
export type enableReportingApiReturnValue = {
}
+ /**
+ * Sets up tracking device bound sessions and fetching of initial set of sessions.
+ */
+ export type enableDeviceBoundSessionsParameters = {
+ /**
+ * Whether to enable or disable events.
+ */
+ enable: boolean;
+ }
+ export type enableDeviceBoundSessionsReturnValue = {
+ }
+ /**
+ * Fetches the schemeful site for a specific origin.
+ */
+ export type fetchSchemefulSiteParameters = {
+ /**
+ * The URL origin.
+ */
+ origin: string;
+ }
+ export type fetchSchemefulSiteReturnValue = {
+ /**
+ * The corresponding schemeful site.
+ */
+ schemefulSite: string;
+ }
/**
* Fetches the resource and returns the content.
*/
@@ -13660,7 +13932,7 @@ available.
in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
LINT.IfChange(PermissionsPolicyFeature)
*/
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network-access"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
+ export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network"|"local-network-access"|"loopback-network"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
/**
* Reason for a permissions policy feature to be disabled.
*/
@@ -18059,6 +18331,10 @@ Parts of the URL other than those constituting origin are ignored.
* An array of browser context ids.
*/
browserContextIds: Browser.BrowserContextID[];
+ /**
+ * The id of the default browser context if available.
+ */
+ defaultBrowserContextId?: Browser.BrowserContextID;
}
/**
* Creates a new page.
@@ -18490,6 +18766,17 @@ buffer wrapped around.
*/
categories: string[];
}
+ /**
+ * Return a descriptor for all available tracing categories.
+ */
+ export type getTrackEventDescriptorParameters = {
+ }
+ export type getTrackEventDescriptorReturnValue = {
+ /**
+ * Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
+ */
+ descriptor: binary;
+ }
/**
* Record a clock sync marker in the trace.
*/
@@ -21899,6 +22186,8 @@ Error was thrown.
"Network.reportingApiReportAdded": Network.reportingApiReportAddedPayload;
"Network.reportingApiReportUpdated": Network.reportingApiReportUpdatedPayload;
"Network.reportingApiEndpointsChangedForOrigin": Network.reportingApiEndpointsChangedForOriginPayload;
+ "Network.deviceBoundSessionsAdded": Network.deviceBoundSessionsAddedPayload;
+ "Network.deviceBoundSessionEventOccurred": Network.deviceBoundSessionEventOccurredPayload;
"Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
"Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
"Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;
@@ -22118,6 +22407,8 @@ Error was thrown.
["Network.reportingApiReportAdded"]: [Network.reportingApiReportAddedPayload];
["Network.reportingApiReportUpdated"]: [Network.reportingApiReportUpdatedPayload];
["Network.reportingApiEndpointsChangedForOrigin"]: [Network.reportingApiEndpointsChangedForOriginPayload];
+ ["Network.deviceBoundSessionsAdded"]: [Network.deviceBoundSessionsAddedPayload];
+ ["Network.deviceBoundSessionEventOccurred"]: [Network.deviceBoundSessionEventOccurredPayload];
["Overlay.inspectNodeRequested"]: [Overlay.inspectNodeRequestedPayload];
["Overlay.nodeHighlightRequested"]: [Overlay.nodeHighlightRequestedPayload];
["Overlay.screenshotRequested"]: [Overlay.screenshotRequestedPayload];
@@ -22567,6 +22858,7 @@ Error was thrown.
"Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleParameters;
"Network.overrideNetworkState": Network.overrideNetworkStateParameters;
"Network.enable": Network.enableParameters;
+ "Network.configureDurableMessages": Network.configureDurableMessagesParameters;
"Network.getAllCookies": Network.getAllCookiesParameters;
"Network.getCertificate": Network.getCertificateParameters;
"Network.getCookies": Network.getCookiesParameters;
@@ -22588,6 +22880,8 @@ Error was thrown.
"Network.streamResourceContent": Network.streamResourceContentParameters;
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
"Network.enableReportingApi": Network.enableReportingApiParameters;
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsParameters;
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteParameters;
"Network.loadNetworkResource": Network.loadNetworkResourceParameters;
"Network.setCookieControls": Network.setCookieControlsParameters;
"Overlay.disable": Overlay.disableParameters;
@@ -22775,6 +23069,7 @@ Error was thrown.
"Tethering.unbind": Tethering.unbindParameters;
"Tracing.end": Tracing.endParameters;
"Tracing.getCategories": Tracing.getCategoriesParameters;
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorParameters;
"Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerParameters;
"Tracing.requestMemoryDump": Tracing.requestMemoryDumpParameters;
"Tracing.start": Tracing.startParameters;
@@ -23213,6 +23508,7 @@ Error was thrown.
"Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleReturnValue;
"Network.overrideNetworkState": Network.overrideNetworkStateReturnValue;
"Network.enable": Network.enableReturnValue;
+ "Network.configureDurableMessages": Network.configureDurableMessagesReturnValue;
"Network.getAllCookies": Network.getAllCookiesReturnValue;
"Network.getCertificate": Network.getCertificateReturnValue;
"Network.getCookies": Network.getCookiesReturnValue;
@@ -23234,6 +23530,8 @@ Error was thrown.
"Network.streamResourceContent": Network.streamResourceContentReturnValue;
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
"Network.enableReportingApi": Network.enableReportingApiReturnValue;
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsReturnValue;
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteReturnValue;
"Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
"Network.setCookieControls": Network.setCookieControlsReturnValue;
"Overlay.disable": Overlay.disableReturnValue;
@@ -23421,6 +23719,7 @@ Error was thrown.
"Tethering.unbind": Tethering.unbindReturnValue;
"Tracing.end": Tracing.endReturnValue;
"Tracing.getCategories": Tracing.getCategoriesReturnValue;
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorReturnValue;
"Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerReturnValue;
"Tracing.requestMemoryDump": Tracing.requestMemoryDumpReturnValue;
"Tracing.start": Tracing.startReturnValue;