8,017 questions
Advice
0
votes
0
replies
62
views
Is there a way to intercept `beacon` requests and `service-worker.js` downloads with puppeteer?
I have set up an interceptor to enrich my requests headers before they reach one of my proxies, but I have the following issue:
When looking at the proxy logs, I see that the request to download the ...
1
vote
1
answer
71
views
Hi, I’m using Puppeteer connected to a self-hosted Browserless instance via WebSocket, but externalProxyServer does not seem to be applied
I’m using Puppeteer connected to a self-hosted Browserless instance via WebSocket, but externalProxyServer does not seem to be applied.
My connection URL is:
wss://brows.harshchaudhary.dev/chromium?...
2
votes
1
answer
111
views
locator.filter works with hardcoded value but not variable
I'm using Puppeteer to automate actions on a webpage. I took this example from the doc to click on a button with a specific text.
This line works fine:
await page.locator('a, button').filter(e => e....
Best practices
1
vote
5
replies
96
views
Scraping without third party services
I'm kinda experimenting with web scraping and amazon has such great blockers. So what's actual solution for scraping metadata from Amazon traditionally without using 3rd party services so that my api ...
4
votes
1
answer
404
views
Puppeteer (even with Stealth plugin) or Playwright can't login on Google Account
I’m trying to make my Node.js script automatically log in to YouTube, but when I use Puppeteer (even with the stealth plugin) or Playwright, the Google login page shows:
“This browser or app may not ...
0
votes
1
answer
116
views
Puppeteer PDF generation uses wrong font in production [closed]
I’m generating PDFs using Puppeteer in a Node.js application.
Locally, fonts render correctly, but in production, some fonts (notably Courier New) are replaced with a different font in the generated ...
0
votes
0
answers
128
views
set PUPPETEER_SKIP_DOWNLOAD env variable but still
try to install a node project in a mac, but keep getting a puppteer installation error. I don't know why the installation fails, simply I just want to skip the installation
node_modules/.pnpm/...
0
votes
1
answer
184
views
Puppeteer "No usable sandbox" on Github Actions with ubuntu-latest (23)
I have some jobs running on Github Actions, that require Puppeteer to run, but it fails to start with this error
Cannot start ChromeHeadless
[2303:2303:1207/162353.403103:FATAL:content/browser/...
0
votes
0
answers
105
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
68
views
I'm getting a timeout when adding second page.evaluate with puppeteer
I have this with node 25.0.0 and Windows and puppeteer. Basically the get_card_search_results is called and it loads a page that features lazy loading. It will "scroll" the page down to ...
0
votes
0
answers
140
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,
...
1
vote
1
answer
75
views
Puppeteer - Wait For Element After Selector
I have an HTML table with data like
Username
is admin
Actions
New User
✓
Make Admin
Old User
Make Admin
After clicking "Make Admin", how do I wait for the check mark to show up?
I figured ...
0
votes
0
answers
87
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
1
answer
109
views
How can I disable the page translation popup in Microsoft Edge when using Puppeteer?
When I open a local website using Puppeteer and Microsoft Edge I get a "Translate page from [language]" popup like seen in the screenshot below.
I currently launch Microsoft Edge using the ...
0
votes
0
answers
70
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 ...