webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
27 lines (24 loc) • 662 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = getAppStrings;
/**
*
* Get all defined Strings from an app for the default language.
*
* @param {String} language strings language code
*
* @see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/other/appium-bindings.md#app-strings
* @type mobile
* @for android
*
*/
function getAppStrings(language) {
var requestOptions = {
path: '/session/:sessionId/appium/app/strings',
method: 'POST'
};
return this.requestHandler.create(requestOptions, { language });
}
module.exports = exports['default'];
;