chadpaulson / sauceclient

Python client library for Sauce Labs API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sauceclient Python package

Python client library for Sauce Labs API.

image

About sauceclient

sauceclient is a Python client library for the Sauce Labs API.

It gives you access to Sauce Labs:

  • Account
  • Platform Information
  • JavaScript Unit Tests
  • Jobs & Assets (Logs, Videos, Screenshots)
  • Temporary Storage
  • Tunnels

sauceclient is not used for running tests on Sauce Labs' service. (That is done via Selenium WebDriver).

Install

  • with `pip`:

    pip install sauceclient

About Sauce Labs

Sauce Labs is a service for running remote Selenium WebDriver tests. They have VM's with 800+ browser/OS combinations, allowing comprehensive cross-browser cross-platform test coverage.

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)

Compatibility Note

Due to changes in the SauceLabs REST API, some of sauceclient's classes and methods have been removed or renamed since the pre-1.0 releases.

About

Python client library for Sauce Labs API

License:Apache License 2.0


Languages

Language:Python 100.0%