xxxxxxxxxx
import pickle
import selenium.webdriver
driver = selenium.webdriver.Firefox()
driver.get("http://www.google.com")
cookies = pickle.load(open("cookies.pkl", "rb"))
for cookie in cookies:
cookie.pop('sameSite')
driver.add_cookie(cook)
driver.refresh()