docs(examples): change searching for searchbox to .devsite class (#6301)
This commit is contained in:
parent
fbd36a9705
commit
8d1a697fc3
@ -30,7 +30,7 @@ const puppeteer = require('puppeteer');
|
|||||||
await page.goto('https://developers.google.com/web/');
|
await page.goto('https://developers.google.com/web/');
|
||||||
|
|
||||||
// Type into search box.
|
// 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".
|
// Wait for suggest overlay to appear and click "show all results".
|
||||||
const allResultsSelector = '.devsite-suggest-all-results';
|
const allResultsSelector = '.devsite-suggest-all-results';
|
||||||
|
Loading…
Reference in New Issue
Block a user