mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
print browser log
This commit is contained in:
parent
036889eadc
commit
475c636c1a
1 changed files with 3 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ const getBrowserPromise = (async () => {
|
|||
'--no-zygote',
|
||||
'--window-size=1920,1080',
|
||||
'--disable-extensions',
|
||||
].filter((item) => !!item),
|
||||
],
|
||||
defaultViewport: {
|
||||
deviceScaleFactor: 1,
|
||||
hasTouch: false,
|
||||
|
|
@ -130,7 +130,8 @@ const getBrowserPromise = (async () => {
|
|||
},
|
||||
executablePath: process.env.CHROMIUM_PATH,
|
||||
headless: !!process.env.LAUNCH_HEADLESS,
|
||||
timeout: 120000, // 2 minutes
|
||||
timeout: 30_000, // 30 seconds
|
||||
dumpio: true, // show console logs in the terminal
|
||||
})) as Browser
|
||||
})()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue