Solution for Incognito mode, cookies are not getting disabled
is Given Below:
I’m new in the selenium and I’m having some issue to handle cookies in incognito mode of Chrome driver. I’m running the my one of the test screanrio in chromedriver. Now the script is same but when I run the script normal mode test case went well but same script when I run through the incognito mode one cookies message display over there. Not sure why it’s happening. Issue is only happen in incognito mode.
I tried couple of options like:
profile.default_content_setting_value.cookies = 0 and 2.
Can anyone help me out please?