Skip to content

Instantly share code, notes, and snippets.

@eugeniosegala eugeniosegala/search-screen.js Secret
Created Apr 10, 2019

Embed
What would you like to do?
search screen puppeteer
// search and wait the product list
await page.type('#twotabsearchtextbox', 'iphone x 64gb');
await page.click('input.nav-input');
await page.waitForSelector('.s-image');
// create a screenshots
await page.screenshot({path: 'search-iphone-x.png'});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.