chore: update example (#7616)

This commit is contained in:
Jan Scheffler 2021-09-30 11:33:24 +02:00 committed by GitHub
parent 44c9ec67c5
commit 044865eff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.