I am trying to disable all cookies in firefox selenium on python. I do not want first party cookies and I do not want third-party cookies.
According to this stack overflow post, the way to disable cookies is like this:
from selenium import webdriver
fp = webdriver.FirefoxProfile()
fp.set_preference("network.cookie.cookieBehavior", 2)
browser = webdriver.Firefox(firefox_profile=fp)
However, when I manually checked the browser opened by firefox selenium, first party cookies are still being recorded. Is this a problem with firefox selenium, or am I doing something wrong still?
