chore: use default action and navigation timeouts (#56)

This commit is contained in:
Pavel Feldman 2025-03-27 09:50:37 -07:00 committed by GitHub
parent 2c408f3818
commit dc6273203e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,8 @@ export class Context {
this._console.length = 0;
});
page.on('close', () => this._onPageClose());
page.setDefaultNavigationTimeout(60000);
page.setDefaultTimeout(5000);
this._page = page;
this._browser = browser;
return page;