Skip to content

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

fix(chromium): refer to x86 and x86_64 as "x86" arch (#36193)

Adam Gastineau0b2f80be490b
diff --git a/packages/playwright-core/src/server/chromium/crPage.ts b/packages/playwright-core/src/server/chromium/crPage.ts
index 5800a23201..6a9f4d6613 100644
--- a/packages/playwright-core/src/server/chromium/crPage.ts
+++ b/packages/playwright-core/src/server/chromium/crPage.ts
@@ -1216,7 +1216,7 @@ function calculateUserAgentMetadata(options: types.BrowserContextOptions) {
const metadata: Protocol.Emulation.UserAgentMetadata = {
mobile: !!options.isMobile,
model: '',
- architecture: 'x64',
+ architecture: 'x86',
platform: 'Windows',
platformVersion: '',
};