while True: try: loadmore = browser.find_element_by_xpath('//div[@class="right"]/div[@class="loadMore"]') loadmore.click() except: break
while True: try: loadmore = browser.find_element_by_xpath('//div[@class="right"]/div[@class="loadMore"]') loadmore.click() except: break
转载于:https://www.cnblogs.com/hankleo/p/10773053.html