mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
6 lines
186 B
JavaScript
6 lines
186 B
JavaScript
|
(async() => {
|
||
|
const [, , puppeteerRoot, options] = process.argv;
|
||
|
const browser = await require(puppeteerRoot).launch(JSON.parse(options));
|
||
|
console.log(browser.wsEndpoint());
|
||
|
})();
|