I copied the xpath of the button that downloads the csv of the lifetime concurrent players I want, but it's not working:
url = 'https://steamdb.info/app/730/graphs/'
try:
driver.get(url)
except:
pass
wait = WebDriverWait(driver, 10)
driver.execute_script("window.scrollBy(0 , 750 );")
wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id="highcharts-7mr3aoq-0"]/svg/g[11]/g/image'))).click()
wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id="highcharts-7mr3aoq-0"]/div/ul/li[1]'))).click()
image.highcharts-button-symbol. It's the second buttondriver.find_elements_by_class_name("highcharts-button-symbol").click(), to download the file. If multiple then create a list and get the 1st elementNoSuchElementExceptionwhen I tried this