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 | |
| Selenium | Java | Quickstart Guide GitHub | |
| TestCafe | JavaScript | Quickstart Guide GitHub | |
| WebdriverIO | JavaScript | GitHub | |
| XCUITest | Swift | GitHub |
Community Frameworks
These frameworks and tools are built and supported by their open-source maintainers, not by Sauce Labs. They reach the Sauce Labs cloud through our standard Appium and WebDriver BiDi endpoints, and Sauce Labs has validated the guides below. See Community Frameworks for what that means for support.
| Framework | Platform | Language | Links |
|---|---|---|---|
| Maestro (via maestro-runner) | YAML | Guide GitHub | |
| Vibium | JavaScript Python CLI / MCP | Guide 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 |