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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue