refactor(browser): open scenario sessions without a factory wrapper

This commit is contained in:
morluto
2026-10-10 00:49:14 +08:00
parent 87f0051496
commit d1983a4576
6 changed files with 45 additions and 69 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export interface OpenedScenarioBrowser {
}
/** Provider actions retained until the owned browser and profile are released. */
export interface PlaywrightScenarioCleanupResources {
interface PlaywrightScenarioCleanupResources {
readonly closeBrowser: () => Promise<void>;
readonly removeProfile: (() => Promise<void>) | undefined;
}