title: How can I do web scraping through XPath from dynamic charts with multiple criteria options?
body: <p>I am very new to scraping and programing in general.
  That's why I am asking for help with the next issue.
  There is a web site under the url.
  I need to get data from dynamic charts.
  The code has to be written with an option of looping through all the required days data represented for and an option of looping though all elements containing the data.</p>
  
  <p>First issue is that I need somehow to get the data following the XPath.
  And the second one is that I have to write the loop to get all
  <a href="https://i.stack.imgur.com/Fl3vW.png" rel="nofollow noreferrer">the required inflammation</a></p>
  
  <pre><code>url = "https://www.oree.com.ua/index.php/control/results_mo/DAM"
  
  
  from selenium import webdriver
  import requests
  import pandas as pd
  import time
  
  
  
  browser = webdriver.PhantomJS(executable_path = "C:/ProgramData/Anaconda3/Lib/site-packages/phantomjs-2.1.1-windows/bin/phantomjs")
  browser.get(url)
  time.sleep(2)
  
  
  elements = browser.find_elements_by_xpath("html/body/div[5]/div[1]/div[3]/div[3]/div/div/table/tbody/tr[1]/td[3]/text()")
  for element in elements:
      print(element)
  
  browser.quit()
  </code></pre>