How to instanciate driver on incognito window in Java?
Hi Miro Vasil,
The user needs to pass arguments inside the Chrome options as shown below:
ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");
How to instanciate driver on incognito window in Java?
Hi Miro Vasil,
The user needs to pass arguments inside the Chrome options as shown below:
ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");