title: how to click the login button using selenium xpath
body: <p>I am trying to login to a website using python so that I can get some of their text from the website. </p>
  
  <p>Here is my code. There always an error at the end of the code after the id and password code.</p>
  
  <pre><code>import os
  from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC 
  from selenium.webdriver.common.by import By
  
  driver = webdriver.Chrome(executable_path=r"C:\chromedriver\chromedriver.exe")
  
  driver.get('https://www.saramin.co.kr/zf_user/auth')
  
  driver.implicitly_wait(3)
  
  driver.find_element_by_name('id').send_keys('&lt;&lt;my_id&gt;&gt;')
  driver.find_element_by_name('password').send_keys('&lt;&lt;my_password&gt;&gt;')
  
  driver.find_element_by_xpath('//*[@id="frmNIDLogin"]/fieldset/input').click()
  </code></pre>
  
  <p>HTML source of the button:</p>
  
  <p><a href="https://i.stack.imgur.com/3CGMm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3CGMm.png" alt="enter image description here"></a></p>