Skip to main content

Start browsers in private mode in Katalon Studio

The following guidelines show you how to start browsers (Firefox, Chrome, Edge Chromium) in a private mode in Katalon Studio.

Firefox

To use Katalon Studio with Firefox Private Browsing windows, do as follows:

  1. In Katalon Studio, go to Project > Settings > Desired Capabilities > Web UI > Firefox.

  2. Click Add on the command toolbar, then input the following values:

    Table 1
    NameTypeValue
    moz:firefoxOptionsDictionaryClick More (...). In the pop-up Dictionary Property Builder dialog, click Add, then input values from Table 2.
    Table 2
    NameTypeValue
    argsList--private

    Open Firefox with devtools in private mode

  3. Click Apply and Close. You can now execute tests in Firefox Private Browsing windows.

  4. To use the Record and Spy utility of Katalon Studio in private windows, you need to allow the Katalon Studio extension to run in private windows. See Mozilla document: Enabling or disabling extensions in private windows.

Chrome

To use Katalon Studio with the Incognito mode of Chrome, do as follows:

  1. In Katalon Studio, go to Project > Settings > Desired Capabilities > Web UI > Chrome.

  2. Click Add on the command toolbar, then input the following values:

    NameTypeValue
    argsList--incognito

    setting desired capabilities for Chromeincognito

  3. Click Apply and Close. You can now execute tests in Incognito mode of Chrome.

  4. To use the Record and Spy utility of Katalon Studio in Incognito mode of Chrome, you need to allow the Katalon Studio extension to run in Incognito mode of Chrome. Do as follows:
    • Open Incognito window
    • Go to chrome://extensions
    • Find the Katalon Studio extension, click Details
    • Toggle the button Allow in Incognito

Edge Chromium

To use Katalon Studio with the InPrivate mode of Edge Chromium, do as follows:

  1. In Katalon Studio, go to Project > Settings > Desired Capabilities > Web UI > Edge Chromium.

  2. Add a new property as follows.

    Table 1
    NameTypeValue
    ms:edgeChromiumbooleantrue
    ms:edgeOptionsDictionaryClick More (...). In the pop-up Dictionary Property Builder dialog, click Add, then input values from Table 2.
    Table 2
    NameTypeValue
    argsList-inprivate

    ks edge chromium dictionary property builder

    ks edge chromium private mode

  3. Click Apply and Close. You can now execute your test in InPrivate mode of Edge Chromium.

  4. To use the Record and Spy utility of Katalon Studio in InPrivate mode of Edge Chromium, you need to allow the Katalon Studio extension to run in InPrivate mode of Chrome. Do as follows:
    • Open InPrivate window
    • Go to edge://extensions/
    • Find the Katalon Studio extension, click Details
    • Toggle the button Allow in InPrivate