chore(extension): support running in http mode (#717)
This commit is contained in:
parent
29711d07d3
commit
e3df209b96
6 changed files with 53 additions and 44 deletions
|
|
@ -336,7 +336,7 @@ ${code.join('\n')}
|
|||
|
||||
private async _setupBrowserContext(): Promise<{ browserContext: playwright.BrowserContext, close: () => Promise<void> }> {
|
||||
// TODO: move to the browser context factory to make it based on isolation mode.
|
||||
const result = await this._browserContextFactory.createContext();
|
||||
const result = await this._browserContextFactory.createContext(this.clientVersion!);
|
||||
const { browserContext } = result;
|
||||
await this._setupRequestInterception(browserContext);
|
||||
for (const page of browserContext.pages())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue