Forum Discussion

ReemaGurumukhi's avatar
ReemaGurumukhi
Frequent Visitor
2 years ago

How to launch URL in incognito mode?

Browsers.Item(btChrome).RunOptions = "--incognito"
Browsers.Item(btChrome).Navigate("https://www.google.com/");
Sys.Browser().BrowserWindow(0).Maximize();

 

 

Its not working.

1 Reply

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Try,

    function main()
    {
        Browsers.Item(btChrome).RunOptions = "-incognito www.w3schools.com";
        Browsers.Item(btChrome).Run();
    }