The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Insights

External Resources

More Info


Page tree

Versions Compared

Key

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

...

Include Page
_python_code_example
_python_code_example

Running the Example Code

  1. Copy

...

  1. the example code and save it into a file called first_test.py.
    Make sure your username and access key are included in the URL passed through to the command_executor.

...

  1. Open terminal

...

  1. and navigate to the directory where the file is located

...

  1. .
  2. Execute the test

...

  1. :

    Code Block
    python first_test.py
python first_test.py

Check your dashboard and you will see that your test has just run on Sauce!

...