View Source Improve this doc

strings

Returns application strings of the application in a specific language.

Usage

1
browser.strings(language);

Parameters

Param Type Details
language String if set it returns app strings only for that specific language

Example

stringsAsync.js
1
2
3
4
5
6
7
it('should return app strings for Android application', function () {
var appStrings = browser.strings();
console.log(appStrings); // outputs all app strings
var russianAppStrings = browser.strings('ru')
console.log(russianAppStrings); // outputs all russian app strings (if available)
});

Support

Support for android