Couldn't Click Bottom using xPath Python Selenium

前端 未结 1 1253

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

相关标签:
1条回答
  • 2021-01-26 02:27

    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()
    
    0 讨论(0)
提交回复
热议问题