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(webkit): pass --headless only on Mac (#135)
Yury Semikhatsky3305363f2a85
diff --git a/src/webkit/Launcher.ts b/src/webkit/Launcher.tsindex 5ab63916c8..3b0b7516db 100644--- a/src/webkit/Launcher.ts+++ b/src/webkit/Launcher.ts@@ -77,7 +77,8 @@ export class Launcher {elsestdio = ['ignore', 'ignore', 'ignore', 'pipe', 'pipe'];webkitArguments.push('--inspector-pipe');- if (options.headless !== false)+ // Headless options is only implemented on Mac at the moment.+ if (process.platform === 'darwin' && options.headless !== false)webkitArguments.push('--headless');const webkitProcess = childProcess.spawn(webkitExecutable,