title: pandas beautiful soup table export
body: <p>I'm trying export table but my code causes error: 
  ValueError: No tables found. Could anybody help me with it?</p>
  
  <p>Code below:</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.select import Select
  import requests
  import select
  import pandas as pd
  from bs4 import BeautifulSoup
  browser = webdriver.Firefox()
  browser.maximize_window()
  browser.get('http://licytacje.komornik.pl/Notice/Search')
  browser.find_element_by_xpath("//select[@name='Type']/option[text()='Nieruchomość']").click()
  browser.find_element_by_class_name('button_next_active').click()
  soup = BeautifulSoup(res.content,'lxml')
  table = soup.find("table",{"class":"wMax"})
  df = pd.read_html(str(table))
  </code></pre>
  
  <p>I've improved code. Now it looks like below:</p>
  
  <pre><code>import requests
  import select
  import pandas as pd
  from bs4 import BeautifulSoup
  browser = webdriver.Firefox()
  browser.maximize_window()
  browser.get('http://licytacje.komornik.pl/Notice/Search')
  browser.find_element_by_xpath("//select[@name='Type']/option[text()='Nieruchomość']").click()
  browser.find_element_by_class_name('button_next_active').click()
  soup = BeautifulSoup(browser.page_source, "lxml")
  table = soup.find("table",{"class":"wMax"})
  df = pd.read_html(str(table))
  writer = pd.ExcelWriter('test_licytacje.xlsx',engine='xlsxwriter')   
  df.to_excel(writer,sheet_name='New1',startrow=0 , startcol=0)[0]
  </code></pre>
  
  <p>But currently last line of the code gives such error:
  AttributeError: 'list' object has no attribute 'to_excel'</p>
  
  <p>any feedback what's wrong, please.</p>