title: Login to Paytm login page using selenium
body: <p><a href="https://i.stack.imgur.com/pICOa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pICOa.png" alt="enter image description here"></a></p>
  
  <p>I want to login to this webpage using selenium. I have tried selenium's find_element_by_ and used inspect element from browser. But I was not able to login. I was searching for ids,names, classnames so that I can pass data using send_keys but failed to do such stuff. Can anybody help me by providing some code which can push data to desired fields. Thanks.
  This is what I have did till now.</p>
  
  <pre><code>driver=webdriver.Firefox()
  driver.get('https://paytm.com/')
  driver.find_element_by_class_name('login').click()
  </code></pre>
  
  <p>After this I was trying to click button Log In using</p>
  
  <pre><code>driver.find_element_by_xpath("//li[contains(text(),'Log in')]").click()
  </code></pre>
  
  <p>but it failed. It gave error that it is not able to find 'Log in'. As by default Log in button is also clicked, I tried filling info in Email but then it gave error that it is not selected, first select the input field. I tried selecting the input field by clicking the button but nothing solved.I tried filling Mobile and password also but they also didn't worked.</p>
  
  <p><b>Edit</b></p>
  
  <p>Actually tags are also not working. I used names, classnames as well as ids but find_element_by_* is not working for this webpage</p>