mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: update example (#7616)
This commit is contained in:
parent
44c9ec67c5
commit
044865eff7
@ -38,7 +38,7 @@ const puppeteer = require('puppeteer');
|
|||||||
await page.click(allResultsSelector);
|
await page.click(allResultsSelector);
|
||||||
|
|
||||||
// Wait for the results page to load and display the results.
|
// Wait for the results page to load and display the results.
|
||||||
const resultsSelector = '.gsc-results .gsc-thumbnail-inside a.gs-title';
|
const resultsSelector = '.gsc-results .gs-title';
|
||||||
await page.waitForSelector(resultsSelector);
|
await page.waitForSelector(resultsSelector);
|
||||||
|
|
||||||
// Extract the results from the page.
|
// Extract the results from the page.
|
||||||
|
Loading…
Reference in New Issue
Block a user