Was wondering why I could not find the cookie for a specific domain despite it being stored. I found out the issue was that self.cookie_file was the path to my Firefox Developer Edition so I changed the path to the correct Firefox and it worked.
class FirefoxBased:
"""Superclass for Firefox based browsers"""
def __init__(self, browser_name, cookie_file=None, domain_name="", **kwargs):
self.browser_name = browser_name
self.cookie_file = cookie_file or self.__find_cookie_file(**kwargs)
self.cookie_file = "/home/speckles/.mozilla/firefox/g5cxou3r.default-release-1715532506105/cookies.sqlite" # TODO: Remove this!!!!!!
Perhaps its something to do with __expand_and_check_path in the same class as it returns the first result? edit: yeah it does seem like it imo

i use arch btw
Was wondering why I could not find the cookie for a specific domain despite it being stored. I found out the issue was that
self.cookie_filewas the path to my Firefox Developer Edition so I changed the path to the correct Firefox and it worked.Perhaps its something to do with
__expand_and_check_pathin the same class as it returns the first result? edit: yeah it does seem like it imoi use arch btw