Run in incognito

Always start from fresh - Learn how to run your tests in Incognito mode

Running tests in Chrome in Incognito mode is ideal if you would like to run a test as if it were the first time it has run. This is great when you want to mimic how the test performs on a remote run or via the CLI.

When you run in Incognito:

  • No cookies will be stored (thus, the recorded app won't be affected at future test runs)
  • Log in states won’t be saved
  • Autocomplete options will not be stored for any text fields that were filled.

Allow Testim Chrome Extension to Run in Incognito Mode

Before you can run tests in Incognito mode in your Chrome browser, you need to allow the Testim extension to run in Incognito mode.

To allow the Testim Chrome extension to run in Incognito mode:

  1. In your Chrome browser, navigate to chrome://extensions URL.
12421242
  1. Locate the Testim Editor extension and click the Details button.
421421
  1. Toggle the Allow in Incognito setting to On.
694694

You are now ready to run tests in Incognito mode.

How to Run Tests in Incognito Mode

You can run local or remote tests in Incognito mode in your Chrome browser.

To run a test in Incognito mode:

  1. Navigate to Test List > Tests.

  2. Open a test and click the Options arrow next to the Run button.

322322
  1. Select Run in Incognito mode.
305305

The Incognito icon is shown next each of the run options to show you are running in Incognito mode.

278278
  1. Choose how you would like to run the test.

    • Run locally – a new browser window opens and runs all steps in the test.
    • Run locally step by step – a new browser window opens and runs the test one step at a time.
    • Rerun locally with same params – a new browser window opens and runs all steps in the test with the same parameters as the previous test.
    • Run on a grid – test runs remotely on a Selenium grid.

Now everything is ready, you can start running your tests Incognito.