title: Selenium xpath behaving differently with python than with ruby
body: <p>I'm having a strange issue with selenium.</p>
  
  <ol>
  <li><p>This ruby code:</p>
  
  <pre><code>page.all(:xpath, "//table[3]//tr[last()]//td")
  </code></pre>
  
  <p>Will get me all the cells of the last row of the third table on a page.</p></li>
  <li><p>This python code:</p>
  
  <pre><code>driver.find_elements_by_xpath("//table[3]//tr[last()]//td")
  </code></pre>
  
  <p>Doesn't return anything at all.</p></li>
  </ol>
  
  <p>Edit: The issue was with the page loading at different speeds. <a href="https://stackoverflow.com/questions/26566799/how-to-wait-until-the-page-is-loaded-with-selenium-for-python">Waiting until the page loaded</a> solved the problem.</p>