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 6568dff commit bdca2a6Copy full SHA for bdca2a6
1 file changed
src/browser/existing-browser.ts
@@ -82,6 +82,8 @@ export class ExistingBrowser extends Browser {
82
this._startCollectingCustomCommands();
83
}
84
85
+ const isolationPromise = this._performIsolation({ sessionCaps, sessionOpts });
86
+
87
this._extendStacktrace();
88
this._addSteps();
89
this._addHistory();
@@ -95,7 +97,10 @@ export class ExistingBrowser extends Browser {
95
97
"testplane: init browser",
96
98
async () => {
99
this._addCommands();
- await this._performIsolation({ sessionCaps, sessionOpts });
100
101
+ await isolationPromise;
102
103
+ this._callstackHistory?.clear();
104
105
try {
106
this.config.prepareBrowser && this.config.prepareBrowser(this.publicAPI);
0 commit comments