Created
February 22, 2019 15:00
-
-
Save jsoverson/71ad62ca1ca4c6b18a1fbda79d572c14 to your computer and use it in GitHub Desktop.
Base puppeteer script
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 function main(){ | |
const browser = await puppeteer.launch({ | |
headless:false, | |
defaultViewport:null, | |
devtools: true | |
}); | |
const page = (await browser.pages())[0]; | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment