webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
21 lines • 719 B
TypeScript
type SelectorStrategy = string | {
name: string;
args: string;
};
/**
* Quote a string as an XPath 1.0 literal so user-provided labels cannot
* break out of the surrounding quotes.
*/
export declare function escapeXPathString(value: string): string;
/**
* XPath approximation of an accessible name lookup.
* Used for WebDriver Classic sessions and as a fallback when BiDi
* accessibility locators are unavailable.
*/
export declare function getAriaXPathSelector(label: string): string;
export declare const findStrategy: (selector: SelectorStrategy, isW3C?: boolean, isMobile?: boolean, isBidi?: boolean) => {
using: string;
value: string;
};
export {};
//# sourceMappingURL=findStrategy.d.ts.map