Skip to main content

All Questions

0 votes
0 answers
13 views

How to resolve "SSL handshake failed" error when using Penthouse Critical CSS generator (on Node.js)?

I want to create a Gulp task that generates a file with my site's Critical CSS. Penthouse seems to fit exactly what I need. I can achieve generating the Critical CSS file with http://google.com, and ...
MeltingDog's user avatar
0 votes
1 answer
23 views

Puppeteer: @puppeteer/browsers .install 404 (not working)

I'm working on a project that bundles a repo to an .exe using Node SEA. Bundling puppeteer causes me to need to install chrome myself, so I've switched from puppeteer to puppeteer-core + @puppeteer/...
BinarySolo's user avatar
2 votes
2 answers
48 views

puppeteer scraping dynamic content

I'm trying to scrape data from a Looker Studio web page report using Puppeteer in Node.js, but I'm encountering issues because the report is dynamic. When I fetch the data, the body is empty. Here's ...
chenzen's user avatar
  • 23
0 votes
0 answers
30 views

Puppeteer unable to click an element in iFrame while emulating mobile

Please take a look at the two Puppeteer scripts below. Both of them are opening https://elarto.pl/logowanie, waiting 7 seconds for a pop-up window to appear and then trying to close the pop-up by ...
Konrad Caban's user avatar
0 votes
2 answers
43 views

How to handle puppeteer waits efficiently?

The below code is working fine with the added delay of 75secs but that delay is not static, it changes according to the size of the file so I want to remove that delay and substitute that with a ...
Khushi Viradiya's user avatar
1 vote
0 answers
26 views

Extension doesn't work on Puppeteer Cluster

I'm trying to load CapSolver's extension on my browser instances generated with Puppeteer Cluster, but it seems that the extension only works on the about:blank instance (the instance that Puppeteer ...
Silvestro De Caro's user avatar
2 votes
1 answer
80 views

Why Puppeteer PDF generation not working on Windows?

I have this NodeJs app, trying to generate a PDF from HTML. It works on Mac, but not on Windows (times out). Here's the code. const puppeteer = require('puppeteer'); const fs = require('fs'); const ...
ChethiyaKD's user avatar
0 votes
1 answer
51 views

How do I get browser pages when using Puppeteer.connect()?

I'm working on some automation with Puppeteer and I need to create the browser object by using Puppeteer.connect({ browserWSendpoint: endpoint }), rather than Puppeteer.launch({ headless: false }). ...
Gabriel Bigelow's user avatar
0 votes
0 answers
40 views

Puppeteer "could not find Chrome" node js standalone executable application (SEA)

I'm working on a project that uses Node SEA (https://nodejs.org/api/single-executable-applications.html) to create an .exe with the intention of converting a Quickbooks report saved as a CSV to ...
BinarySolo's user avatar
0 votes
0 answers
26 views

How to Handle and Close "Got it" Popup in Puppeteer During Google Meet Automation?

I'm using Puppeteer to automate some tasks on Google Meet. However, I'm encountering a "Got it" button that appears as a popup, and it seems to be interrupting the script's flow. I need to ...
Priyabrat Saikia's user avatar
0 votes
1 answer
47 views

Get rendered HTML from an external page with Node.JS

I'm trying to build a multi-search tool that searches a list of websites and outputs results from all of them on one page as an array. The NPM package node-fetch works fine for most of the sites: ...
ld98's user avatar
  • 122
2 votes
1 answer
166 views

XPath Selector in Puppeteer 22.x

I have read the newest Puppeteer v22.x documentation about XPath, still don't know how to use XPath in Puppeteer 22.x. I want to click an element containing the text 'Next'. Here the HTML that has the ...
Ruzky's user avatar
  • 157
0 votes
0 answers
30 views

How do I fix puppeteer sending message duplicated?

So, I made a whatsapp message sender in nodejs using puppeteer to connect to wpp and electron to get the message and number inputs, but I have three main problems: It doesnt send the message after ...
João's user avatar
  • 3
2 votes
1 answer
33 views

Go to definition is not working in some method when I use Puppeteer and Mocha

const puppeteer = require('puppeteer'); describe('test', async () => { let browser, page; before(async () => { browser = await puppeteer.launch(); page = browser....
user avatar
0 votes
0 answers
56 views

Module is missing in the dotenv library

so i installed nodejs using a flake version 21 it worked and installed couple dependencies along side with it, but dotenv won't work because of some missing dependencies. **Edit ( not only dotenv now, ...
Blomiir's user avatar

15 30 50 per page
1
2 3 4 5
142