@wdio/appium-service
Version:
A WebdriverIO service to start & stop Appium Server
15 lines • 744 B
TypeScript
import type { SelectorLocation } from './selector-location.js';
/**
* Formats a selector for display/logging purposes (truncates long selectors).
*/
export declare function formatSelectorForDisplay(selector: string | object, maxLength?: number): string;
/**
* Formats selector locations into a human-readable string for CLI output.
* Handles single, multiple, and no locations.
*/
export declare function formatSelectorLocations(locations: SelectorLocation[]): string;
/**
* Logs the optimization conclusion.
*/
export declare function logOptimizationConclusion(timeDifference: number, improvementPercent: number, originalSelector: string, optimizedSelector: string, locationInfo?: string): void;
//# sourceMappingURL=formatting.d.ts.map