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

If Contains Characters Then X, Else Y (puppeteer)

I have this code which should work in theory, but it doesn't. I guess there is something that i… Read more If Contains Characters Then X, Else Y (puppeteer)

Detect And Test Chrome Extension Using Puppeteer

Is there a way to test a Chrome extension using Puppeteer? For example can an extension detect that… Read more Detect And Test Chrome Extension Using Puppeteer

Puppeteer - Invoke External Js Function From A 5th Level Deep Child Page In Frameset

I am trying to achieve puppeteer automation on a 20 year old e-commerce site which is built on apac… Read more Puppeteer - Invoke External Js Function From A 5th Level Deep Child Page In Frameset

Puppeteer - Page.$$('').length Returns Undefined

I was having errors with my code, so i tried to log the value in the erroneous code. So i did: cons… Read more Puppeteer - Page.$$('').length Returns Undefined

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?

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()?

Get Elements From Page.evaluate In Puppeteer?

I'm working with Node.js and Puppeteer for the first time and can't find a way to output va… Read more Get Elements From Page.evaluate In Puppeteer?

Puppeteer: Page.evaluate Not Working After Waitfornavigation, Debug Not Working Inside Page.evaluate For Document

I am able to navigate to a page using puppeteer but afterwards the page.evaluate is not returning a… Read more Puppeteer: Page.evaluate Not Working After Waitfornavigation, Debug Not Working Inside Page.evaluate For Document