Install Sauce Connect on Mac OSX
- App name: Sauce Connect
- App description: sauce-connect (App: Not Available)
- App website: https://docs.saucelabs.com/reference/sauce-connect/
Install the App
- Press
Command+Space
and type Terminal and press enter/return key. - Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish. - Run:
brew cask install sauce-connect
In terminal set all the required parameter
export SAUCELABS_HOST="127.0.0.1" export SAUCELABS_PORT="4448" export SAUCELABS_USER_NAME="<YOUR USER ACCOUNT>" export SAUCELABS_KEY="<YOUR SAUCELABS LAB KEY>" export SAUCE_LAB_GULP_TASK="<TASK NAME>" export SAUCELABS_TUNNEL="Tunnel Name" export APPLICATION_ENVIRONMENT="ENVIRONMENT NAME"
Execute below command once the parameter set in terminal
sc --no-autodetect -u $SAUCELABS_USER_NAME -k $SAUCELABS_KEY -i $SAUCELABS_TUNNEL -l /tmp/sauce_connect.log --se-port 4448