All Questions
3,966
questions
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 ...
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 ...
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 ...
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/...
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
...
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 ...
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 ...
-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,
...
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 ...
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 ...
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 ...
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:...
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 ...
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 }).
...
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 ...