Skip to end of metadata
Go to start of metadata

This example uses environment variables for your Sauce Labs authentication credentials, and the sauce-whisk gem

You can also clone this script directly from GitHub.

require 'appium_lib'

# Set the environment variables:
#   SAUCE_USERNAME = your-sauce-username
#   SAUCE_ACCESS_KEY = your-sauce-key

desired_caps = {
      caps:       {
        appiumVersion:    '1.4.16',
        platformName:     'Android',
        platformVersion:  '4.4',
        browserName:       '',
        deviceName:       'Samsung Galaxy S4 Emulator',
        app:              '',
        name:             'Ruby Appium Sauce example'

driver =

# Test Actions here...