皇冠hg0088代理网址

Questions tagged [puppeteer]

皇冠hg0088代理网址 Puppeteer is a Node 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.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

How to click an element from a group of elements based on the textContent - Puppeteer

I want to click on a selected element matching the given text using puppeteer. The below javascript code is working fine in the browser console. let menuitems = document.querySelectorAll('a[role=...
0
votes
0answers
16 views

Storing new child nodes with MutationObserver and Puppeteer

I am currently trying to use the MutationObserver interface on a site that automatically updates every few minutes. I am able to print a console statement in stdout that signifies if a child node has ...
0
votes
1answer
15 views

Is there any way to take a screenshot with puppeteer and display it automatically on an html page instead of saving it to my computer?

I am considering using pupeteer for a project I am working on, but I can't seem to figure out if I can take the screenshot taken with puppeteer and display it as an image on an html page automatically....
0
votes
1answer
18 views

why can't puppeteer scrape an element from a iframe even if I add the selector

I have written a small web scraper using puppeteer, but I can't seem to properly extract the information I want. Could you please help me find the mistake? Background: I want to scrape a website that ...
0
votes
0answers
9 views

Rest API NodeJS continuous scraping GET request from client

I have created a REST API in NodeJS which scrapes wind data from a site. The wind data is stored in an array which keeps growing as the site is scraped in a setInterval call. I would now like to have ...
0
votes
1answer
19 views

Puppeteer - Map real mobile device behavior in headless (true | false) mode

I want to emulate a custom device ( real mobile device dimensions) with a puppeteer, and I expect same browser behavior in real mobile device and puppeteer. I tried const _op = { args: [ ...
-1
votes
0answers
13 views

Configure the language of puppeteer's chromium browser or using Apify proxy?

I want to scrap a website with french result , the website support many languages . How can I do that , is it better to configure puppeteer Crawler launch options in args as in puppeter like that : ...
-1
votes
0answers
11 views

Is there a way to get the computed style information as shown in Devtools computed Tab by using puppeteer?

Below is a screenshot (link) showing the computed style information of an element in devtools Computed Tab. The ones which are bold (non-grey) are the ones of interest to me. I need a way to get those ...
0
votes
1answer
14 views

NodeJs MaxListenersExceededWarning during API calls

I'm filling up an array with wind data (which is being scraped from an API JSON), but I'm getting a MaxListenersExceededWarning error. I have looked it up, and it seems like it is due to a bug in the ...
0
votes
0answers
16 views

Differnece between pages and target in puppeteer [closed]

I am starting to learn puppeteer from docs. I am bit confused between he targets and pages concept. Can someone help m understand
1
vote
0answers
23 views

How to select an input field with dynamically generated attributes with Puppeteer?

I am trying to automate login to Cisco Webex meetings. Couldn't find anything online so decided to try out puppeteer and make my own script to do that. So the issue I am facing is I cannot select the ...
0
votes
1answer
13 views

how to wait till last response for HTTP Response in Puppeteer

I am trying to capture response from an API request sent by the browser. But the API seems to send me asynchronous responses. I am unable to find a way to capture the last response
0
votes
0answers
15 views

How to get by http://www.supremenewyork.com Masking Selector

If you go to http://www.supremenewyork.com/ and add an item to cart and try to checkout, puppeteer can not find the selector and always throws undefined element error. It is going to checkout webpage ...
0
votes
1answer
15 views

is there a Pull command in apify-cli?

As I see , in the documentation of Apify-cli in this link : http://docs.apify.com/cli There is a command to push a local code source to a remote one (Apify cloud) . is there a command for the inverse ...
0
votes
1answer
30 views

WebdriverIO with devtools is printing a lot of data in console

Currently I am working with web driver in order to get the trace of the devtools in a session with the following script: browser.startTracing() $(visitWebsiteBuilder).click() browser.pause(...

15 30 50 per page
1
2 3 4 5
292