2019-11-19 03:18:28 +01:00
|
|
|
(async() => {
|
2020-01-14 02:36:46 +01:00
|
|
|
const [, , playwrightRoot, product, options] = process.argv;
|
|
|
|
|
const browserServer = await require(playwrightRoot)[product.toLowerCase()].launchServer(JSON.parse(options));
|
2019-12-19 23:51:49 +01:00
|
|
|
console.log(browserServer.wsEndpoint());
|
2019-11-19 03:18:28 +01:00
|
|
|
})();
|