title: Python web scraping javascript table using selenium
body: <p>Hello to all this is my first post hope you are good!</p>
  <p>I try to extract the content of the table located on this site: <a href="https://pamestoixima.opap.gr/" rel="nofollow noreferrer">https://pamestoixima.opap.gr/</a> . I want to extract the table as is. I have tried several ways such as beautifulSoup , pandas, and selenium but with no success! The latest code I have tried is this:</p>
  <pre><code>from bs4 import BeautifulSoup
  from selenium import webdriver
  
  driver = webdriver.Chrome( executable_path=r'C:path to /chromedriver.exe')
  driver.get('https://pamestoixima.opap.gr/')
  
  soup = BeautifulSoup(driver.page_source,'lxml')
  author_element = soup.find(&quot;table&quot;, class_=&quot;results-table&quot;)
  
  print(author_element.text)
  driver.quit()
  </code></pre>
  <p>The error message I get is this:</p>
  <blockquote>
  <p>USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection:</p>
  </blockquote>
  <p>Thank you in advance for any help!</p>