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(True)
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/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file saucebindings-1.3.0.tar.gz.
File metadata
- Download URL: saucebindings-1.3.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.0 CPython/3.10.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
105e7b0590561b4dc30cf8327b5ecb3dc591f593f29356d91842794bedbab403
|
|
| MD5 |
cf38220826a85aa8198125ef59e3aa1a
|
|
| BLAKE2b-256 |
1c7d6be1551ddb7e5f6b3fd9b3e3133012a1232d09bc5e9c317318b73a02c9ee
|