chore(examples): add missing argument to search example (#1066)
Fixes #1059.
This commit is contained in:
parent
9fab3fd3be
commit
fbee98aa51
@ -24,7 +24,7 @@ const browser = await puppeteer.launch();
|
|||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
await page.goto('https://google.com', {waitUntil: 'networkidle'});
|
await page.goto('https://google.com', {waitUntil: 'networkidle'});
|
||||||
// Type our query into the search bar
|
// Type our query into the search bar
|
||||||
await page.type('puppeteer');
|
await page.type('input[name=q]', 'puppeteer');
|
||||||
|
|
||||||
await page.click('input[type="submit"]');
|
await page.click('input[type="submit"]');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user