Ask a Question

run Chrome incognito

Lee_M
Community Hero

run Chrome incognito

I have a need to run the Chrome browser in incognito mode

I can't find a way that I am allowed this by out of the box

 

I can write a Batch file or a tested App to call Chrome with incognito mode

 

Does anybody know how I can navigate using the new browser setup ?

Navigate defaults back to chrome (normal mode)

2 REPLIES 2
Marsha_R
Community Hero

Re: run Chrome incognito

try using something like this to launch it in a code snippet instead of using navigate

 

chrome.exe google.com -incognito

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Lee_M
Community Hero

Re: run Chrome incognito

I am running a TestedApp to start a batch file

 

ipconfig /flushdns
c:
cd "Program Files\Google\Chrome\Application"
start Chrome.exe --incognito

 

This works as expected but TestComplete can't perform actions in the Incognito mode Window

 

I have tried navigating with the "Current browser" (only window open), but nothing appears to happen 

cancel
Showing results for 
Search instead for 
Did you mean: