semvec/pypi-packages huggingface dataset:
saucebindings 1.3.0
Sauce Labs Python bindings library
License: MIT
Keywords: Sauce Labs,testing,selenium

Sauce Labs Python Bindings
==========================

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 <https://pip.pypa.io/en/stable/>`_.

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 <https://pip.pypa.io/en/stable/>`_:


    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


.. _pip: https://pip.pypa.io/en/stable/

Package and Release
-------------------

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