How to start browser in incognito window in Geb(Java)?

How can I start browser in incognito window in Geb(Java)?

Hello Tim,

Please use this sample script to open incognito window in the browser:

[
   {
           "platform": "Windows 10",
           "browserName": "chrome",
           "version": "latest",
           "build": "Behave Selenium Sample",
           "name": "Behave Sample Test",
           "chromeOptions" : {
               "args" : ["incognito"]  # ChromeOption to start chrome in incognito mode
   }
]