Skip to main content

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.

puppeteer
-1 votes
0 answers
14 views

Puppeteer - check if a html element is visible 'on-screen'

Hello My goal is to imitate human behaviour and make sure that only scrolled-to links/hyperlinks are clicked with puppeteer. Just like a human would click only the hyperlinks they can see on the ...
JakuWorksOfficial's user avatar
0 votes
0 answers
13 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
17 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
7 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
32 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
17 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
18 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
30 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
0 votes
1 answer
22 views

NextJS, PagedJS and Puppeteer: PDF Cross references jump to wrong page

I generate my dynamic webpage including table of contents with NextJS and Paged. On browser with HTML page, all works well including listing page numbers on table of contents and navigating to the ...
Strangular's user avatar
0 votes
0 answers
14 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

Web scraping with puppeteer - hidden element

I am scraping a website, and I can't seem to automate the pressing of a 'button' that has 'Create Order' on it, even though it is perfectly clickable manually. Here is the HTML element: <a id="...
wizzrdcode01's user avatar
0 votes
1 answer
26 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
1 answer
36 views

How to programmatically click play button in YouTube via puppeteer?

I am trying to play a video via YouTube using puppeteer using C# Here's my code so far: If you can provide me with or guide me correct way appreciate it a lot: using System; using System.Threading....
user13821471's user avatar
0 votes
0 answers
26 views

Why is the iframe not loading in puppeteer?

const iframeElementHandle = await page.$('iframe'); // console.log(0); await iframeElementHandle.waitForSelector('iframe'); // console.log(1); after waitForSelector the code doesn't want to happen ...
Dellack's user avatar
0 votes
0 answers
14 views

dynamic proxy in puppeteer

I'm wondering if there is a way to do dynamic proxying with Puppeteer. For example, on my local I can set up my network to use a .pac file. The problem I am trying to solve is that I only want my ...
Sam's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
534