title: Scraping Naukri
body: <p>I am trying to scrape <a href="https://www.naukri.com/information-technology-jobs-in-hyderabad-secunderabad-secunderabad" rel="nofollow noreferrer">https://www.naukri.com/information-technology-jobs-in-hyderabad-secunderabad-secunderabad</a> for number of pages. I am trying to get company name, designation and skills. I have used inspect and copy xpath. I am facing issue to click next button multiple times and getting data.</p>
  <pre><code>for i in range(1,21):
      company_name.append(driver.find_element_by_xpath('//*[@id=&quot;root&quot;]/div[4]/div[2]/section[2]/div[2]/article['+str(i)+']/div[1]/div/div/a[1]').text)
      time.sleep(3)
      designation.append(driver.find_element_by_xpath('//*[@id=&quot;root&quot;]/div[4]/div[2]/section[2]/div[2]/article['+str(i)+']/div[1]/div/a').text)
      time.sleep(3)
      skills.append(driver.find_element_by_xpath('//*[@id=&quot;root&quot;]/div[4]/div[2]/section[2]/div[2]/article['+str(i)+']/ul').text)
  </code></pre>