element = driver.find_element_by_class_name('pagination-r') driver.execute_script("arguments[0].click();", element)