Hi,
Is there a way that I can launch the CHROME browser in INCOGNITO mode to run the scripts?
I'm using Silk Test Workbench.
Kind regards,
Srikanth
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more.
Hi,
Is there a way that I can launch the CHROME browser in INCOGNITO mode to run the scripts?
I'm using Silk Test Workbench.
Kind regards,
Srikanth
Hi Srikanth2021
You should simply need to specify the "-incognito" command line argument.
For example, in a VB.NET Script:
Dim incognitoChrome As New BrowserBaseState(BrowserType.GoogleChrome, "http://demo.borland.com") incognitoChrome.CommandLineArguments = "-incognito" incognitoChrome.Execute()
Regards
Robert