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

Questions tagged [puppeteer]

Puppeteer is a Node.js library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome or Chromium.

-1 votes
0 answers
23 views

Using Puphpeteer to scrape web page with no classes or ids [duplicate]

I'm helping a friend to migrate their blog from a "homemade" platform to Wordpress and the original developers have not been helpful in extracting the content so I'm trying to figure out how ...
Sanfly's user avatar
  • 1,019
0 votes
0 answers
11 views

require index.cjs not work in vite with puppeteer

I use electron to create a desktop app, and with vite to complie js file, I find vite seem not work with puppeteer, in the file vite generate, it always have error: ./build/index.cjs module not find I ...
Jianze Zeng's user avatar
1 vote
0 answers
39 views

How to Get Total Memory Usage of a Chrome Tab

I am trying to obtain the total memory usage (similar to what is shown in Chrome's Task Manager as "Memory Footprint") of a Chrome tab. While I can get the JavaScript heap size using ...
Anton's user avatar
  • 11
0 votes
0 answers
27 views

How to Log a Window Object?

I need to obtain the values that services like Cloudflare check in the window object. Therefore, I am trying to capture which value is being requested from the window object whenever any value is ...
liyakat liyakat's user avatar
0 votes
0 answers
15 views

Do i need to install a specific version of Chrome to make Puppeteer 20.9.0 work?

I am upgrading Puppeteer 10 to 20 and I don't quite understand how Chromium is being replaced by Chrome for testing, do I have to install a specific version of chromium to go along with puppeteer? It'...
Hamza Aslam's user avatar
0 votes
0 answers
24 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
-1 votes
1 answer
31 views

An element exist in web but it turns out to be null when I scrape it. How could I solve it?

I am scraping a dynamic web which applied JS and react function on it (a blockchain explorer). I attempted to build a program which supposed to be able to scrape with JS running. However, it return ...
KyT's user avatar
  • 1
0 votes
0 answers
30 views

How can I use webhooks to automate button clicks using Express and Puppeteer?

I need some assistance with this project. This project is to automate trading signals from webhooks and onto Tradovate using emulated button clicks. Here's what it's supposed to do: •run js app •...
IscA's user avatar
  • 59
0 votes
0 answers
30 views

Puppeteer Recaptcha plugin not finding turnstile challenges

I have cloudflare protected website and came across puppeteer-extra-plugin-recaptcha that integrates 2captcha to solve the captcha challenges. After a lot of debugging I found that the plugin is not ...
tbhaxor's user avatar
  • 1,831
0 votes
1 answer
22 views

TypeScript `error TS2503: Cannot find namespace 'browser'.`

Building Typescript crashes with the following error in @cliqz/adblocker: node_modules/@cliqz/adblocker/dist/commonjs/request.d.ts:12:37 - error TS2503: Cannot find namespace 'browser'. 12 export ...
Miles's user avatar
  • 105
-1 votes
0 answers
9 views

Chrome - Programmatically Generate the "Save As Shortcut" launcher

On macOS, when you use Chrome's "Save as Shortcut"/"Install as App" option, it creates the typical .app folder structure. The Info.plist contains the URL to the page, but if you ...
Karric's user avatar
  • 1,523
1 vote
0 answers
48 views

RTL Text Printing Incorrectly in PDF Generated with Mixed Hebrew and English and Numbers

I'm using Puppeteer Sharp in a .NET Web API to generate PDFs that include product names with mixed Hebrew and English text. However, the text is not rendering correctly in the generated PDF. ...
Sandeep's user avatar
  • 21
0 votes
0 answers
22 views

Chromium headless on latest puppeteer

I'm experimenting with using Puppeteer to run the latest Chromium install on an ARM64 docker image with headless: true set. Do you know if there is anything in particular I should be aware of here? ...
Trevor Tiernan's user avatar
-1 votes
0 answers
20 views

How to run selenium or similar tool in a VPS without any pre-installed browser using JAVA?

I have a java project which uses selenium to get cookies after the user gets authenticated in frontend: public class SeleniumAuthenticator { private WebDriver driver; public ...
Davi Américo's user avatar
-1 votes
0 answers
42 views

Scraping a cloudFlare protected website with Puppeteer

The website uses some bot protection asking to solve some challenges before redirecting to the actual page I need to scrape. The thing is, with puppeteer seems like I can pass these challenges (...
Gabriele Passoni's user avatar

15 30 50 per page
1
2 3 4 5
534