chore: use default action and navigation timeouts (#56)
This commit is contained in:
parent
2c408f3818
commit
dc6273203e
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ export class Context {
|
||||||
this._console.length = 0;
|
this._console.length = 0;
|
||||||
});
|
});
|
||||||
page.on('close', () => this._onPageClose());
|
page.on('close', () => this._onPageClose());
|
||||||
|
page.setDefaultNavigationTimeout(60000);
|
||||||
|
page.setDefaultTimeout(5000);
|
||||||
this._page = page;
|
this._page = page;
|
||||||
this._browser = browser;
|
this._browser = browser;
|
||||||
return page;
|
return page;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue