I am trying to scan the cookies of a specific page with selenium.
Unfortunately, the get_cookies()
method can only get the first-party cookies, but I am more interested in the 3rd party cookies. As far as I can see the easiest solution could be reading Cookies database file of the browser. I tested my idea with the normal chrome browser and it works fine, I can find the 3rd party cookies with all their details in this file - \AppData\Local\Google\Chrome\User Data\Default\Cookies
.
My problem that I can't figure out where the webdriver.chrome browser is saving the cookies on my local pc. Can anybody help with this?