eg: default resolution 1280x1280 -> 1920x1080, #183
This commit is contained in:
parent
c79f4cc40f
commit
e30216c9b8
2 changed files with 4 additions and 4 deletions
|
|
@ -12,8 +12,8 @@ export const cfg = {
|
|||
interactive: process.env.INTERACTIVE == '1', // confirm to claim, default skip
|
||||
show: process.env.SHOW == '1', // run non-headless
|
||||
get headless() { return !this.debug && !this.show },
|
||||
width: Number(process.env.WIDTH) || 1280, // width of the opened browser
|
||||
height: Number(process.env.HEIGHT) || 1280, // height of the opened browser
|
||||
width: Number(process.env.WIDTH) || 1920, // width of the opened browser
|
||||
height: Number(process.env.HEIGHT) || 1080, // height of the opened browser
|
||||
timeout: (Number(process.env.TIMEOUT) || 60) * 1000, // default timeout for playwright is 30s
|
||||
login_timeout: (Number(process.env.LOGIN_TIMEOUT) || 180) * 1000, // higher timeout for login, will wait twice: prompt + wait for manual login
|
||||
novnc_port: process.env.NOVNC_PORT, // running in docker if set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue