Python client library for Sauce Labs API.
- Author: Corey Goldberg (2013-2017)
- Docs: https://readthedocs.org/projects/sauceclient
- Releases: https://pypi.python.org/pypi/sauceclient
- Dev: https://github.com/cgoldberg/sauceclient
- License: Apache v2.0
sauceclient is a Python client library for Sauce Labs API. You can manage a Selenium test environment and retrieve test assets from Sauce.
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 Selenium WebDriver.
Sauce Labs is a service for running remote Selenium WebDriver tests. It has VM's with 800+ browser/OS combinations, allowing comprehensive cross-browser cross-platform test coverage.
with pip:
pip install sauceclient
public access:
import sauceclient sc = sauceclient.SauceClient() status = sc.information.get_status()with authorization:
import sauceclient sc = sauceclient.SauceClient( 'sauce-username', 'sauce-access-key', ) jobs = sc.jobs.get_jobs(full=True, limit=5)
Due to changes in the SauceLabs REST API, some of sauceclient's classes and methods have been changed or renamed since the pre-1.0 release.