title: Is there a way to click a list of multiple buttons, one by one, in selenium?
body: <p>I am a student working on a scraping project with selenium on python. I am trying to scrape data from multiple profiles, that are all formatted the same. There is a directory website with buttons that lead to all of the profiles, but the problem that I am having is being able to click every button one at a time because they are all formatted the same. My goal is to be able to open the 1st link in a new tab, scrape the data from that profile, then close the first profile's tab and move on too the second. I hope to make this process repeatable. Here is what I have so far: </p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.action_chains import ActionChains
  import time
  from selenium.webdriver.common.keys import Keys
  
  driver = webdriver.Chrome(executable_path="MY PATH TO MY CHROME DRIVER")
  driver.implicitly_wait(5)
  driver.get("http://directory.bcsp.org")
  
  buttons = driver.find_elements_by_link_text('View Profile')
  </code></pre>
  
  <p>Please let me know if you have any solutions to my problem. Thank you :)</p>