chore(examples): add missing argument to search example (#1066)

Fixes #1059.
This commit is contained in:
Sashiyama Yoshiki 2017-10-18 07:07:16 +09:00 committed by Andrey Lushnikov
parent 9fab3fd3be
commit fbee98aa51

View File

@ -24,7 +24,7 @@ const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://google.com', {waitUntil: 'networkidle'});
// Type our query into the search bar
await page.type('puppeteer');
await page.type('input[name=q]', 'puppeteer');
await page.click('input[type="submit"]');