# Incognito Mode

**URL:** <https://community.automationedge.com/t/incognito-mode/3502>\
**Category:** Process Studio\
**Tags:** rpa, process-studio\
**Created:** [May 30, 2021, 2:46pm UTC](https://community.automationedge.com/t/incognito-mode/3502 "2021-05-30T14:46:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zack](https://avatars.discourse-cdn.com/v4/letter/z/f6c823/32.png) [@zack](https://community.automationedge.com/u/zack)\
**Post date:** [May 30, 2021, 2:46pm UTC](https://community.automationedge.com/t/incognito-mode/3502/1 "2021-05-30T14:46:42Z")

</div>

Hi Team ,

Is there any way to open incognito mode using start browser in PS.

Thanks

---

<div class="post-metadata">

**Author:** ![rakesh.kale](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rakesh.kale](https://community.automationedge.com/u/rakesh.kale)\
**Post date:** [June 23, 2021, 5:09am UTC](https://community.automationedge.com/t/incognito-mode/3502/3 "2021-06-23T05:09:15Z")

</div>

Hi Zack,

No. You cant open the browser in Incognito mode using the **Start Browser** step.

You can use the below code in the **User Defined Java Class** step to launch the browser in Incognito mode.

ChromeOptions o= new ChromeOptions();  
// add Incognito parameter  
o.addArguments("–incognito");  
// DesiredCapabilities object  
DesiredCapabilities c = DesiredCapabilities.chrome();  
//set capability to browser  
c.setCapability(ChromeOptions.CAPABILITY, o);  
WebDriver driver = new ChromeDriver(o);  
driver.get("[https://www.google.com/](https://www.google.com/) ");

---

<div class="post-metadata">

**Author:** ![fbaldin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/fbaldin/32/99_2.png) [@fbaldin](https://community.automationedge.com/u/fbaldin)\
**Post date:** [June 23, 2021, 7:27pm UTC](https://community.automationedge.com/t/incognito-mode/3502/4 "2021-06-23T19:27:42Z")

</div>

@rakesh.kale I tried your code in the suggested step but I get this error:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/1X/f8645a572c3f531e2ee549b4924af4f9050eca54.png)

---

<div class="post-metadata">

**Author:** ![rakesh.kale](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rakesh.kale](https://community.automationedge.com/u/rakesh.kale)\
**Post date:** [June 24, 2021, 3:16am UTC](https://community.automationedge.com/t/incognito-mode/3502/5 "2021-06-24T03:16:35Z")

</div>

Hi Fernando,

I am attaching a workflow for your reference. Please try with the same.

In the UDJ class, provide your driver path for the below property.

System.setProperty(“webdriver.chrome.driver”, “ **C:\Process-Studio-RAKESH\_K\process-studio\psplugins\Web-GUI\webui\_drivers\CHROME91.exe** ”);  
[BrowserIncognitoMode.psw](https://community.automationedge.com/uploads/short-url/s18WBRsuzCX67YMlUHas0b7Amg8.psw) (15.4 KB)

---

<div class="post-metadata">

**Author:** ![zack](https://avatars.discourse-cdn.com/v4/letter/z/f6c823/32.png) [@zack](https://community.automationedge.com/u/zack)\
**Post date:** [July 12, 2021, 11:01am UTC](https://community.automationedge.com/t/incognito-mode/3502/6 "2021-07-12T11:01:44Z")

</div>

Hi Rakesh,

If we’ll open the browser in incognito mode using UDJC after that we will use any plugin of PS(like web action, dropdown and etc) it will throw an error that: chrome not reachable.

Do you have any soution for this.

---

<div class="post-metadata">

**Author:** ![fbaldin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/fbaldin/32/99_2.png) [@fbaldin](https://community.automationedge.com/u/fbaldin)\
**Post date:** [August 25, 2021, 7:22pm UTC](https://community.automationedge.com/t/incognito-mode/3502/7 "2021-08-25T19:22:54Z")

</div>

if you open Browser using UDJ you’ll have to keep on sending commands and events in that code… Web Steps won’t work.
