I think I pretty much tried every xPath within the Bottom element to download an Excel file by using xPath methods but don\'t know why they are incorrect. Besides, I also tried
Replace click event with action class, which will solve this Exception
from selenium.webdriver.common.action_chains import ActionChains actions = ActionChains(driver) actions.move_to_element(firstContest).click().perform()