Skip to main content

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

Quickstarts by Framework

FrameworkPlatformLanguageLinks
AppiumMobilebgDesktopRuby
Java
Python
Quickstart Guide
GitHub
CypressMobileJavaScriptQuickstart Guide
GitHub
EspressoDesktopJavaGitHub
NightwatchMobileDesktopJavaScriptGitHub
PlaywrightMobileJavaScriptQuickstart Guide
GitHub
ProtractorDesktopJavaScriptGitHub
SeleniumMobileDesktopJavaQuickstart Guide
GitHub
TestCafeMobileJavaScriptQuickstart Guide
GitHub
WebdriverIODesktopJavaScriptGitHub
XCUITestDesktopSwiftGitHub
Orchestrate with PlaywrightMobileJavaScriptQuickstart Guide
Orchestrate with WebdriverIODesktopJavaScriptQuickstart Guide

Sample Code by Language

LanguageFrameworksDescriptionLinks
C#SeleniumExample scripts and dependencies for running automated Selenium tests on Sauce Labs using C#.GitHub
JavaSelenium
Appium
JUnit4
JUnit5
TestNG
Everything you need to get started with web, mobile, visual, functional, and all other types of automation using Java.GitHub
JavaScriptCypress
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
PythonSelenium
Appium
Headless
Use these scripts to test your Sauce Labs authentication credentials, set up your environment, and try out Sauce Labs features.GitHub
RubySeleniumRun simple automated tests to validate your Ruby testing environment and your Sauce Labs credentials.GitHub

Sauce Labs Bindings

Sauce Bindings provide you with a wrapper or binding for our platform's most popular programming languages, allowing you to connect to Sauce Labs from your test framework to perform automated web and mobile app testing.