8,046 questions
0
votes
0
answers
46
views
Unable to load unpacked Chrome extension inside Linux container using Puppeteer or CLI
I’m trying to load an unpacked Chrome extension inside a Linux-based Docker container to automate extension testing.
However, the extension does not load — neither when launching Chrome directly via ...
0
votes
0
answers
49
views
Error: read ECONNRESET with Puppeteer and node 25.0.0 on windows
As the title says, I just installed node 25.0.0 and puppeteer on windows. Here is my file:
const puppeteer = require('puppeteer');
var browser;
var puppeteer_options = {
headless: true,
...
0
votes
0
answers
36
views
Failed to deploy puppeteer chromium in Render
I used puppeteer in my Node.js project and wanted to deploy it to Render as Docker image but the puppeteer chromium browser fails to launch in Render and gives me the error trace below. The app runs ...
0
votes
0
answers
51
views
Cannot execute Puppeteer in IIS
I have an ASP.NET Core 8.0 Web API created with C# that provides an endpoint to create PDFs from HTML markup. I use PuppeteerSharp to create the PDF, and it worked fine locally, but it does not work ...
0
votes
1
answer
63
views
How to get an array of elements by using `page.$$eval()`
I know page.$$() returns Array<ElementHandle>.
Similarly I want to get Array<ElementHandle> by using page.$$eval() with some filtering.
My use case is that I have a table that lists up any ...
1
vote
0
answers
69
views
Puppeteer Sharp not logging in to correct Chrome profile
Good day.
Im working on a project with Puppeteer Sharp where i need to pull data from a website that is locked with Google authentication. I want to open my profile that have been Authenticated. But ...
2
votes
0
answers
119
views
SOCKET_EAGAIN error on Nesk\Puphpeteer with Codeigniter project
Getting next clue/socket-raw vendored error (Socket\Raw\Exception) when trying to launch Puppeteer browser:
Socket operation failed: Resource temporarily unavailable (SOCKET_EAGAIN)
Socket\Raw\...
-1
votes
1
answer
109
views
How Do I Use Proxies with Puppeteer and a Local Chrome Instance?
I'm using Puppeteer and JS to write a web scraper. The site I'm scraping is pretty intense, so I need to use a local chrome instance and a residential proxy service to get it working. Here's my basic ...
1
vote
1
answer
84
views
Cannot test throwing error inside event handler using Jest and Puppeteer
I'm trying to test that a particular element's event listener successfully throws an error. I want to catch the error so that my test does not automatically fail, but I'm not able to for some reason.
...
0
votes
0
answers
49
views
node-html-to-image on Vercel serverless function
According to this Vercel page it seems like using a Vercel function to run Puppeteer should be doable, but not matter what I do, I end up with Unhandled Rejection: Error: Unable to get browser page. ...
1
vote
0
answers
69
views
Puppeteer PDF generation fails on Elastic Beanstalk with "Could not find Chrome" error
I am trying to generate PDF invoices using Puppeteer in my Node.js app. Locally, the code works perfectly and generates the PDFs as expected.
However, when I deploy the app to Elastic Beanstalk (...
0
votes
0
answers
28
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
1
answer
68
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-...
0
votes
0
answers
59
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, ...
0
votes
0
answers
67
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
90
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 ...
1
vote
2
answers
129
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 ...
2
votes
1
answer
218
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/...
0
votes
1
answer
108
views
Handling Uncaught Exceptions in Puppeteer and Closing the Browser
I'm currently facing an issue where my Node.js application crashes at night due to the internet provider forcing an internet disconnection, which leads to an ECONNREFUSED error in my Puppeteer code. ...
-1
votes
1
answer
119
views
How to force Google Chrome to use custom policies and Kerberos authentication in a multi-user container setup?
I'm working with a custom build of the SignalFx Synthetics Agent, which uses Puppeteer and Google Chrome. Previously, Kerberos authentication worked fine with the following setup:
Installed krb5-user ...
0
votes
1
answer
116
views
Styling issue with puppeteer [closed]
Can someone help me with a styling issue, it's driving me crazy.
I use puppeteer within nodejs and it works fine until I started styling.
I noticed that styling has trouble with dynamic content via js....
-2
votes
1
answer
69
views
Does waitForNavigation() not wait for redirections?
Considering this Puppeteer test:
it('should validate [email protected] access flow', async () => {
const browser = await puppeteer.launch({ slowMo:10 })
await browser.deleteCookie()
const page = ...
1
vote
0
answers
193
views
Puppeteer: Failed to launch the browser process after a couple hours
I'm using Puppeteer to scrape data from a website and it works fine for a couple hours. But after some time it randomly stops working and I get the error below. I saw other posts and Stackoverflow ...
1
vote
1
answer
54
views
Interception xhr requests after pressing the load more button with puppeteer
Initially two json files arrive on the site - the rest arrive after clicking the ‘load more’ button. I'm trying to intercept all requests. The example shows how I am waiting for the button to appear ...
1
vote
0
answers
151
views
Laravel Sail puppeteer chrome not found
I've installed puppeteer on my docker container, and installed chrome for it
here you can see that I have them:
and I even run the test to check if puppeteer works on my container:
node -e "...