Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

ondemand.yml

rtyler edited this page Nov 23, 2012 · 1 revision

The Ruby gem for Sauce will extract API credentials from multiple places, if those files are available.

If you define an ondemand.yml inside your project directory, i.e. whatever your current working directory would be when you run your Selenium tests, then Sauce for Ruby will use that.

---
username: sauce-user
access_key: xxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxxx

You can also define this globally under ~/.sauce/ondemand.yml, if the project-level YAML file does not exist, Sauce for Ruby will try to load credentials from the user's global YAML file.

Clone this wiki locally