diff --git a/examples/search.js b/examples/search.js index 828d1554..b5def52f 100644 --- a/examples/search.js +++ b/examples/search.js @@ -30,7 +30,7 @@ const puppeteer = require('puppeteer'); await page.goto('https://developers.google.com/web/'); // Type into search box. - await page.type('.devsite-searchbox input', 'Headless Chrome'); + await page.type('.devsite-search-field', 'Headless Chrome'); // Wait for suggest overlay to appear and click "show all results". const allResultsSelector = '.devsite-suggest-all-results';