UNPKG

locatai-ts

Version:

Enterprise-grade AI-powered element locator for Selenium WebDriver - TypeScript implementation

36 lines 887 B
/** * Configuration options for the LocatAI system */ export interface LocatAIOptions { /** * Minimum confidence threshold for locators (0-1) * Default: 0.6 */ minimumConfidence?: number; /** * Maximum number of locators to try before failing * Default: 8 */ maxLocatorsToTry?: number; /** * Timeout in milliseconds for finding elements * Default: 12000 (12 seconds) */ timeoutMilliseconds?: number; /** * Enable detailed logging of locator attempts * Default: false */ enableDetailedLog?: boolean; /** * Enable retry logic when all locators fail * Default: true */ enableLocatorRetry?: boolean; /** * Maximum number of retry attempts when all locators fail * Default: 2 */ maxRetryAttempts?: number; } //# sourceMappingURL=LocatAIOptions.d.ts.map