I am trying to iterate through each page, but below code is not working for me.
pages=driver.find_elements_by_xpath("//*[@id='nav']/tbody/tr/td/a") print len(pages) counter=1 for page in pages: counter+=1 page.click()
Aucun commentaire:
Enregistrer un commentaire