https://github.com/cgoldberg/sauceclient
Python client library for Sauce Labs API
https://github.com/cgoldberg/sauceclient
api-client python sauce-labs saucelabs saucelabs-api selenium webdriver
Last synced: about 1 year ago
JSON representation
Python client library for Sauce Labs API
- Host: GitHub
- URL: https://github.com/cgoldberg/sauceclient
- Owner: cgoldberg
- License: apache-2.0
- Created: 2012-12-25T20:22:15.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T03:07:47.000Z (about 7 years ago)
- Last Synced: 2025-04-16T00:16:42.946Z (about 1 year ago)
- Topics: api-client, python, sauce-labs, saucelabs, saucelabs-api, selenium, webdriver
- Language: Python
- Size: 1.6 MB
- Stars: 11
- Watchers: 2
- Forks: 27
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===========
sauceclient
===========
**Python client library for Sauce Labs API.**
.. image:: https://travis-ci.org/cgoldberg/sauceclient.svg?branch=master
:target: https://travis-ci.org/cgoldberg/sauceclient
Info
=====
* 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
About sauceclient
=================
*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`_.
.. _Selenium WebDriver: selenium_on_sauce.html
About Sauce Labs
================
`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.
Install
=======
* with `pip`::
pip install sauceclient
Example Usage
=============
* 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)
Related Links
=============
* `Sauce Labs `_
* `Sauce Labs REST API documentation `_
* `Python bindings for Selenium WebDriver `_
Compatibility Note
==================
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.