UNPKG

appium-chromedriver

Version:
36 lines (34 loc) 1.3 kB
// `keyof typeof PROTOCOLS` requires the runtime `PROTOCOLS` binding (not `import type`). // eslint-disable-next-line @typescript-eslint/consistent-type-imports -- see above import {PROTOCOLS, type JWProxy} from '@appium/base-driver'; import type * as TeenProcess from 'teen_process'; import type {ADB} from 'appium-adb'; import type {AppiumLogger} from '@appium/types'; import type {ChromedriverOpts} from '../types'; import type {ChromedriverStorageClient} from '../storage-client/storage-client'; import type {EventEmitter} from 'node:events'; export interface ChromedriverCommandContext extends EventEmitter { state: string; proxyPort: number; adb?: ADB; cmdArgs?: string[]; logPath?: string; disableBuildCheck: boolean; mappingPath?: string; executableDir: string; isCustomExecutableDir: boolean; useSystemExecutable: boolean; chromedriver?: string; executableVerified: boolean; bundleId?: string; details?: ChromedriverOpts['details']; storageClient: ChromedriverStorageClient | null; _execFunc: typeof TeenProcess.exec; _driverVersion: string | null; _onlineStatus: Record<string, any> | null; _desiredProtocol: keyof typeof PROTOCOLS | null; capabilities: Record<string, any>; jwproxy: JWProxy; log: AppiumLogger; driverVersion: string | null; }