ArunThomas
ArunThomas

Reputation: 37

Karate UI testing

I was trying to do a POC with the karate test framework for UI application. We are using Chrome browser.We are required to test the application incognito mode( Or we need to clear the cache and history every-time to get the test running) what should be the driver type options that we should use to run application in incognito Mode.

Upvotes: 1

Views: 1015

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58088

You don't need to worry about that because Karate will start each Chrome instance in a new --user-data-dir. If you really want you can customize it (refer docs).

And --incognito passed as a command-line option will do what you want. Look for the addOptions in the driver settings.

Upvotes: 1

Related Questions