Skip to content
Sauce Labs rest interface scripts. Ruby version.
Pull request Compare This branch is 2 commits ahead, 3 commits behind sgrove:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

SauceREST for Ruby

This is a Ruby library and some command line tools for interacting with the SauceREST API.


For the scripts to run, you need to first install:

  • net-ssh
  • net-ssh-gateway
  • rest-client

Here are some useful command line tools:


This script is used to set up tunnel machines and open the tunnel from your side. Run it with "-h" to get the parameters required. Example run:

$ ruby tunnel.rb username api-key localhost 5000:80

This will make our computers masquerade on port 80 through the tunnel you're about to open.


Lists all the available tunnels for the user account given. Example run:

$ ruby list_tunnels.rb username api-key


This is a basic library for working with the SauceREST API. If you plan to write scripts that work with SauceREST in Ruby, saucerest.rb might be a good place to start.

Something went wrong with that request. Please try again.