title: AttributeError: 'WebElement' object has no attribute 'driver'
body: <p>I am new to Selenium and I am trying to scrape all the book list info stored in book_list, which will then be showed in pandas dataframe.<br />
  Here is the code that's the script I am using :</p>
  <pre><code>from selenium import webdriver
  import pandas as pd
  import time
  
  url = &quot;https://book.naver.com/&quot;
  query = 'python'
  
  driver = webdriver.Chrome()
  
  driver.get(url)
  
  driver.find_element_by_xpath('//*[@id=&quot;nx_query&quot;]').send_keys(query)
  time.sleep(4.5)
  
  driver.find_element_by_xpath('//*[@id=&quot;search_btn&quot;]').click()
  time.sleep(4.5)
  
  driver.find_element_by_xpath('//*[@id=&quot;content&quot;]/div[2]/ul/li[2]/a').click()
  time.sleep(4.5)
  
  books = driver.find_elements_by_xpath('//*[@id=&quot;searchBiblioList&quot;]/li[1]/dl')
  
  book_list = []
  
  for book in books:
      title = book.driver.find_element_by_xpath('.//*[@id=&quot;searchBiblioList&quot;]/li[1]/dl/dt/a').text
      desp = book.driver.find_element_by_xpath('.//*[@id=&quot;searchDescrition_17854273&quot;]').text
      book_item = {
      'title' : title,
      'desp' : desp
      }
      
      book_list.append(book_item)
      
  df = pd.DataFrame(book_list)
  print(df)
  </code></pre>
  <p><strong>This throws an error :</strong></p>
  <pre><code>AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-6-f96a3c3baaf4&gt; in &lt;module&gt;()
        4 
        5 for book in books:
  ----&gt; 6     title = book.driver.find_element_by_xpath('.//*[@id=&quot;searchBiblioList&quot;]/li[1]/dl/dt/a').text
        7     desp = book.driver.find_element_by_xpath('.//*[@id=&quot;searchDescrition_17854273&quot;]').text
        8     book_item = {
  
  AttributeError: 'WebElement' object has no attribute 'driver'
  </code></pre>
  <p><strong>Any help would be appreciated.</strong></p>