pg: INTERACTIVE=1 to confirm each claim or skip it

This commit is contained in:
Ralf Vogler 2023-09-05 15:56:24 +02:00
parent 38975e811b
commit d8e2093a0d
3 changed files with 6 additions and 1 deletions

View file

@ -9,6 +9,7 @@ export const cfg = {
record: process.env.RECORD == '1', // `recordHar` (network) + `recordVideo`
time: process.env.TIME == '1', // log duration of each step
dryrun: process.env.DRYRUN == '1', // don't claim anything
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