sauceclient
Python client library for Sauce Labs API
About sauceclient
sauceclient is a Python client library for the Sauce Labs API. You can
manage a test environment and retrieve test assets from Sauce Labs.
The API gives remote access to:
- Test Jobs & Assets (Results, Logs, Videos, Screenshots)
- Account
- Platform Information
- JavaScript Unit Tests
- Temporary Storage
- Tunnels
Note: sauceclient is not used for running tests on Sauce Labs' services.
Test execution is handled by your testing tool or library (Selenium,
Playwright, Cypress, Appium, etc).
About Sauce Labs
Sauce Labs is a cloud-based service for running remote
browser-based tests. It has VM's with 800+ browser/OS combinations, allowing
comprehensive cross-browser cross-platform test coverage.
Installation
pip install sauceclient
Example Usage
import sauceclient
sc = sauceclient.SauceClient()
status = sc.information.get_status()
import sauceclient
sc = sauceclient.SauceClient(
"sauce-username",
"sauce-access-key",
)
jobs = sc.jobs.get_jobs(full=True, limit=5)