docs: added comments to the readme (#10552)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
This commit is contained in:
parent
cb46413d87
commit
80af4d7c4a
@ -143,9 +143,11 @@ The following example searches [developer.chrome.com](https://developer.chrome.c
|
||||
import puppeteer from 'puppeteer';
|
||||
|
||||
(async () => {
|
||||
// Launch the browser and open a new blank page
|
||||
const browser = await puppeteer.launch();
|
||||
const page = await browser.newPage();
|
||||
|
||||
// Navigate the page to a URL
|
||||
await page.goto('https://developer.chrome.com/');
|
||||
|
||||
// Set screen size
|
||||
|
Loading…
Reference in New Issue
Block a user