title: selenium search the item under one special class, href link
body: <p>I am trying to get some link for the website <a href="https://web.archive.org/web/*/https://cd.lianjia.com/" rel="nofollow noreferrer">https://web.archive.org/web/*/https://cd.lianjia.com/</a>, I want to get the link for each date,</p>
  <pre><code>import pandas as pd
  from selenium import webdriver
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.support.ui import WebDriverWait
  
  path = 'C:\Windows\chromedriver.exe'
  driver = webdriver.Chrome(path)
  driver.implicitly_wait(10)
  driver.get('https://web.archive.org/web/*/https://cd.lianjia.com/ ')
  
  
  element =driver.find_element_by_xpath('/html/body/div[4]/div[3]/div/div[2]/span[21]')
  actions = ActionChains(driver)
  actions.move_to_element(element).click().perform()
  </code></pre>
  <p>Because it has the data for several years, so I tried this to a specific year, 2016, now I am trying to get the href link for each date,</p>
  <pre><code>  day = driver.find_elements_by_css_selector(&quot;div.calendar-day&quot;)
  for a in day:
      print(a.text)
  </code></pre>
  <p>But it only return number for days</p>
  <pre><code>      3
  5
  6
  7
  27
  6
  14
  25
  26
  28
  7
  8
  21
  27
  1
  9
  25
  15
  19
  21
  4
  17
  21
  27
  13
  29
  15
  19
  20
  26
  2
  4
  </code></pre>
  <p>Then I tried this code to find the link</p>
  <pre><code>date = driver.find_elements_by_css_selector(&quot;a[href* = 'web']&quot;)
  date = driver.find_elements_by_css_selector(&quot;a[href* = 'lianjia']&quot;)
  </code></pre>
  <p>but it cannot find the link, can someone help me with this, I have been stopped here for five days</p>