title: selenium get element by css selector
body: <p>I am trying to get user details from each block as given</p>
  
  <pre><code>driver.get("https://www.facebook.com/public/karim-pathan")         
  wait = WebDriverWait(driver, 10)
  li_link = []
  for s in driver.find_elements_by_class_name('clearfix'):
      print s
      print s.find_element_by_css_selector('_8o._8r.lfloat._ohe').get_attribute('href')
      print s.find_element_by_tag_name('img').get_attribute('src')
  </code></pre>
  
  <p>it says:</p>
  
  <blockquote>
    <p>unable to find element with css selector </p>
  </blockquote>
  
  <p>any hint appreciable.</p>