title: Failed to use selenium to automatically click the link in a website
body: <p>I want to use selenium to automatically log in a website(<a href="https://www.cypress.com/" rel="nofollow noreferrer">https://www.cypress.com/</a>) and download some materials.
  I successfully open the website using selenium. But when I use selenium to click the &quot;Log in&quot; button. It shows this:
  <a href="https://i.stack.imgur.com/eI9cB.png" rel="nofollow noreferrer">Access Denied</a></p>
  <p>Here is my code:</p>
  <pre><code>from time import sleep
  from selenium import webdriver
  
  class Cypress():
      def extractData(self):
          browser = webdriver.Chrome(executable_path=r&quot;C:chromedriver.exe&quot;)
          browser.get(&quot;https://www.cypress.com/&quot;)
          sleep(5)
          element = browser.find_element_by_link_text(&quot;Log in&quot;)
          sleep(1)
          element.click()
          pass
  
  if __name__ == &quot;__main__&quot;:
      a = Cypress()
      a.extractData()
      pass
  </code></pre>
  <p>Can anyone give me some idea?</p>