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
PuppeteerDesktopJavaScriptQuickstart Guide
GitHub
SeleniumMobileDesktopJavaGitHub
TestCafeMobileJavaScriptQuickstart Guide
GitHub
WebdriverIODesktopJavaScriptGitHub
XCUITestDesktopSwiftGitHub

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
Puppeteer
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