From 71fbbb716e8c3e3af2b05665dd4b4b778f6daa64 Mon Sep 17 00:00:00 2001 From: Holger Benl Date: Mon, 6 Jul 2026 22:17:54 +0200 Subject: [PATCH 1/2] chore(bidi): fix Enter key (#41638) --- .../playwright-core/src/server/bidi/third_party/bidiKeyboard.ts | 2 ++ tests/bidi/expectations/moz-firefox-nightly-page.txt | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/playwright-core/src/server/bidi/third_party/bidiKeyboard.ts b/packages/playwright-core/src/server/bidi/third_party/bidiKeyboard.ts index b4feff3b4d1e4..75f6578b2adbc 100644 --- a/packages/playwright-core/src/server/bidi/third_party/bidiKeyboard.ts +++ b/packages/playwright-core/src/server/bidi/third_party/bidiKeyboard.ts @@ -32,6 +32,8 @@ export const getBidiKeyValue = (keyName: string) => { case 'Clear': return '\uE005'; case 'Enter': + return '\uE006'; + case 'NumpadEnter': return '\uE007'; case 'Shift': case 'ShiftLeft': diff --git a/tests/bidi/expectations/moz-firefox-nightly-page.txt b/tests/bidi/expectations/moz-firefox-nightly-page.txt index 69c58a9bbeebc..487d2f75c07c4 100644 --- a/tests/bidi/expectations/moz-firefox-nightly-page.txt +++ b/tests/bidi/expectations/moz-firefox-nightly-page.txt @@ -102,7 +102,6 @@ page/page-history.spec.ts › goBack/goForward should work with bfcache-able pag page/page-history.spec.ts › page.goBack should work for file urls [timeout] page/page-history.spec.ts › regression test for issue 20791 [flaky] page/page-keyboard.spec.ts › insertText should only emit input event [fail] -page/page-keyboard.spec.ts › should press Enter [fail] page/page-keyboard.spec.ts › should press audio and media control keys [fail] page/page-keyboard.spec.ts › should send a character with insertText [fail] page/page-mouse.spec.ts › should always round down [fail] From ac0e09da440dc1e1ec52e50d9cddd4423f8c55cf Mon Sep 17 00:00:00 2001 From: "microsoft-playwright-automation[bot]" <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 13:21:46 -0700 Subject: [PATCH 2/2] feat(webkit): roll to r2323 (#41606) --- packages/playwright-core/browsers.json | 2 +- packages/playwright-core/src/server/webkit/protocol.d.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index d6cb3095de8f7..87575d0c8996d 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -45,7 +45,7 @@ }, { "name": "webkit", - "revision": "2322", + "revision": "2323", "installByDefault": true, "revisionOverrides": { "mac14": "2251", diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.ts index b151af05aa14d..33a8e5dcc0841 100644 --- a/packages/playwright-core/src/server/webkit/protocol.d.ts +++ b/packages/playwright-core/src/server/webkit/protocol.d.ts @@ -7165,6 +7165,10 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the * Cookie Same-Site policy. */ sameSite: CookieSameSitePolicy; + /** + * Cookie partition key for partitioned (CHIPS) cookies. + */ + partitionKey?: string; } /** * Cookie object @@ -7206,6 +7210,10 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the * Cookie Same-Site policy. */ sameSite?: CookieSameSitePolicy; + /** + * Cookie partition key for partitioned (CHIPS) cookies. + */ + partitionKey?: string; } /** * Name-value pair