..... <table class="users"> <tbody><tr class="new"> <td>1</td> </tr></tbody></table>
Related questions
while k < 10: try: new_users = driver.find_element_by_xpath('//*[@id="new"]/div/table[2]/tr['+str(k)+']').text list.append(new_users+'\n') except: pass j += 1
Find more questions by tags PythonSelenium