Skip to content

Instantly share code, notes, and snippets.

@Avaray
Last active February 24, 2019 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Avaray/d7833f1b4165b57069f98e004aa761d7 to your computer and use it in GitHub Desktop.
Save Avaray/d7833f1b4165b57069f98e004aa761d7 to your computer and use it in GitHub Desktop.
[NodeJS] Puppeteer Starter // for API visit https://pptr.dev/
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