Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
11 views

More verbose output of native module build phase during yarn install

My yarn install --frozen-lockfile --verbose is getting hung at what seems to be the native module/gyp build phase and I can't figure out why. I've tried export npm_config_loglevel=verbose before ...
rynop's user avatar
  • 52.5k
0 votes
0 answers
25 views

How to Convert PDF Generated by Puppeteer to DOCX in Nextjs API

I'm using Puppeteer to generate a PDF that a user can download and save. I want to be able to convert the same PDF to a DOCX file instead, so the user downloads a DOCX instead of a PDF. I can't seem ...
Imran Khan's user avatar
0 votes
0 answers
15 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
30 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
59 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
27 views

Can't upload files in Puppeteer, Chromium gives "Aw Snap!" error

I have been working with Puppeteer recently and I have been trying to work with file uploading. I've watched multiple tutorials and read the docs for Puppeteer, but everything I try always results in ...
Steven Livingston's user avatar
0 votes
0 answers
31 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
-1 votes
0 answers
33 views

Cannot join mount namespace of pid 1: Operation not permitted

I have simple Puppeteer script in Nodejs like below const puppeteer = require("puppeteer"); (async () => { const browser = await puppeteer.launch({ headless: true, ...
Gracie williams's user avatar
0 votes
2 answers
45 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
0 votes
1 answer
65 views

How to Download video with blob url by Puppeteer

I am trying to download the reels from Instagram I have done all the navigation and everything I just have to write the name while running the file which Instagram Id I wanted to download the reel ...
dev.muhammad's user avatar
1 vote
0 answers
30 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
1 vote
0 answers
79 views

Puppeteer "Failed to launch the browser process!"

Using the eckinox/pdf-bundle in Symfony 6.4, I'm hitting an issue when calling he node script which calls Puppeteer. 2024-07-03T11:03:39.923Z puppeteer:browsers:launcher Launched 7250 2024-07-03T11:03:...
user25977261's user avatar
2 votes
2 answers
135 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
69 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
37 views

Playwright why adding cookies and klicking on accept cookies btn does not close the cookies banner. why?

I am scraping a website with playwright where I need to accept cookies (code below). I click on the accept button: await page.waitForSelector('#cmp') await page.locator('#cmp').click() when I log ...
learncode's user avatar
  • 490

15 30 50 per page
1
2 3 4 5
265