8,089 questions
0
votes
1
answer
44
views
Mismatch between Puppeteer remote object id and Chrome dev tools object Id
I'm trying to use Puppeteer to find elements on a page with a click handler. Doing this is not possible using Puppeteer directly, but Puppeteer exposes the Chrome Devtools Protocol which allows me to ...
0
votes
0
answers
19
views
Puppeteer Core and Sparticuz stops at browser launch when deployed
When I deploy my Puppeteer core Node.js in serverless function, it doesn't work and works properly in local because I am using puppeteer base.
"puppeteer-core": "^21.3.8"
"@...
0
votes
0
answers
24
views
Custom TTF Font not applying in Puppeteer PDF [closed]
I'm trying to generate a Bangla PDF using Puppeteer in a Next.js App Router project. I’m using a .ttf font (Nikosh.ttf) placed in public/fonts/. The generated PDF is always rendered with a fallback ...
0
votes
0
answers
37
views
Puppeteer launch fails with "req.on is not a function" in AWS ECS but works locally
Environment
Puppeteer: ^24.14.0
Node-RED: latest (from nodered/node-red Docker image)
Docker on Alpine Linux
Works locally in Docker, fails in AWS ECS (both Fargate and EC2)
Error
TypeError: req.on is ...
0
votes
1
answer
57
views
JS execution slower in built chromium binary compared to downloaded chromium binary
I am using puppeteer to run a bunch of JS to process HTML files in headless chromium. I noticed that when I use the Chromium binary downloaded from https://storage.googleapis.com/chromium-browser-...
-1
votes
2
answers
45
views
Puppeteer can't access var doc in javascript
I am trying to scrape a web page using puppeteer, however, I can't access var doc with puppeteer. Although I can see it in the source page of my web browser
var rows = [];
var i = 1;
/* while(i <= ...
0
votes
0
answers
20
views
Dynamic State-wise Coloring in India Map using amCharts 5
I'm building an interactive India map using amCharts 5, where each state should be dynamically colored based on its purchase contribution percentage. The contribution data is coming from the backend, ...
1
vote
2
answers
54
views
Puppeteer Proxy Issue: ERR_INVALID_AUTH_CREDENTIALS on Specific Website
I've run into an issue while using Puppeteer with a proxy:
On some websites, the proxy works without any problems. However, on others—such as csfloat.com—the connection fails, and Puppeteer crashes ...
0
votes
0
answers
57
views
CSS file causing Jest/Puppeteer test to time out
The test below is a contrived example intended to demonstrate the issue I'm encountering. I'm using Jest and Puppeteer to test a function called doSomething. The file containing the function (random....
0
votes
0
answers
52
views
Puppeteer scraper - bot detection
I have a scraper running on Puppeteer and Node.js. When I change the headless mode from false to true, the bot gets detected. I would like it to work with false since the deployment will be on Railway....
0
votes
0
answers
80
views
A4 PDF not sizing correctly, producing border around pages
I am downloading a .pdf (A4) size using Puppeteer, however I am getting a light grey border around my pages.
I have eliminated my .pdf HTML causing an issue by generating a blank A4 page and am still ...
0
votes
1
answer
89
views
Puppeteer-extra, TimeoutError doesn't seem to exist
This is a followup question to this one, which resolves a missing definition of TimeoutError in my puppeteer code. Thing is, I want to use puppeteer-extra, and despite being a lightweight wrapper for ...
1
vote
2
answers
83
views
Puppeteer "TimeoutError is not defined"
I have a very simple web scraper app whose sole purpose is to evaluate the javascript on a webpage and return the generated HTML. It works fine most of the time. However, it is not handling timeouts ...
0
votes
2
answers
179
views
Puppeteer: Protocol error (Page.navigate): Invalid referrerPolicy
This has started happening recently and am struggling to work out why. The line:
await page.GoToAsync(fromURL.ToString());
Throws the exception:
MESSAGE:
Protocol error (Page.navigate): Invalid ...
2
votes
1
answer
100
views
Chromium can't run on in container Apple silicon with puppeteer in a DDEV environment
I have problem to activate Puppeteer in my MacOS environment (M1 processor). I get the following error message:
/usr/local/lib/node_modules/pa11y-ci/node_modules/puppeteer/lib/cjs/puppeteer/node/...