title: Couldn't sign in to google using python selenium
body: <p>I'm trying to make an auto gift card redeemer, and I made this code</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from webdriver_manager.chrome import ChromeDriverManager
  from selenium.webdriver.support.wait import WebDriverWait
  from selenium.webdriver.common.by import By
  import selenium.webdriver.support.expected_conditions as ec
  import time
  
  email = input(&quot;Email &gt;&gt; &quot;)
  password = input(&quot;Pass &gt;&gt; &quot;)
  gc_number = input(&quot;Number of giftcard &gt;&gt; &quot;)
  directory = input(&quot;Code file directory &gt;&gt; &quot;)
  
  
  options = webdriver.ChromeOptions()
  options.add_argument(&quot;--incognito&quot;)
  driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
  
  driver.get(&quot;https://play.google.com/&quot;)
  signin = driver.find_element_by_id(&quot;gb_70&quot;)
  signin.click()
  usr = driver.find_element_by_name(&quot;identifier&quot;)
  usr.clear()
  usr.send_keys(email)
  usrsubmit = driver.find_element_by_id(&quot;identifierNext&quot;)
  usrsubmit.click()
  pwd = driver.find_element_by_name(&quot;password&quot;)
  pwd.clear()
  pwd.send_keys(password)
  pwdsubmit = driver.find_element_by_id(&quot;passwordNext&quot;)
  pwdsubmit.click()
  redeem = driver.find_element_by_class_name(&quot;gm1qLe&quot;)
  redeem.click()
  
  
  for i in range(gc_number):
      elem = driver.find_element_by_class_name(&quot;whsOnd zHQkBf&quot;)
      elem.clear()
      code_file = open(directory, &quot;r&quot;)
      code = code_file.readlines()
      code_file.close()
      elem.send_keys(code[i])
      elem.submit()
  </code></pre>
  <p>but, I got this error message</p>
  <blockquote>
  <p>Couldn't sign you in</p>
  <p>This browser or app may not be secure. Learn more</p>
  <p>Try using a different browser. If you’re already using a supported<br />
  browser, you can refresh your screen and try again to sign in.</p>
  </blockquote>
  <p>pls help me, how to fix this?</p>