Feature
A small API for Node.js code
The API layer behind the commands is exported, so Node.js code can call it without the CLI.
Import SauceClient with the functions you need, such as listJobs and uploadFile, from the sauce-labs-cli package, and pass the client plus a Region.
Failed requests reject with an HttpError that carries status, statusText, url and the parsed body.
More features
All features →- 01
App Storage from the shell
Upload, download, list, describe and delete App files in Sauce Labs App Storage with one command each.
- 02
App groups and Group settings
List App groups and read or change their Group settings: Orientation, Instrumentation, Resigning or any other key.
- 03
List and inspect Jobs
List recent Virtual-device jobs or Real-device jobs and print a short Job summary for any of them.