title: Selenium: Message: invalid argument: invalid 'sameSite'
body: <p>When I'm trying to import cookies from json to selenium, I got the error 
  <code>selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: invalid 'sameSite'</code></p>
  
  <p>Why is this problem happens and how should I fix it?
  Edit: This is my code</p>
  
  <pre><code>from selenium import webdriver
  
  cookies = [
  {
      "domain": ".facebook.com",
      "hostOnly": False,
      "httpOnly": False,
      "name": "act",
      "path": "/",
      "sameSite": "lax",
      "secure": True,
      "session": True,
      "storeId": "0",
      "value": "0000....000", #the value here is changed
      "id": 1
  }
  ]
  
  driver = webdriver.Chrome(executable_path="chromedriver.exe")
  driver.get("https://www.facebook.com/")
  driver.add_cookie(cookies[0])
  driver.get("https://www.facebook.com/")
  </code></pre>