next buton using selenium
while True:
elm = driver.find_element_by_class_name('next')
if 'inactive' in elm.get_attribute('class'):
break;
elm.click()
Are there any code examples left?
New code examples in category Other
while True:
elm = driver.find_element_by_class_name('next')
if 'inactive' in elm.get_attribute('class'):
break;
elm.click()