playwright
playwright copied to clipboard
[internal] msedge dev/headless on windows does not launch anymore
Good: 105.0.1329.1 Bad: 105.0.1336.2
https://github.com/microsoft/playwright/runs/7638739279?check_suite_focus=true
Repro:
npm init -ynpm install @playwright/test- create the script
node test.js
script:
const { chromium } = require('@playwright/test');
(async () => {
const browser = await chromium.launch({
channel: 'msedge-dev',
// for custom executable:
// executablePath: 'foobar.exe'
});
// Create pages, interact with UI elements, assert values
const page = await browser.newPage();
await page.goto("https://github.com");
await browser.close();
})();
Expected: Script works, browsers started, CDP session gets established. Actual: Script does not work, browser starts but terminates instantly, CDP session does not get established, pipe closes.
Repro without Playwright
msedge.exe --enable-logging --v=1 --screenshot --headless
Issue identified and gets fixed soon, @ bwalderman @ chrdavis are contact persons for the future.
Relates https://github.com/microsoft/playwright/issues/13490
Its green again.