UNPKG

selenium-side-runner

Version:
14 lines 657 B
import { Variables, WebDriverExecutor } from '@seleniumhq/side-runtime'; import { TestShape } from '@seleniumhq/side-model'; import { Configuration, Project } from './types'; export interface HoistedThings { configuration: Configuration; logger: Console; } export interface TestRunner { getDriverSync: () => ReturnType<typeof WebDriverExecutor.prototype.getDriverSync>; run: (project: Project, test: TestShape, variables?: Variables, persistedDriver?: WebDriverExecutor['driver']) => Promise<void>; } declare const buildRun: ({ configuration, logger }: HoistedThings) => TestRunner; export default buildRun; //# sourceMappingURL=run.d.ts.map