Top "Puppeteer" questions

Puppeteer is a Node.

Puppeteer Button Press

According to https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagepresskey-options, you can simulate the pressing of a …

javascript node.js google-chrome-devtools puppeteer headless-browser
Puppeteer: How to handle multiple tabs?

Scenario: Web form for developer app registration with two part workflow. Page 1: Fill out developer app details and click on …

node.js automated-tests google-chrome-headless puppeteer
Pressing Enter button in puppeteer

Pressing enter in puppeteer doesn't seem to have any effect. However, when I press other keys, it does what it …

javascript node.js puppeteer
Puppeteer: How to submit a form?

Using puppeteer, how could you programmatically submit a form? So far I've been able to do this using page.click(…

javascript node.js google-chrome-headless puppeteer
Puppeteer - scroll down until you can't anymore

I am in a situation where new content is created when i scroll down. The new content has a specific …

javascript node.js puppeteer
How to set max viewport in Puppeteer?

When I run a new page, I must specify size of the viewport using the setViewport function: await page.setViewport({ …

javascript node.js google-chrome-devtools viewport puppeteer
Collect elements by class name and then click each one - Puppeteer

Using Puppeteer, I would like to get all the elements on a page with a particular class name and then …

javascript node.js google-chrome-devtools puppeteer headless-browser
Puppeteer Getting List of Elements with Same Selector

Background: Using NodeJS/CucumberJS/Puppeteer to build end-to-end regression test for an emberJS solution. Problem: Selecting (page.click) and getting …

javascript node.js google-chrome-devtools puppeteer
Puppeteer wait for all images to load then take screenshot

I am using Puppeteer to try to take a screenshot of a website after all images have loaded but can't …

javascript node.js google-chrome automation puppeteer
Puppeteer: Get innerHTML

Does anybody know how to get the innerHTML or text of an element? Or even better; how to click an …

javascript node.js selenium webautomation puppeteer