How to start Browser in incognito window using Python-Behave?

How to start browser in incognito window using Python-Behave?

Hello Jacqueline,

Using chromeOptions to start chrome in incognito mode:

desired_cap["chromeOptions"] = {}
desired_cap["chromeOptions"]["args"] = ["incognito"]