rea/src/composition/browserScenario.ts

7 lines
403 B
TypeScript

import type { BrowserScenarioCapturePort } from "../application/BrowserScenarioCapturePort.js";
import { PlaywrightBrowserScenarioProvider } from "../browser/PlaywrightBrowserScenarioProvider.js";
/** Construct a fresh provider without opening a target or acquiring an engine. */
export const createBrowserScenarioProvider = (): BrowserScenarioCapturePort =>
new PlaywrightBrowserScenarioProvider();