Device File Management
Get file information from the device
Returns metadata about a specific file or directory on the device storage, including its path, size, and whether it is a directory.
post/sessions/{sessionId}/device/statFile
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/report.txt",
"bundleId": "com.example.app"
}Response
File information retrieved successfully
Example response
{
"path": "/Download/report.txt",
"size": 1024
}Changes
No recorded changes to this operation across all 1 revision of this API.