Does LambdaTest supports running tests in Incognito Chrome?

I am executing my test cases on LambdaTest and it seems to run fine; I have a specific use case where a pop up appear on my application due to which I have to restart the whole session. When I did it manually on my side, I was able to bypass this using incognito on my local browser. Does LambdaTest supports running tests in Incognito Chrome?

Hi Ian,

When executing the tests on LambdaTest, it should not have any cookies or cache since you get a fresh browser every time with no residual data from the last run.

Also, we do support running tests in Incognito mode on Chrome. You just need to pass incognito flag under chromeOptions.

ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY, options);