chore: save downloads to outputDir (#310)
This commit is contained in:
parent
23ce973377
commit
a15f0f301b
5 changed files with 54 additions and 3 deletions
|
|
@ -48,6 +48,9 @@ export class Tab {
|
|||
}, this);
|
||||
});
|
||||
page.on('dialog', dialog => this.context.dialogShown(this, dialog));
|
||||
page.on('download', download => {
|
||||
void this.context.downloadStarted(this, download);
|
||||
});
|
||||
page.setDefaultNavigationTimeout(60000);
|
||||
page.setDefaultTimeout(5000);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue