‘New Context’ keyword does not launch incognito window even when we pass ‘–incognito’ option through args. It is understood that ‘New Context’ opens up a fresh browser with no cookies, extensions etc., However, It still recognizes SSO credentials and takes us to landing page of our application.
We have a config named ‘incognito’ and Our requirement is to open a normal browser window if the config value is false and it should take our SSO credentials since it is a normal browser window. If incognito == true, It should open incognito window which should redirect us to SSO login page where we need to enter credentials
Could someone assist me on opening a incognito using New Context keyword?
Ours is SSO enabled application and it automatically logs in by recognizing my profile when I hit the URL. However, It asks me to login explicitly when I launch the URL in incognito window manually. I have been exploring if I can launch incognito window using New Context, but no luck so far