title: Selenium Instagram Login
body: <p>Hey guys I am beginning with Selenium Web <strong>Scraping</strong> and I want to Login on Instagram. but every time ther occures the error at the send_keys that &quot;Exception has occurred: NoSuchElementException - Message: no such element: Unable to locate element: {&quot;method&quot;:&quot;xpath&quot;,&quot;selector&quot;:&quot;//*[@id=&quot;loginForm&quot;]/div/div[1]/div/label/input&quot;}&quot;</p>
  <p>Please help</p>
  <pre><code>from selenium import webdriver
  from webdriver_manager.chrome import ChromeDriverManager
  
  # Initiate the browser
  browser  = webdriver.Chrome(ChromeDriverManager().install())
  
  #Open Website
  browser.get('https://instagram.com')
  
  #login
  ig_phone = &quot;&quot;
  ig_pass = &quot;&quot;
  
  
  
  #cookies
  browser.find_element_by_xpath('/html/body/div[2]/div/div/div/div[2]/button[1]').click()
  
  #fill
  browser.find_element_by_xpath('//*[@id=&quot;loginForm&quot;]/div/div[1]/div/label/input').send_keys(ig_phone)
  browser.find_element_by_xpath('//*[@id=&quot;loginForm&quot;]/div/div[2]/div/label/input').send_keys(ig_pass)
  browser.find_element_by_xparh('//*[@id=&quot;loginForm&quot;]/div/div[3]/button').click()
  
  #goon
  browser.find_element_by_xpath('//*[@id=&quot;react-root&quot;]/section/main/div/div/div/div/button').click()
  </code></pre>