- desired capabilities
Most Common Desired Capabilities
Browser Console Debug Logs
Geolocation Emulation
Bypass Unsafe Download Prompt
Geolocation for Chrome & Firefox
Custom User Profile in Chrome
Emulate Mobile Devices (Chrome)
Add Chrome Extension
Network Throttling
Network Logs
Biometric Authentication
Enable App Resigning in iOS
Enable Capturing Screenshots (Android & iOS)
Configure Android WebViews
Incognito/Private mode
Set Google Play Store Credentials
Basic Authentication [Safari]
Run Browser in Incognito/Private mode
Desired Capabilities allow you to customise the test environment by adding browser extensions, setting geographical locations, and bypassing alerts. Testsigma enables you to run tests in Incognito/Private mode to ensure a clean testing space. This guide helps you easily configure your testing environment for this mode.
Prerequisites
Before you begin, ensure that you have referred to:
Desired Capabilities for Incognito or Private Browser
Use the following Desired Capabilities to enable Incognito or Private mode:
| Capability - Key | Data Type | Value | Function |
|---|---|---|---|
| testsigma.privateBrowsing | Boolean | True | The selected browser will be launched in incognito or private mode |
| testsigma.privateBrowsing | Boolean | False | The selected browser will be launched in Normal mode |
| No Capability | Boolean | False | The selected browser will be launched in Normal mode |
NOTE:
Google Chrome, Mozilla Firefox, and Microsoft Edge support the desired capabilities for Incognito/Private Tab Browsers.
Adding Desired Capabilities in Test Case
- Click Run in the top right corner of the screen on the Test Case details page.
- In the Ad-hoc Run screen, you should select Test Lab and Test Machine. Then, you can click on Desired Capabilities (Optional).
- Enter testsigma.privateBrowsing in the key. Select Boolean as the data type and enter true for the value in the Desired Capabilities field.
- Click Run Now to execute the Incognito/Private tab test steps.

Adding Desired Capabilities in Test Plan
- Navigate to the Test Machines & Suites Selection tab on the Create or Edit Test Plan page.
- Clicking Add Machine/Device allows you to add a test machine. You can edit existing machines by clicking Test Machine Settings.
- On the Add or Edit test machine/device profile screen, enter the machine's name, select a lab, and select a machine from the drop-down list. Click on Desired Capabilities (Optional).
- Enter testsigma.privateBrowsing in the key. Select Boolean as the data type and enter true for the value in the Desired Capabilities field. Then click Create/ Update profile to save the configuration.
- Click Create/Update to save and update the test plan.
