log path of recorded video
This commit is contained in:
parent
2a4da3f49c
commit
1fbabbc0f2
4 changed files with 4 additions and 0 deletions
|
|
@ -259,4 +259,5 @@ try {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (cfg.debug) writeFileSync(path.resolve(cfg.dir.browser, 'cookies.json'), JSON.stringify(await context.cookies()));
|
if (cfg.debug) writeFileSync(path.resolve(cfg.dir.browser, 'cookies.json'), JSON.stringify(await context.cookies()));
|
||||||
|
if (page.video()) console.log('Recorded video:', await page.video().path())
|
||||||
await context.close();
|
await context.close();
|
||||||
|
|
|
||||||
1
gog.js
1
gog.js
|
|
@ -145,4 +145,5 @@ try {
|
||||||
notify(`gog (${user}):<br>${html_game_list(notify_games)}`);
|
notify(`gog (${user}):<br>${html_game_list(notify_games)}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (page.video()) console.log('Recorded video:', await page.video().path())
|
||||||
await context.close();
|
await context.close();
|
||||||
|
|
|
||||||
|
|
@ -387,4 +387,5 @@ try {
|
||||||
notify(`prime-gaming (${user}):<br>${html_game_list(notify_games)}`);
|
notify(`prime-gaming (${user}):<br>${html_game_list(notify_games)}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (page.video()) console.log('Recorded video:', await page.video().path())
|
||||||
await context.close();
|
await context.close();
|
||||||
|
|
|
||||||
|
|
@ -199,4 +199,5 @@ try {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (cfg.debug) writeFileSync(path.resolve(cfg.dir.browser, 'cookies.json'), JSON.stringify(await context.cookies()));
|
if (cfg.debug) writeFileSync(path.resolve(cfg.dir.browser, 'cookies.json'), JSON.stringify(await context.cookies()));
|
||||||
|
if (page.video()) console.log('Recorded video:', await page.video().path())
|
||||||
await context.close();
|
await context.close();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue