The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing


External Resources

More Info

Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page

  1. Create a project directory where you will download and install Sausage, for example sauce-tutorial

    Code Block
    bat mkdir C:\sauce-tutorial
  2. Save the file givememysausage.php to your project directory. 
  3. Using the command prompt, navigate to your project directory and run givememysausage.php. You can also set your Sauce username and credentials at the same time. 

    Code Block
    bat cd C:\sauce-tutorial
    bat php givememysausage.php -t sauceUsername sauceAccessKey

    This downloads Sausage and all its dependences, as well as the demo test WebDriverDemo.php, which may take a few minutes. The setup checks for a number of requirements and if any are not met, notification messages are displayed on your screen. If there are any issues, fix them and then run the installation command again.

    Include Page