Robotframework - Sauce Labs Plugin
This is a plugin for the SeleniumLibrary to help with using Sauce Labs.
This library is a plugin extension of the SeleniumLibrary. That means you can (in theory!) use all the keywords in the SeleniumLibrary in addition to the keywords added here. The keywords added are specifically meant for use with Sauce Labs.
Installation
You can install this package using pip:
pip install robotframework-saucelabs
This library is powered by the Python Sauce Bindings to connect and use Sauce Labs.
A requirement of using this library is to set environment variables for your Sauce username and access key.
Note that you must have the SeleniumLibrary installed as well.
Examples
Since this library is a plugin for the SeleniumLibrary, you need to add this as a plugin where you define using the SeleniumLibrary:
*** Settings ***
Library SeleniumLibrary plugins=SauceLabs
After defining this plugin, you can then use SauceLabs keywords in addition to SeleniumLibrary keywords:
*** Test Cases ***
Web Workflow Test
# Use a SauceLabs keyword
Start Latest Chrome On Sauce https://www.saucedemo.com
# Then you can use standard SeleniumLibrary keywords
Input text id:user-name standard_user
Input text id:password secret_sauce
Click button class:btn_action
Page should contain element id:shopping_cart_container
# End with closing the session on Sauce
[Teardown] Stop Sauce Session ${TEST_STATUS}
See the acceptance test for an example of usage, and the other tests for more examples.
Contribution
Contributors welcome! We need keywords, and if you are a robot and Sauce Labs user, please open pull requests and/or issues as needed!
Metadata
Release files for robotframework-saucelabs 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-saucelabs-0.2.1.tar.gz | 3.8 kB | Without provenance | Details for robotframework-saucelabs-0.2.1.tar.gz |
Release files / robotframework-saucelabs-0.2.1.tar.gz
| Download URL | robotframework-saucelabs-0.2.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b105d9ef36ceed341e6ecda93efd4229a9ce5faed884608b2984c0e72fdb6a7f
|
|
BLAKE2b-256 checksum How to use checksums |
d36a4ad5b77ee1fc8e770d854f0a12550eb77e7b438b1735c9161b2bbd8ae376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.3
|
Security for robotframework-saucelabs 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.