title: Got only first row in table when using Selenium scraping (Python)
body: <p>I'm trying to scrape the whole table from: <a href="https://free-proxy-list.net/" rel="nofollow noreferrer">https://free-proxy-list.net/</a> </p>
  
  <p>And I managed to scrape it but it resulted in only the first row of the table instead of 20 rows. </p>
  
  <p>I saw previous similar questions that were answered and I have tried the solutions given but my selenium was unable to locate the element when I use <code>.//</code> for my xpath.</p>
  
  <pre class="lang-python prettyprint-override"><code>for bod in driver.find_elements_by_xpath("//*[@id='proxylisttable']/tbody"):
      col = bod.find_elements_by_xpath("//*[@id='proxylisttable']/tbody/tr")
      for c in col:
          ip = c.find_element_by_xpath('//*[@id="proxylisttable"]/tbody/tr/td[1]')
          port = c.find_element_by_xpath('//*[@id="proxylisttable"]/tbody/tr/td[2]')
          code = c.find_element_by_xpath('//*[@id="proxylisttable"]/tbody/tr/td[3]')
          country = c.find_element_by_xpath('//*[@id="proxylisttable"]/tbody/tr/td[4][@class = "hm"]')
          anonymity = c.find_element_by_xpath('//*[@id="proxylisttable"]/tbody/tr/td[5]')
          google = c.find_element_by_xpath('//*[@id="proxylisttable"]/tbody/tr/td[6][@class = "hm"]')
  </code></pre>
  
  <p>My code resulted in only scraping the first row 20 times instead of getting 20 rows. The rows are indicated at <code>ip</code>, <code>port</code>, <code>code</code>, etc. I have tried multiple types of xpath syntax but still end up the same.</p>