title: Finding all elements with an ID using Selenium
body: <p>I'm using the selenium web driver and would like to find all of the elements on a web page with a partial match to a specific "ID" attribute. (ex. find "slot" when there are IDs of slot1 slot5 ect.) I initially thought I could simply call "find_element_by_id(slot)" in a loop but that function only returns the first element with that ID.
  If possible I would like generate a list for all matches.</p>
  
  <p>Link to the documentation:
  <a href="http://selenium-python.readthedocs.io/locating-elements.html" rel="nofollow">http://selenium-python.readthedocs.io/locating-elements.html</a></p>
  
  <p>Also I'm new to stack overflow so if there is a different way I should ask questions in the future, please enlighten me.</p>