Python Selenium create loop to click through links on a page and press button on each new page
问题 I'm fairly new to Python and Selenium, but starting to pick it up. I've been googling how to solve this coding issue, but can't find the exact solution. What I'm trying to accomplish is click all of the username links on a page, click the follow button on the page that I'm taken to, then return to the original page and do the same for rest of the username links. Basically, I want to create a loop that does this: click on the first username click on the follow button go back to the previous