I am interested in automating scraping from webpages like https://www.hltv.org/team/7532/big. More precisely I would like to extract dates and #ranking from boxes displayed when you hang your mouse along the plot (see screenshot below)
I tried to use python combined with selenium but I don't really know how to proceed further although I went through different tutorials. I feel I need to change top and left value from style attribute but I don't know how to do it and whether I should use xpath, css selector or anything else. Here is a piece of my code which returns the WebElement I am interested in (presumably) but I didn't manage to extract anything from it :(
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
options = webdriver.ChromeOptions()
options.add_argument('--ignore-certificate-errors')
options.add_argument('--incognito')
options.add_argument('--headless')
executable_path=r'C:/Users/fabbe/Documents/Python Scripts/hltv/chromedriver/chromedriver.exe'
driver = webdriver.Chrome(executable_path, chrome_options=options)
driver.get("https://www.hltv.org/team/7532/big")
elements = driver.find_elements_by_xpath("//*[@id='fusioncharts-tooltip-element']")