@wdio/appium-service
Version:
A WebdriverIO service to start & stop Appium Server
18 lines • 822 B
TypeScript
import type { XPathConversionResult } from './xpath-types.js';
/**
* Attempts to convert XPath to iOS Predicate String.
* Handles common XPath patterns and converts them to NSPredicate syntax.
*
* @param xpath - The XPath selector to convert
* @returns Conversion result with predicate string selector, or null if not applicable
*/
export declare function convertXPathToPredicateString(xpath: string): XPathConversionResult | null;
/**
* Attempts to convert XPath to Accessibility ID selector.
* Only works for simple cases with single @name or @label attribute.
*
* @param xpath - The XPath selector to convert
* @returns The accessibility ID value, or null if not applicable
*/
export declare function convertXPathToAccessibilityId(xpath: string): string | null;
//# sourceMappingURL=xpath-predicate.d.ts.map