Last active
February 24, 2019 14:15
-
-
Save Avaray/d7833f1b4165b57069f98e004aa761d7 to your computer and use it in GitHub Desktop.
[NodeJS] Puppeteer Starter // for API visit https://pptr.dev/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const puppeteer = require('puppeteer'); | |
(async () => { | |
const browser = await puppeteer.launch({headless: true}) | |
var pages = await browser.pages() | |
var page = pages[0] | |
await page.goto('') | |
await browser.close() | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment