Deploy dulu baru di tes
Deploy ke heroku harus lewat tombol ungu
Fungsi: Numpang/kontol puppeteer dari perangkat lain
Contoh cara menggunakan di JS
const puppeteer = require("puppeteer-core")
async function screenshot(url) {
const browser = await puppeteer.connect({browserURL: "http://your.url"})
const page = await browser.newPage()
await page.setViewport({ width: 1280, height: 720 })
await page.goto(url)
const result = await page.screenshot()
await page.close()
//browser.dicsonnect()
return result
}