puppeteer/test/fixtures/closeme.js
2020-05-07 12:54:55 +02:00

6 lines
187 B
JavaScript

(async () => {
const [, , puppeteerRoot, options] = process.argv;
const browser = await require(puppeteerRoot).launch(JSON.parse(options));
console.log(browser.wsEndpoint());
})();