mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-26 08:32:26 +08:00
chore: use default action and navigation timeouts (#56)
This commit is contained in:
parent
2c408f3818
commit
dc6273203e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user