Last active
November 21, 2019 14:34
-
-
Save trfiladelfo/a7e7e9c1ba3cd68ef248f12f4cb31548 to your computer and use it in GitHub Desktop.
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 demo() { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.goto("https://arrayof.io"); | |
await page.screenshot({ path: "screenshot.png" }); | |
browser.close(); | |
} | |
demo(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alteração da página