Skip to main content

Sauce Labs Python bindings library

Project description

Hello, welcome to the Sauce Python bindings! Let’s make using Sauce Labs Simple!

Example Usage

The goal of the Sauce bindings is to provide a straightforward approach to connecting your automated scripts to Sauce. Here’s an example. The Sauce Python bindings can be used like this:

from saucebindings.session import SauceSession

session = SauceSession()

driver = session.driver driver.get(“www.saucedemo.com”)

session.stop(“passed”)

Requirements

Set your Sauce username and Sauce access key as environment variables.

Installation

Clone this project to build from source

git clone https://github.com/saucelabs/sauce_bindings

python setup.py install

or install from pip

pip install saucebindings

Development

This project will be developed initially in Python 3.x so please create a virtual environment:

python3 -m venv venv

source venv/bin/activate

To install dependencies, do the following:

pip install -r requirements.txt

Testing

To run all tests, run the following:

pytest

Package and Release

python setup.py sdist twine check dist/* twine upload dist/*

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

saucebindings-1.2.1.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file saucebindings-1.2.1.tar.gz.

File metadata

  • Download URL: saucebindings-1.2.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for saucebindings-1.2.1.tar.gz
Algorithm Hash digest
SHA256 f3662c2ebb56a81e5af1438f88ba0319aa1632656b5ee75f2e2374ab7d4d73df
MD5 5e4ee5b1b64b1ac121cfb42bcb4fee8e
BLAKE2b-256 9a6b9a8678882e3169d11160709dd66650109c9cb786183caad1b5573035dad3

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