I am trying to locate an href containing the substring '.ics', such as in the screenshot, and return the link as a string. 
Below is my code attempt:
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome()
driver.get('http://miamioh.edu/emss/offices/career-services/events/index.html')
element = driver.find_element_by_partial_link_text('.ics')
However, I get this error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"partial link text","selector":".ics"}
No doubt I am overlooking something very basic, but I can't figure out what. I have also tried the line
element = driver.findElement(By.cssSelector("a[href*='services.ics']")).click();
instead of the other line beginning with 'element'. However, this gives
AttributeError: 'WebDriver' object has no attribute 'findElement'