Update wkLauncher.ts

This commit is contained in:
Pavel Feldman 2020-01-07 15:33:18 -08:00 committed by GitHub
parent 47add88567
commit ee82b88c22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ export class WKLauncher {
}
webkitArguments.push('--inspector-pipe');
// Headless options is only implemented on Mac at the moment.
// if (process.platform === 'darwin' && options.headless !== false)
if (process.platform === 'darwin' && options.headless !== false)
webkitArguments.push('--headless');
const launchedProcess = await launchProcess({