Get App Strings
Get app strings
Example Usage
Java | Map<String, String> appStrings = driver.getAppStringMap("en" , "/path/to/file" ); |
Python | appStrings = self.driver.app_strings("en" ,"/path/to/file" ) |
Javascript | // webdriver.io example let appStrings = driver.getStrings( "en" );// wd example // let appStrings = await driver.getAppStrings(); |
Ruby | # ruby_lib example app_strings( "en" )# ruby_lib_core example @driver.app_strings( "en" ) |
C# | Dictionary<string, object> appStrings = driver.GetAppStringDictionary("end" , "/path/to/file" ); |
PHP | $strings = $driver->appStrings(); |
Support
Appium Server
Appium Clients
HTTP API Specifications
Endpoint
POST /session/:session_id/appium/app/strings
URL Parameters
name | description |
---|---|
session_id | ID of the session to route the command to |
JSON Parameters
name | type | description |
---|---|---|
language | string | Language code (optional) |
stringFile | string | Path to the string file (optional) |
Response
null