Skip to main content

Sauce Labs interface for Python 3 exposing more of the SLAPI

Project description

# PastaSauce
An expansion of [sauceclient]( to assist with Python 3 Selenium testing, test management, and SauceComm tunnels.

## Basic Use
* PastaSauce uses the requests library to manage HTML requests and BeautifulSoup4 to parse web pages.

from pastasauce import PastaSauce

ps = PastaSauce(saucelabs_username, saucelabs_access_key)
print(ps.get_sauce_labs_status()) # print SauceLabs server status

* If you plan to utilize multi-browser testing on SauceLabs include the test class decorator to iterate through a dictionary of browser setting.

from pastasauce import PastaDecorator
import unittest

browsers = [[{
"platform": "Windows 10",
"browserName": "internet explorer",
"version": "11"
}, {
"platform": "OS X 10.11",
"browserName": "safari",
"version": "8.1"

class OneSampleTest(unittest.TestCase):
def test_multibrowser_support(self):
assert(True), 'Should never be False'

Project details

Download files

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

Files for PastaSauce, version 0.1.13
Filename, size File type Python version Upload date Hashes
Filename, size pastasauce-0.1.13.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page