A port of puppeteer running on Deno
Running both the scripts in the examples given in the readme I get the following error: error: Uncaught (in promise) BadResource: Bad resource ID at processResponse (deno:core/core.js:212:11) at jsonOpSync (deno:core/core.js:236:12) at Object.close (deno:core/core.js:252:5) at WebSocket.#eventLoop (deno:op_crates/websocket/01_websocket.js:368:18) For this example the following code was used but the error is given every time I run the `await browser.close()` command. ``` typescript 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(); ``` The screenshot does get saved so the problem really seems to be once puppeteer is finished.
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 ddorstijn and has received 1 comments.