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 r1081 (#27080)

Playwright Service57e518380947
diff --git a/README.md b/README.md
index e84950d980..301d2bde6e 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-117.0.5938.62-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-117.0-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-17.0-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
+[![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-118.0.5993.11-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-117.0-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-17.0-blue.svg?logo=safari)](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 -->117.0.5938.62<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+| Chromium <!-- GEN:chromium-version -->118.0.5993.11<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->17.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->117.0<!-- 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 f7eb8e01e7..f4b9295adc 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -3,15 +3,15 @@
"browsers": [
{
"name": "chromium",
- "revision": "1080",
+ "revision": "1081",
"installByDefault": true,
- "browserVersion": "117.0.5938.62"
+ "browserVersion": "118.0.5993.11"
},
{
"name": "chromium-with-symbols",
- "revision": "1080",
+ "revision": "1081",
"installByDefault": false,
- "browserVersion": "117.0.5938.62"
+ "browserVersion": "118.0.5993.11"
},
{
"name": "chromium-tip-of-tree",
diff --git a/packages/playwright-core/src/server/chromium/protocol.d.ts b/packages/playwright-core/src/server/chromium/protocol.d.ts
index 6844769c84..9b57ffd6d2 100644
--- a/packages/playwright-core/src/server/chromium/protocol.d.ts
+++ b/packages/playwright-core/src/server/chromium/protocol.d.ts
@@ -1074,17 +1074,82 @@ using Audits.issueAdded event.
*/
name: string;
/**
- * address field name, for example Jon Doe.
+ * address field value, for example Jon Doe.
*/
value: string;
}
+ /**
+ * A list of address fields.
+ */
+ export interface AddressFields {
+ fields: AddressField[];
+ }
export interface Address {
/**
- * fields and values defining a test address.
+ * fields and values defining an address.
*/
fields: AddressField[];
}
+ /**
+ * Defines how an address can be displayed like in chrome://settings/addresses.
+Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such.
+The following address UI for instance:
+[[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]]
+should allow the receiver to render:
+Jon Doe
+Munich 81456
+ */
+ export interface AddressUI {
+ /**
+ * A two dimension array containing the repesentation of values from an address profile.
+ */
+ addressFields: AddressFields[];
+ }
+ /**
+ * Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.
+ */
+ export type FillingStrategy = "autocompleteAttribute"|"autofillInferred";
+ export interface FilledField {
+ /**
+ * The type of the field, e.g text, password etc.
+ */
+ htmlType: string;
+ /**
+ * the html id
+ */
+ id: string;
+ /**
+ * the html name
+ */
+ name: string;
+ /**
+ * the field value
+ */
+ value: string;
+ /**
+ * The actual field type, e.g FAMILY_NAME
+ */
+ autofillType: string;
+ /**
+ * The filling strategy
+ */
+ fillingStrategy: FillingStrategy;
+ }
+ /**
+ * Emitted when an address form is filled.
+ */
+ export type addressFormFilledPayload = {
+ /**
+ * Information about the fields that were filled
+ */
+ filledFields: FilledField[];
+ /**
+ * An UI representation of the address used to fill the form.
+Consists of a 2D array where each child represents an address/profile line.
+ */
+ addressUi: AddressUI;
+ }
/**
* Trigger autofill on a form identified by the fieldId.
@@ -1114,6 +1179,20 @@ If the field and related form cannot be autofilled, returns an error.
}
export type setAddressesReturnValue = {
}
+ /**
+ * Disables autofill domain notifications.
+ */
+ export type disableParameters = {
+ }
+ export type disableReturnValue = {
+ }
+ /**
+ * Enables autofill domain notifications.
+ */
+ export type enableParameters = {
+ }
+ export type enableReturnValue = {
+ }
}
/**
@@ -2345,6 +2424,37 @@ stylesheet rules) this rule came from.
*/
keyframes: CSSKeyframeRule[];
}
+ /**
+ * Representation of a custom property registration through CSS.registerProperty
+ */
+ export interface CSSPropertyRegistration {
+ propertyName: string;
+ initialValue?: Value;
+ inherits: boolean;
+ syntax: string;
+ }
+ /**
+ * CSS property at-rule representation.
+ */
+ export interface CSSPropertyRule {
+ /**
+ * The css style sheet identifier (absent for user agent stylesheet and user-specified
+stylesheet rules) this rule came from.
+ */
+ styleSheetId?: StyleSheetId;
+ /**
+ * Parent stylesheet's origin.
+ */
+ origin: StyleSheetOrigin;
+ /**
+ * Associated property name.
+ */
+ propertyName: Value;
+ /**
+ * Associated style declaration.
+ */
+ style: CSSStyle;
+ }
/**
* CSS keyframe rule representation.
*/
@@ -2600,6 +2710,14 @@ attributes) for a DOM node identified by `nodeId`.
* A list of CSS position fallbacks matching this node.
*/
cssPositionFallbackRules?: CSSPositionFallbackRule[];
+ /**
+ * A list of CSS at-property rules matching this node.
+ */
+ cssPropertyRules?: CSSPropertyRule[];
+ /**
+ * A list of CSS property registrations matching this node.
+ */
+ cssPropertyRegistrations?: CSSPropertyRegistration[];
/**
* Id of the first parent element that does not have display: contents.
*/
@@ -10633,7 +10751,7 @@ as an ad.
* All Permissions Policy features. This enum should match the one defined
in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
*/
- export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factor"|"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"|"cross-origin-isolated"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"storage-access"|"sync-xhr"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-management"|"window-placement"|"xr-spatial-tracking";
+ export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factor"|"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"|"cross-origin-isolated"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"storage-access"|"sync-xhr"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-management"|"window-placement"|"xr-spatial-tracking";
/**
* Reason for a permissions policy feature to be disabled.
*/
@@ -13225,6 +13343,16 @@ SharedStorageAccessType.workletSet.
key: string;
value: UnsignedInt128AsBase16;
}
+ export interface AttributionReportingEventReportWindows {
+ /**
+ * duration in seconds
+ */
+ start: number;
+ /**
+ * duration in seconds
+ */
+ ends: number[];
+ }
export interface AttributionReportingSourceRegistration {
time: Network.TimeSinceEpoch;
/**
@@ -13232,9 +13360,11 @@ SharedStorageAccessType.workletSet.
*/
expiry?: number;
/**
- * duration in seconds
+ * eventReportWindow and eventReportWindows are mutually exclusive
+duration in seconds
*/
eventReportWindow?: number;
+ eventReportWindows?: AttributionReportingEventReportWindows;
/**
* duration in seconds
*/
@@ -15903,7 +16033,7 @@ whether this account has ever been used to sign in to this RP before.
/**
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
*/
- export type DialogType = "AccountChooser"|"AutoReauthn";
+ export type DialogType = "AccountChooser"|"AutoReauthn"|"ConfirmIdpSignin";
/**
* Corresponds to IdentityRequestAccount
*/
@@ -15955,6 +16085,15 @@ normally happen, if this is unimportant to what's being tested.
}
export type selectAccountReturnValue = {
}
+ /**
+ * Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had
+clicked the continue button.
+ */
+ export type confirmIdpSigninParameters = {
+ dialogId: string;
+ }
+ export type confirmIdpSigninReturnValue = {
+ }
export type dismissDialogParameters = {
dialogId: string;
triggerCooldown?: boolean;
@@ -18630,6 +18769,7 @@ Error was thrown.
"Animation.animationCreated": Animation.animationCreatedPayload;
"Animation.animationStarted": Animation.animationStartedPayload;
"Audits.issueAdded": Audits.issueAddedPayload;
+ "Autofill.addressFormFilled": Autofill.addressFormFilledPayload;
"BackgroundService.recordingStateChanged": BackgroundService.recordingStateChangedPayload;
"BackgroundService.backgroundServiceEventReceived": BackgroundService.backgroundServiceEventReceivedPayload;
"Browser.downloadWillBegin": Browser.downloadWillBeginPayload;
@@ -18837,6 +18977,8 @@ Error was thrown.
"Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;
"Autofill.trigger": Autofill.triggerParameters;
"Autofill.setAddresses": Autofill.setAddressesParameters;
+ "Autofill.disable": Autofill.disableParameters;
+ "Autofill.enable": Autofill.enableParameters;
"BackgroundService.startObserving": BackgroundService.startObservingParameters;
"BackgroundService.stopObserving": BackgroundService.stopObservingParameters;
"BackgroundService.setRecording": BackgroundService.setRecordingParameters;
@@ -19298,6 +19440,7 @@ Error was thrown.
"FedCm.enable": FedCm.enableParameters;
"FedCm.disable": FedCm.disableParameters;
"FedCm.selectAccount": FedCm.selectAccountParameters;
+ "FedCm.confirmIdpSignin": FedCm.confirmIdpSigninParameters;
"FedCm.dismissDialog": FedCm.dismissDialogParameters;
"FedCm.resetCooldown": FedCm.resetCooldownParameters;
"Console.clearMessages": Console.clearMessagesParameters;
@@ -19407,6 +19550,8 @@ Error was thrown.
"Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;
"Autofill.trigger": Autofill.triggerReturnValue;
"Autofill.setAddresses": Autofill.setAddressesReturnValue;
+ "Autofill.disable": Autofill.disableReturnValue;
+ "Autofill.enable": Autofill.enableReturnValue;
"BackgroundService.startObserving": BackgroundService.startObservingReturnValue;
"BackgroundService.stopObserving": BackgroundService.stopObservingReturnValue;
"BackgroundService.setRecording": BackgroundService.setRecordingReturnValue;
@@ -19868,6 +20013,7 @@ Error was thrown.
"FedCm.enable": FedCm.enableReturnValue;
"FedCm.disable": FedCm.disableReturnValue;
"FedCm.selectAccount": FedCm.selectAccountReturnValue;
+ "FedCm.confirmIdpSignin": FedCm.confirmIdpSigninReturnValue;
"FedCm.dismissDialog": FedCm.dismissDialogReturnValue;
"FedCm.resetCooldown": FedCm.resetCooldownReturnValue;
"Console.clearMessages": Console.clearMessagesReturnValue;
diff --git a/packages/playwright-core/src/server/deviceDescriptorsSource.json b/packages/playwright-core/src/server/deviceDescriptorsSource.json
index 6b90cb4aed..e02244a7a6 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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 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/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"viewport": {
"width": 1138,
"height": 712
@@ -978,7 +978,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@@ -989,7 +989,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@@ -1000,7 +1000,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@@ -1011,7 +1011,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@@ -1022,7 +1022,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@@ -1033,7 +1033,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@@ -1044,7 +1044,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/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"viewport": {
"width": 800,
"height": 1280
@@ -1055,7 +1055,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/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"viewport": {
"width": 1280,
"height": 800
@@ -1066,7 +1066,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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@@ -1077,7 +1077,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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@@ -1088,7 +1088,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -1099,7 +1099,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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@@ -1110,7 +1110,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -1121,7 +1121,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -1132,7 +1132,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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -1143,7 +1143,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/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -1154,7 +1154,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -1165,7 +1165,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -1176,7 +1176,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/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"viewport": {
"width": 600,
"height": 960
@@ -1187,7 +1187,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/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"viewport": {
"width": 960,
"height": 600
@@ -1242,7 +1242,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 731
@@ -1253,7 +1253,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 731,
"height": 411
@@ -1264,7 +1264,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 823
@@ -1275,7 +1275,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 823,
"height": 411
@@ -1286,7 +1286,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 393,
"height": 786
@@ -1297,7 +1297,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/117.0.5938.62 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/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 786,
"height": 393
@@ -1308,7 +1308,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 353,
"height": 745
@@ -1319,7 +1319,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 745,
"height": 353
@@ -1330,7 +1330,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G)": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"screen": {
"width": 412,
"height": 892
@@ -1345,7 +1345,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G) landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"screen": {
"height": 892,
"width": 412
@@ -1360,7 +1360,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"screen": {
"width": 393,
"height": 851
@@ -1375,7 +1375,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"screen": {
"width": 851,
"height": 393
@@ -1390,7 +1390,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -1401,7 +1401,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@@ -1412,7 +1412,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Chrome HiDPI": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"screen": {
"width": 1792,
"height": 1120
@@ -1427,7 +1427,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Edge HiDPI": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Safari/537.36 Edg/117.0.5938.62",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36 Edg/118.0.5993.11",
"screen": {
"width": 1792,
"height": 1120
@@ -1472,7 +1472,7 @@
"defaultBrowserType": "webkit"
},
"Desktop Chrome": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36",
"screen": {
"width": 1920,
"height": 1080
@@ -1487,7 +1487,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Edge": {
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Safari/537.36 Edg/117.0.5938.62",
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.11 Safari/537.36 Edg/118.0.5993.11",
"screen": {
"width": 1920,
"height": 1080
diff --git a/packages/playwright-core/types/protocol.d.ts b/packages/playwright-core/types/protocol.d.ts
index 6844769c84..9b57ffd6d2 100644
--- a/packages/playwright-core/types/protocol.d.ts
+++ b/packages/playwright-core/types/protocol.d.ts
@@ -1074,17 +1074,82 @@ using Audits.issueAdded event.
*/
name: string;
/**
- * address field name, for example Jon Doe.
+ * address field value, for example Jon Doe.
*/
value: string;
}
+ /**
+ * A list of address fields.
+ */
+ export interface AddressFields {
+ fields: AddressField[];
+ }
export interface Address {
/**
- * fields and values defining a test address.
+ * fields and values defining an address.
*/
fields: AddressField[];
}
+ /**
+ * Defines how an address can be displayed like in chrome://settings/addresses.
+Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such.
+The following address UI for instance:
+[[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]]
+should allow the receiver to render:
+Jon Doe
+Munich 81456
+ */
+ export interface AddressUI {
+ /**
+ * A two dimension array containing the repesentation of values from an address profile.
+ */
+ addressFields: AddressFields[];
+ }
+ /**
+ * Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.
+ */
+ export type FillingStrategy = "autocompleteAttribute"|"autofillInferred";
+ export interface FilledField {
+ /**
+ * The type of the field, e.g text, password etc.
+ */
+ htmlType: string;
+ /**
+ * the html id
+ */
+ id: string;
+ /**
+ * the html name
+ */
+ name: string;
+ /**
+ * the field value
+ */
+ value: string;
+ /**
+ * The actual field type, e.g FAMILY_NAME
+ */
+ autofillType: string;
+ /**
+ * The filling strategy
+ */
+ fillingStrategy: FillingStrategy;
+ }
+ /**
+ * Emitted when an address form is filled.
+ */
+ export type addressFormFilledPayload = {
+ /**
+ * Information about the fields that were filled
+ */
+ filledFields: FilledField[];
+ /**
+ * An UI representation of the address used to fill the form.
+Consists of a 2D array where each child represents an address/profile line.
+ */
+ addressUi: AddressUI;
+ }
/**
* Trigger autofill on a form identified by the fieldId.
@@ -1114,6 +1179,20 @@ If the field and related form cannot be autofilled, returns an error.
}
export type setAddressesReturnValue = {
}
+ /**
+ * Disables autofill domain notifications.
+ */
+ export type disableParameters = {
+ }
+ export type disableReturnValue = {
+ }
+ /**
+ * Enables autofill domain notifications.
+ */
+ export type enableParameters = {
+ }
+ export type enableReturnValue = {
+ }
}
/**
@@ -2345,6 +2424,37 @@ stylesheet rules) this rule came from.
*/
keyframes: CSSKeyframeRule[];
}
+ /**
+ * Representation of a custom property registration through CSS.registerProperty
+ */
+ export interface CSSPropertyRegistration {
+ propertyName: string;
+ initialValue?: Value;
+ inherits: boolean;
+ syntax: string;
+ }
+ /**
+ * CSS property at-rule representation.
+ */
+ export interface CSSPropertyRule {
+ /**
+ * The css style sheet identifier (absent for user agent stylesheet and user-specified
+stylesheet rules) this rule came from.
+ */
+ styleSheetId?: StyleSheetId;
+ /**
+ * Parent stylesheet's origin.
+ */
+ origin: StyleSheetOrigin;
+ /**
+ * Associated property name.
+ */
+ propertyName: Value;
+ /**
+ * Associated style declaration.
+ */
+ style: CSSStyle;
+ }
/**
* CSS keyframe rule representation.
*/
@@ -2600,6 +2710,14 @@ attributes) for a DOM node identified by `nodeId`.
* A list of CSS position fallbacks matching this node.
*/
cssPositionFallbackRules?: CSSPositionFallbackRule[];
+ /**
+ * A list of CSS at-property rules matching this node.
+ */
+ cssPropertyRules?: CSSPropertyRule[];
+ /**
+ * A list of CSS property registrations matching this node.
+ */
+ cssPropertyRegistrations?: CSSPropertyRegistration[];
/**
* Id of the first parent element that does not have display: contents.
*/
@@ -10633,7 +10751,7 @@ as an ad.
* All Permissions Policy features. This enum should match the one defined
in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
*/
- export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factor"|"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"|"cross-origin-isolated"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"storage-access"|"sync-xhr"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-management"|"window-placement"|"xr-spatial-tracking";
+ export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factor"|"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"|"cross-origin-isolated"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"storage-access"|"sync-xhr"|"unload"|"usb"|"vertical-scroll"|"web-share"|"window-management"|"window-placement"|"xr-spatial-tracking";
/**
* Reason for a permissions policy feature to be disabled.
*/
@@ -13225,6 +13343,16 @@ SharedStorageAccessType.workletSet.
key: string;
value: UnsignedInt128AsBase16;
}
+ export interface AttributionReportingEventReportWindows {
+ /**
+ * duration in seconds
+ */
+ start: number;
+ /**
+ * duration in seconds
+ */
+ ends: number[];
+ }
export interface AttributionReportingSourceRegistration {
time: Network.TimeSinceEpoch;
/**
@@ -13232,9 +13360,11 @@ SharedStorageAccessType.workletSet.
*/
expiry?: number;
/**
- * duration in seconds
+ * eventReportWindow and eventReportWindows are mutually exclusive
+duration in seconds
*/
eventReportWindow?: number;
+ eventReportWindows?: AttributionReportingEventReportWindows;
/**
* duration in seconds
*/
@@ -15903,7 +16033,7 @@ whether this account has ever been used to sign in to this RP before.
/**
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
*/
- export type DialogType = "AccountChooser"|"AutoReauthn";
+ export type DialogType = "AccountChooser"|"AutoReauthn"|"ConfirmIdpSignin";
/**
* Corresponds to IdentityRequestAccount
*/
@@ -15955,6 +16085,15 @@ normally happen, if this is unimportant to what's being tested.
}
export type selectAccountReturnValue = {
}
+ /**
+ * Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had
+clicked the continue button.
+ */
+ export type confirmIdpSigninParameters = {
+ dialogId: string;
+ }
+ export type confirmIdpSigninReturnValue = {
+ }
export type dismissDialogParameters = {
dialogId: string;
triggerCooldown?: boolean;
@@ -18630,6 +18769,7 @@ Error was thrown.
"Animation.animationCreated": Animation.animationCreatedPayload;
"Animation.animationStarted": Animation.animationStartedPayload;
"Audits.issueAdded": Audits.issueAddedPayload;
+ "Autofill.addressFormFilled": Autofill.addressFormFilledPayload;
"BackgroundService.recordingStateChanged": BackgroundService.recordingStateChangedPayload;
"BackgroundService.backgroundServiceEventReceived": BackgroundService.backgroundServiceEventReceivedPayload;
"Browser.downloadWillBegin": Browser.downloadWillBeginPayload;
@@ -18837,6 +18977,8 @@ Error was thrown.
"Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;
"Autofill.trigger": Autofill.triggerParameters;
"Autofill.setAddresses": Autofill.setAddressesParameters;
+ "Autofill.disable": Autofill.disableParameters;
+ "Autofill.enable": Autofill.enableParameters;
"BackgroundService.startObserving": BackgroundService.startObservingParameters;
"BackgroundService.stopObserving": BackgroundService.stopObservingParameters;
"BackgroundService.setRecording": BackgroundService.setRecordingParameters;
@@ -19298,6 +19440,7 @@ Error was thrown.
"FedCm.enable": FedCm.enableParameters;
"FedCm.disable": FedCm.disableParameters;
"FedCm.selectAccount": FedCm.selectAccountParameters;
+ "FedCm.confirmIdpSignin": FedCm.confirmIdpSigninParameters;
"FedCm.dismissDialog": FedCm.dismissDialogParameters;
"FedCm.resetCooldown": FedCm.resetCooldownParameters;
"Console.clearMessages": Console.clearMessagesParameters;
@@ -19407,6 +19550,8 @@ Error was thrown.
"Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;
"Autofill.trigger": Autofill.triggerReturnValue;
"Autofill.setAddresses": Autofill.setAddressesReturnValue;
+ "Autofill.disable": Autofill.disableReturnValue;
+ "Autofill.enable": Autofill.enableReturnValue;
"BackgroundService.startObserving": BackgroundService.startObservingReturnValue;
"BackgroundService.stopObserving": BackgroundService.stopObservingReturnValue;
"BackgroundService.setRecording": BackgroundService.setRecordingReturnValue;
@@ -19868,6 +20013,7 @@ Error was thrown.
"FedCm.enable": FedCm.enableReturnValue;
"FedCm.disable": FedCm.disableReturnValue;
"FedCm.selectAccount": FedCm.selectAccountReturnValue;
+ "FedCm.confirmIdpSignin": FedCm.confirmIdpSigninReturnValue;
"FedCm.dismissDialog": FedCm.dismissDialogReturnValue;
"FedCm.resetCooldown": FedCm.resetCooldownReturnValue;
"Console.clearMessages": Console.clearMessagesReturnValue;