docs: anchor selector on search example (#9854)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
This commit is contained in:
parent
8c1b16dce0
commit
7b8f80ade8
@ -38,7 +38,7 @@ const puppeteer = require('puppeteer');
|
||||
await page.click(allResultsSelector);
|
||||
|
||||
// Wait for the results page to load and display the results.
|
||||
const resultsSelector = '.gsc-results .gs-title';
|
||||
const resultsSelector = '.gsc-table-result a.gs-title[href]';
|
||||
await page.waitForSelector(resultsSelector);
|
||||
|
||||
// Extract the results from the page.
|
||||
|
Loading…
Reference in New Issue
Block a user