puppeteer Questions

2

Essentially, I am trying to get Puppeteer to find an element on this page by its attribute data-form-field-value which must equal 244103310504090. This is the HTML code to the button: <section...
Lick asked 28/8, 2019 at 11:36

4

Solved

How can I wait for network idle after click on an element in puppeteer? const browser = await puppeteer.launch({headless: false}); await page.goto(url, {waitUntil: 'networkidle'}); await page.cli...
Khudari asked 26/1, 2019 at 10:48

6

Solved

I'm trying to extract some table from a company website using puppeteer. But I don't understand why the browser open Chromium instead my default Chrome, which then lead to "TimeoutError: Navig...
Dozier asked 26/12, 2021 at 14:35

3

Solved

I am trying to generate PDF using puppeteer, everything works fine but input & checkboxes are not editable. In documentation i can't find how to make it editable, or elsewhere. is it possible ...
Episternum asked 3/1, 2020 at 20:49

3

After all my searches and code digging didn't help, I'm asking here for a hint: How, using Puppeteer PDF generation, do I set the metadata of the file (specifically title and author)? I've tried ...
Caddaric asked 3/7, 2018 at 11:5

1

I need to launch Puppeteer headfull (headless false) inside docker with Chrome and I get the same error: "can't launch chrome". I install all dependencies but it's falls anytime Error: Failed to ...
Kira asked 18/10, 2018 at 15:3

3

Solved

I'm creating a web api that scrapes a given url and sends that back. I am using Puppeteer to do this. I asked this question: Puppeteer not behaving like in Developer Console and recieved an answer ...
Resinate asked 9/9, 2020 at 20:8

11

I'm new to web scraping and want to download all images on a webpage using puppeteer: const puppeteer = require('puppeteer'); let scrape = async () => { // Actual Scraping goes Here... const...
Vasomotor asked 27/9, 2018 at 17:21

3

Solved

I'm trying to make a simple Puppeteer project. My current code is just a test. It doesn't work though. import bypass from './captcha/captchaBypasser.js'; import {createRequire} from "module&qu...
Haldis asked 30/10, 2022 at 9:29

4

Solved

I wrote a little puppeteer program that let me log into twitter and check a few things. Locally on mac OS Catalina, it is working but on VPS ubuntu 18.04 lts not working. And shows me a log at the ...
Psid asked 14/10, 2020 at 21:42

8

I have an array-like object of nodes (it is a carousel), their order is randomly generated with each page refresh, playwright finds all the elements to be visible, but some of them are outside the ...
Midrash asked 4/3, 2021 at 14:52

2

I tried to just use below setting but turn out the header and footer positions will be changed. Please advise. await page.pdf({ path: FILENAME, format: 'A4', margin: { top: "0px", right: "0px...
Southeast asked 17/10, 2019 at 5:6

6

Solved

I would like to launch a Google Chrome browser with language Spanish es using Puppeteer. I've tried puppeteer.launch(args:['--lang=es',...],...) but it didn't work. I've tried passing the environ...

4

I'm trying to figure out how to upload a picture file into an input dialog. It isn't possible to just type in the name and hit enter as I don't see a way in order to automate that with Puppeteer. I...
Denitadenitrate asked 10/12, 2019 at 18:24

4

Solved

I've noticed a few inconsistencies when trying to use the headerTemplate and footerTemplate options with page.pdf: The DPI for headers and footers seems to be lower (72 vs 96 for the main body, I...
Glimmering asked 21/7, 2018 at 16:58

3

I am Running docker on an M1 Macbook Pro , here i am using this docker script FROM node:current-buster # Create and set user RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current...
Warford asked 27/6, 2021 at 16:3

2

I am running multiple instances of chromium with playwright. On each instance i am logging in with the same credentials. Is there a way to automatically login into the other browser instances when ...
Landin asked 19/8, 2020 at 3:46

3

Solved

If I have this code: const puppeteer = require('puppeteer'); var test = async () => { const browser = await puppeteer.launch({args: ["--no-sandbox", "--disable-setuid-sandbox"]}); const page...

4

Solved

I've got a simple node.js script to capture screenshots of a few web pages. It appears I'm getting tripped up somewhere along the line with my use of async/await, but I can't figure out where. I'm ...
Bekki asked 5/2, 2019 at 5:8

5

Solved

I have an element that has this style color: #dc7709 and I want to check if that element's text is of that color. How do I do that with Puppeteer or playwright?
Phonsa asked 18/8, 2020 at 5:37

2

Solved

I'm developing web screen capture app with Node.js & Google Puppeteer. Now I have to capture 38000 pages and most of the functions are works find but it has errors in some points and I don't kn...
Raquelraquela asked 4/2, 2020 at 6:46

2

I'm using this code to log the encoded response size when loading a page in Chrome: const puppeteer = require("puppeteer"); (async function() { const browser = await puppeteer.launch(); const p...
Hyetograph asked 16/10, 2018 at 8:37

4

Solved

I'm writing a test that uses puppeteer to test a component that copies something to the clipboard when it is interacted with. I want to test that the contents of the clipboard are correct after int...
Wylde asked 10/2, 2020 at 21:31

6

I got an error while building backend docker, specifically installing Puppeteer. I'm using M1 MacBook, and I found a solution on the local machine(https://github.com/puppeteer/puppeteer/issues/6622...
Goldwin asked 16/11, 2021 at 2:22

5

I'm encountering a "Protocol error (Page.navigate): Target closed" with Puppeteer in AWS Lambda. This issue started in our production environment after Dec 5th, 12:00pm EST, without any r...
Cordillera asked 6/12, 2023 at 21:27

© 2022 - 2024 — McMap. All rights reserved.