appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
15 lines • 781 B
TypeScript
import type { XCUITestDriver } from '../driver';
import type { StringRecord } from '@appium/types';
/**
* Return the language-specific strings for an app
*
* @param language - The language abbreviation to fetch app strings mapping for.
* If no language is provided then strings for the 'en language would be returned
* @param stringFile - Relative path to the corresponding .strings
* file starting from the corresponding .lproj folder, e.g., `base/main.strings`. If omitted,
* then Appium will make its best guess where the file is.
*
* @returns A record of localized keys to localized text
*/
export declare function getStrings(this: XCUITestDriver, language: string, stringFile?: string | null): Promise<StringRecord<string>>;
//# sourceMappingURL=app-strings.d.ts.map