diff --git a/README.md b/README.md index 27c51a90..e8a22204 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ import puppeteer from 'puppeteer'; await page.waitForSelector(searchResultSelector); await page.click(searchResultSelector); - // Localte the full title with a unique string + // Locate the full title with a unique string const textSelector = await page.waitForSelector( 'text/Customize and automate' ); diff --git a/docs/index.md b/docs/index.md index 27c51a90..e8a22204 100644 --- a/docs/index.md +++ b/docs/index.md @@ -149,7 +149,7 @@ import puppeteer from 'puppeteer'; await page.waitForSelector(searchResultSelector); await page.click(searchResultSelector); - // Localte the full title with a unique string + // Locate the full title with a unique string const textSelector = await page.waitForSelector( 'text/Customize and automate' );