mirror of
https://github.com/ershisan99/scrape-icp.git
synced 2025-12-24 12:34:10 +00:00
make playwright headless and install deps before start
This commit is contained in:
@@ -101,7 +101,7 @@ const step6 = async (page: Page) => {
|
||||
}
|
||||
|
||||
const scrape = async () => {
|
||||
const browser = await chromium.launch({ headless: false })
|
||||
const browser = await chromium.launch()
|
||||
try {
|
||||
const page = await browser.newPage()
|
||||
await step1(page)
|
||||
|
||||
Reference in New Issue
Block a user