Skip to content Skip to sidebar Skip to footer
Showing posts with the label Puppeteer

Using Puppeteer To Click Main Links And Clicking Sub-links?

Simplification : I have a website with links. After clicking on each link , it goes to a new page … Read more Using Puppeteer To Click Main Links And Clicking Sub-links?

Puppeteer To Listen For Map.on('load') From Within Node

Using Puppeteer to listen for map.on('load') from within Node. (async () => { const b… Read more Puppeteer To Listen For Map.on('load') From Within Node

Communicating Between The Main And Renderer Function In Puppeteer

Is there a way to communicate between the main and renderer process in Puppeteer similar to the ipc… Read more Communicating Between The Main And Renderer Function In Puppeteer

Chrome Devtools: $(selector) Shorthand Doesn't Return The Element While $$(selector)[0] Does

Time to time I face a weird phenomenon with the $ chrome api shorthand for document.querySelector t… Read more Chrome Devtools: $(selector) Shorthand Doesn't Return The Element While $$(selector)[0] Does

Puppeteer - Update Content Of A Scraped Website

I want to create a cli script using nodejs to scrape the content of a sports results website that d… Read more Puppeteer - Update Content Of A Scraped Website

How To Use Xpath In Chrome Headless+puppeteer Evaluate()?

How can I use $x() to use xpath expression inside a page.evaluate() ? As far as page is not in … Read more How To Use Xpath In Chrome Headless+puppeteer Evaluate()?

Connecting Browsers In Puppeteer

Is it possible to connect a browser to puppeteer without instantiating it in puppeteer? For example… Read more Connecting Browsers In Puppeteer

Puppeteer Browser Useragent List

I would like to load random list of user-agents from my default location path , for example: 'a… Read more Puppeteer Browser Useragent List