diff --git a/src/plugins.ts b/src/plugins.ts index 9fb356d9..7bda3c51 100644 --- a/src/plugins.ts +++ b/src/plugins.ts @@ -8,6 +8,7 @@ const initForceDeviceScaleFactor = (on: Cypress.PluginEvents) => { if (browser.name === "chrome" || browser.name === "chromium") { launchOptions.args.push("--force-device-scale-factor=1"); launchOptions.args.push("--high-dpi-support=1"); + return launchOptions; } else if (browser.name === "electron" && browser.isHeaded) { // eslint-disable-next-line no-console console.log(