A port of puppeteer running on Deno
``` deno 1.7.0 (release, x86_64-apple-darwin) v8 8.9.255.3 typescript 4.1.3 ``` I ran: ``` PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/[email protected]/install.ts ``` Which completed successfully. I then tested the example: ```javascript import puppeteer from "https://deno.land/x/[email protected]/mod.ts"; const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto("https://example.com"); await page.screenshot({ path: "example.png" }); await browser.close(); ``` But it throws an error: ```bash λ deno run -A --unstable ./example.js error: Uncaught (in promise) Error: Protocol error (Target.setDiscoverTargets): Target closed. this._callbacks.set(id, { resolve, reject, error: new Error(), method }); ^ at https://deno.land/x/[email protected]/vendor/puppeteer-core/puppeteer/common/Connection.js:69:57 at new Promise (<anonymous>) at Connection.send (https://deno.land/x/[email protected]/vendor/puppeteer-core/puppeteer/common/Connection.js:68:12) at Function.create (https://deno.land/x/[email protected]/vendor/puppeteer-core/puppeteer/common/Browser.js:127:22) at ChromeLauncher.launch (Launcher.ts:113:37) at async file:///Users/luke/Desktop/example.js:3:17 ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by LukeChannings and has received 6 comments.