@wdio/browser-runner
Version:
A WebdriverIO runner to run unit tests tests in the browser.
10 lines • 713 B
TypeScript
import type { CoverageSummary } from 'istanbul-lib-coverage';
import { COVERAGE_FACTORS } from './constants.js';
import type { BrowserRunnerOptions, CoverageOptions } from './types.js';
export declare function makeHeadless(options: BrowserRunnerOptions, caps: WebdriverIO.Capabilities): WebdriverIO.Capabilities;
/**
* Open with devtools open when in watch mode
*/
export declare function adjustWindowInWatchMode(config: WebdriverIO.Config, caps: WebdriverIO.Capabilities): WebdriverIO.Capabilities;
export declare function getCoverageByFactor(options: Partial<CoverageOptions>, summary: Pick<CoverageSummary, (typeof COVERAGE_FACTORS)[number]>, fileName?: string): string[];
//# sourceMappingURL=utils.d.ts.map