Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(chromium): disable use-zoom-for-dsf (#7407)
Joel Einbinder9264a8d5b18c
diff --git a/src/server/chromium/chromium.ts b/src/server/chromium/chromium.tsindex 44429c1750..799dd5163e 100644--- a/src/server/chromium/chromium.ts+++ b/src/server/chromium/chromium.ts@@ -151,6 +151,11 @@ export class Chromium extends BrowserType {throw new Error('Arguments can not specify page to be opened');const chromeArguments = [...DEFAULT_ARGS];chromeArguments.push(`--user-data-dir=${userDataDir}`);++ // See https://github.com/microsoft/playwright/issues/7362+ if (os.platform() === 'darwin')+ chromeArguments.push('--enable-use-zoom-for-dsf=false');+if (options.useWebSocket)chromeArguments.push('--remote-debugging-port=0');else