fix(chromium): disable use-zoom-for-dsf (#7407)
This commit is contained in:
parent
1d04114df0
commit
9264a8d5b1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue