We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d611ca9 commit e081ba7Copy full SHA for e081ba7
src/browserContext.ts
@@ -172,7 +172,7 @@ export abstract class BrowserContextBase extends ExtendedEventEmitter implements
172
await pages[0].waitForLoadState();
173
if (pages.length !== 1 || pages[0].url() !== 'about:blank') {
174
await this.close().catch(e => null);
175
- throw new Error('Arguments can not specify page to be opened');
+ throw new Error(`Arguments can not specify page to be opened (first url is ${pages[0].url()})`);
176
}
177
178
0 commit comments