log path of recorded video
This commit is contained in:
parent
2a4da3f49c
commit
1fbabbc0f2
4 changed files with 4 additions and 0 deletions
|
|
@ -199,4 +199,5 @@ try {
|
|||
}
|
||||
}
|
||||
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue