docs(examples): change searching for searchbox to .devsite class (#6301)

This commit is contained in:
Talendran 2021-09-11 07:02:40 -04:00 committed by GitHub
parent fbd36a9705
commit 8d1a697fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';