I know that I can pass addOptions for example for native chrome: addOptions: [ '--incognito' ]
however, the addOption only works for the native chrome not with chromedriver, I tried to pass in this as a
- def session = { capabilities: { browserName: 'chrome' }, desiredCapabilities: { addOptions: '--incognito' } }
but I don't think it is getting picked up as well when I pass this session in.
I have to use incogonito as chrome will otherwise log my LDAP in when I am my company VPN. I want my test program under a service account.