UNPKG

selenium-side-runner

Version:
48 lines 1.63 kB
import { ProjectShape } from '@seleniumhq/side-model'; import { Command } from 'commander'; export type JSON = null | string | number | boolean | JSON[] | { [key: string]: JSON; }; export interface Project extends ProjectShape { path: string; } export type ProxyType = 'autodetect' | 'direct' | 'manual' | 'pac' | 'socks' | 'system'; export type ProxyInputOptions = string | Record<string, string | string[] | number>; export type ProxyCapabilities = { proxyType: 'autodetect' | 'direct' | 'manual' | 'pac' | 'system'; proxyAutoconfigUrl?: string; ftpProxy?: string; httpProxy?: string; noProxy?: string[]; sslProxy?: string; socksProxy?: string; socksVersion?: number; }; export interface SideRunnerCLIConfig { baseUrl: string; capabilities: string; configFile: string; debug: boolean; debugStartup: boolean; filter: string; force: boolean; jestOptions: string; maxWorkers: number; proxyOptions?: string; proxyType?: ProxyType; retries: number; server: string; timeout: number; } export type SideRunnerAPI = Command & SideRunnerCLIConfig; export type Configuration = Required<Pick<SideRunnerCLIConfig, 'baseUrl' | 'filter' | 'maxWorkers' | 'server' | 'timeout'>> & Pick<SideRunnerCLIConfig, 'debugStartup' | 'debug' | 'force' | 'proxyType' | 'retries'> & { capabilities: Record<string, JSON>; debugConnectionMode: boolean; projects: string[]; proxyOptions: ProxyInputOptions; runId: string; path: string; screenshotFailureDirectory?: string; jestTimeout: number; }; //# sourceMappingURL=types.d.ts.map