I am trying to scrape this website with selenium on python I keep getting this error every time I try to click on a dropdown button that is inside a div tag can some help me please the error is 'Element is not clickable at point (1341, 240)' below is the website
'https://tennisinsight.com/player/56330/andrea-gamiz/'
if you scroll to the bottom of the page, I am trying to click on the duration dropdown options in the match stats sections. below is my code so far
driver = webdriver.Chrome()
driver.maximize_window()
wait = WebDriverWait(driver, 5)
small_wait = WebDriverWait(driver, 5)
driver.execute_script('window.open("https://tennisinsight.com/player/56330/andrea-gamiz/","_self")')
driver.execute_script("document.body.style.zoom='75%'")
from selenium.webdriver.common.keys import Keys
html = driver.find_element_by_tag_name('html')
html.send_keys(Keys.END)
time.sleep(3)
element = wait.until(EC.element_to_be_clickable((By.XPATH, ' //*[@id="matchStatsDuration"]')))
element.click()