playwright/test/fixtures/closeme.js
2019-12-19 14:51:49 -08:00

6 lines
206 B
JavaScript

(async() => {
const [, , playwrightRoot, options] = process.argv;
const browserServer = await require(playwrightRoot).launchServer(JSON.parse(options));
console.log(browserServer.wsEndpoint());
})();