browserstack-local
Version:
Nodejs bindings for BrowserStack Local
28 lines (26 loc) • 633 B
TypeScript
declare module "browserstack-local" {
interface Options {
key: string;
verbose: boolean;
force: boolean;
only: string;
onlyAutomate: boolean;
forceLocal: boolean;
localIdentifier: string;
folder: string;
proxyHost: string;
proxyPort: string;
proxyUser: string;
proxyPass: string;
forceProxy: boolean;
logFile: string;
parallelRuns: string;
binarypath: string;
[key: string]: string | boolean;
}
class Local {
start(options: Partial<Options>, callback: (error?: Error) => void): void;
isRunning(): boolean;
stop(callback: () => void): void;
}
}