deno-puppeteer
deno-puppeteer copied to clipboard
A port of puppeteer running on Deno
Error: Uncaught ReferenceError: Buffer is not defined ? Buffer.from(postData).toString("base64") Reason: ```js //this happens when listening to the "request" event browser = await puppeteer.launch({headless:false}); const page = await browser.newPage(); page.setDefaultNavigationTimeout(0); page.setRequestInterception(true);...
Simple example: ```javascript import puppeteer from 'https://deno.land/x/[email protected]/mod.ts' const args = [`--window-size=${800},${600 + 74}`] const browser = await puppeteer.launch({ headless: true, slowMo: 50, args }) const page = await browser.newPage() await...
import Buffer from 'node:buffer'
**Deno info:** ```shell 🐉 >deno info DENO_DIR location: /Users/mateuszflisikowski/Library/Caches/deno Remote modules cache: /Users/mateuszflisikowski/Library/Caches/deno/deps npm modules cache: /Users/mateuszflisikowski/Library/Caches/deno/npm Emitted modules cache: /Users/mateuszflisikowski/Library/Caches/deno/gen Language server registries cache: /Users/mateuszflisikowski/Library/Caches/deno/registries Origin storage: /Users/mateuszflisikowski/Library/Caches/deno/location_data ```...
getting the following error message: "NetworkError: failed to connect to WebSocket: Invalid status code" is this supported? (same code works with npm:puppeteer:core) ```ts export const extractVisibleTextFromUrl = async ( url:...
HI I Just fixed the buffer issue mentoined on #76
Using esm.sh imports without the /v* path part after it causes esm.sh to return arbitrary import statements that changes over time. This commit fixes the import path so that it...
I'm getting errors while installing deno-puppeteer. ``` ❯ deno run -A install.ts error: invalid data at file:///Users/ricardo/code/deno-puppeteer/vendor/puppeteer-core/vendor/zip/mod.ts:1:20 ``` Issue solved by bump [email protected] Uncertain if this is the root cause,...
Hi ! I found a weird bug : this error, that occurs in a timeout is not catchable with a try/catch clause around `puppeteer.launch`. ```js let browser try { browser...
Using https://github.com/guifromrio/puppeteer_on_deploy/blob/main/main.tsx crasches the app when closing. ``` error: Uncaught ErrorEvent { bubbles: false, cancelable: false, composed: false, currentTarget: null, defaultPrevented: false, eventPhase: 0, srcElement: null, target: WebSocket { url:...