Skip to main content

Python client library for Sauce Labs API.

Project description

Python client library for Sauce Labs API.

https://travis-ci.org/cgoldberg/sauceclient.svg?branch=master

Info

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.

About Sauce Labs

Sauce Labs is a service for running remote Selenium WebDriver tests. It ghas 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)

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 releases.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sauceclient-1.0.0.tar.gz (9.6 kB view details)

Uploaded Source

File details

Details for the file sauceclient-1.0.0.tar.gz.

File metadata

File hashes

Hashes for sauceclient-1.0.0.tar.gz
Algorithm Hash digest
SHA256 af04accdcc6aaa16f98d010fbfdbd3fdb52367fcf95ebbaf05a9964c33845982
MD5 2194e9eaa38ffb5270496c6f7406337c
BLAKE2b-256 1d6255b894913ebba079b9337b3fe285ad377858e58c43c33826f12e6bec97a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page