Files
gridpilot.gg/packages/infrastructure/adapters/automation/index.ts

29 lines
1016 B
TypeScript

/**
* Automation adapters for browser automation.
*
* Exports:
* - MockBrowserAutomationAdapter: Mock adapter for testing
* - PlaywrightAutomationAdapter: Browser automation via Playwright
* - FixtureServer: HTTP server for serving fixture HTML files
* - IRacingTemplateMap: Template map for iRacing UI elements
*/
// Adapters
export { MockBrowserAutomationAdapter } from './MockBrowserAutomationAdapter';
export { PlaywrightAutomationAdapter } from './PlaywrightAutomationAdapter';
export type { PlaywrightConfig } from './PlaywrightAutomationAdapter';
// Services
export { FixtureServer, getFixtureForStep, getAllStepFixtureMappings } from './FixtureServer';
export type { IFixtureServer } from './FixtureServer';
// Template map and utilities
export {
IRacingTemplateMap,
getStepTemplates,
getStepName,
isModalStep,
getLoginIndicators,
getLogoutIndicators,
} from './templates/IRacingTemplateMap';
export type { IRacingTemplateMapType, StepTemplates } from './templates/IRacingTemplateMap';