Ой, забыл раскоментить
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
3
index.js
3
index.js
@@ -12,8 +12,7 @@ async function initPuppeteer (page) {
|
||||
}
|
||||
|
||||
(async () => {
|
||||
// const browser = await puppeteer.launch({ executablePath: 'chromium-browser' })
|
||||
const browser = await puppeteer.launch()
|
||||
const browser = await puppeteer.launch({ executablePath: 'chromium-browser' })
|
||||
const page = await browser.newPage()
|
||||
await initPuppeteer(page)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user