refactor(config): change default eg_mode from 'legacy' to 'new'
This commit is contained in:
parent
99f5432e32
commit
726b9bcbd8
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ export const cfg = {
|
||||||
get headless() {
|
get headless() {
|
||||||
return !this.debug && !this.show;
|
return !this.debug && !this.show;
|
||||||
},
|
},
|
||||||
eg_mode: process.env.EG_MODE || 'legacy', // epic-games: legacy playwright flow or 'new' API-driven flow
|
eg_mode: process.env.EG_MODE || 'new', // epic-games: legacy playwright flow or 'new' API-driven flow
|
||||||
width: Number(process.env.WIDTH) || 1920, // width 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
|
height: Number(process.env.HEIGHT) || 1080, // height of the opened browser
|
||||||
timeout: (Number(process.env.TIMEOUT) || 60) * 1000, // default timeout for playwright is 30s
|
timeout: (Number(process.env.TIMEOUT) || 60) * 1000, // default timeout for playwright is 30s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue