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:
- In your Chrome browser, navigate to chrome://extensions URL.
- Locate the Testim Editor extension and click the Details button.
- Toggle the Allow in Incognito setting to On.
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:
-
Navigate to Test List > Tests.
-
Open a test and click the Options arrow next to the Run button.
- Select Run in Incognito mode.
The Incognito icon is shown next each of the run options to show you are running in Incognito mode.
-
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.
Updated over 2 years ago