title: Selenium cookies import not working
body: <p>I have problem with selenium cookies. I try </p>
  
  <pre><code>import pickle
  from selenium import webdriver
  driver = webdriver.Firefox()
  driver.get('http://pc.bazos.sk/pridat-inzerat.php')
  # login code
  pickle.dump(driver.get_cookies() , open("QuoraCookies.pkl","wb"))
  
  
  import pickle
  from selenium import webdriver
  driver = webdriver.Firefox()
  driver.get('http://pc.bazos.sk/pridat-inzerat.php')
  for cookie in pickle.load(open("QuoraCookies.pkl", "rb")):
      driver.add_cookie(cookie)
  </code></pre>
  
  <p>But this not working for me. On site is SMS authentication ,when you get key and stay loged in site. Every time when I run python script I must type my telephone number etc. Thank you so much for help </p>