Open cavoirom opened 1 year ago
Hi, thx pointing out this...
A workaround that is working until PR is merged:
is to set this in deno.json
's imports:
"imports": {
"path": "node:path",
"fs": "node:fs",
"puppeteer": "https://deno.land/x/puppeteer@16.2.0/mod.ts"
}
The
puppeteer-core
is depending on Node.js. We got error: JSHandle#uploadFile can only be used in Node-like environments when we want to upload file using puppeteer.deno v1.30 provides
node:
specifier to use in this case.We have an open issue regarded to this PR: #62