human
python, locating and clicking a specific button with selenium
assistant
Here is some code to find button that is in li class `next` and assign it to variable `next`

next = driver.find_element_by_css_selector('li.next>a')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.