How to stop click the same button while the button always exist by selenium

Published: 14/01/2019
How to stop click the same button while the button always exist by selenium
Source: STACKOVERFLOW.COM

I faced one issue, before when I scrape multiple pages by Selenium, just use click next page button and use "NoSuchElementException" to stop it.but the url I faceing now is the element always exists, in the last page, if I click next page button, it just reload the current page. Anyone Can help to solve how to stop click the same button? items=driver.find_elements_by_class_name('item') while T

Read more
Related news
Comment
FACEBOOK