0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/test/fixtures/closeme.js

6 lines
187 B
JavaScript
Raw Normal View History

2020-05-07 10:54:55 +00:00
(async () => {
const [, , puppeteerRoot, options] = process.argv;
const browser = await require(puppeteerRoot).launch(JSON.parse(options));
console.log(browser.wsEndpoint());
})();