selenium-side-runner
Version:
Run Selenium IDE projects in cli
14 lines • 657 B
TypeScript
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