Device File Management
List files in a directory on the device
Returns a list of files and directories at the specified path on the device storage.
post/sessions/{sessionId}/device/listFiles
Request
- Base URLhttps://api.us-west-1.saucelabs.com/rdc/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
The id of the device session
Request body
Example request
{
"path": "/Download/",
"bundleId": "com.example.app"
}Response
List of files retrieved successfully
string[] required
Example response
[ "/Download/file.txt" ]
Changes
No recorded changes to this operation across all 1 revision of this API.