Forum Discussion

Lee_M's avatar
Lee_M
Community Hero
4 years ago

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)

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

     

    chrome.exe google.com -incognito
    • Lee_M's avatar
      Lee_M
      Community Hero

      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