In Java, I’d like to instantiate the driver on the incognito window. What options do I have?
Hey Devan,
To instantiate the driver on the incognito window, the user needs to pass arguments inside the chrome options as below:
ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");