Sample Frameworks and Quickstarts
Below you will find links to our quickstart guides and demo repos, listed by framework, and code samples listed by language.
What You'll Need
- A Sauce Labs account (Log in or sign up for a free trial license).
Quickstarts by Framework
| Framework | Platform | Language | Links |
|---|---|---|---|
| Appium | Ruby Java Python | Quickstart Guide GitHub | |
| Cypress | JavaScript | Quickstart Guide GitHub | |
| Espresso | Java | GitHub | |
| Nightwatch | JavaScript | GitHub | |
| Playwright | JavaScript | Quickstart Guide GitHub | |
| Protractor | JavaScript | GitHub | |
| Selenium | Java | Quickstart Guide GitHub | |
| TestCafe | JavaScript | Quickstart Guide GitHub | |
| WebdriverIO | JavaScript | GitHub | |
| XCUITest | Swift | GitHub |
Sample Code by Language
| Language | Frameworks | Description | Links |
|---|---|---|---|
| C# | Selenium | Example scripts and dependencies for running automated Selenium tests on Sauce Labs using C#. | GitHub |
| Java | Selenium Appium JUnit4 JUnit5 TestNG | Everything you need to get started with web, mobile, visual, functional, and all other types of automation using Java. | GitHub |
| JavaScript | Cypress Selenium WebdriverIO Playwright TestCafe | Multiple Node.js-based automation frameworks and examples that will help you run tests with Node.js locally and in Sauce Labs. | GitHub |
| Python | Selenium Appium Headless | Use these scripts to test your Sauce Labs authentication credentials, set up your environment, and try out Sauce Labs features. | GitHub |
| Ruby | Selenium | Run simple automated tests to validate your Ruby testing environment and your Sauce Labs credentials. | GitHub |