chore(extension): support running in http mode (#717)

This commit is contained in:
Yury Semikhatsky 2025-07-19 08:30:29 -07:00 committed by GitHub
parent 29711d07d3
commit e3df209b96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 53 additions and 44 deletions

View file

@ -36,7 +36,7 @@ export function contextFactory(browserConfig: FullConfig['browser']): BrowserCon
}
export interface BrowserContextFactory {
createContext(): Promise<{ browserContext: playwright.BrowserContext, close: () => Promise<void> }>;
createContext(clientInfo: { name: string, version: string }): Promise<{ browserContext: playwright.BrowserContext, close: () => Promise<void> }>;
}
class BaseContextFactory implements BrowserContextFactory {