I am trying to automate the downloading of an excel file. This is my first time using selenium and i don't normally code in Python so maybe a bit of a basic question.
I have got a login in and ticking a checkbox working, but the second to last step which is clicking a download button which seems to be a . I have looked around stack overflow and google i can find similar problems but i can not find a solution that fixes my problem. I am normally using
.find_element_by_xpath
Which works for everything else but not the download button. I have added a wait to make sure page is fully loaded but it does not make it any easier.
#Downlod checked Catalogue
CatDownloadBtn = driver.find_element_by_xpath('/html/body/div[3]/form/div[2]/input[1]')
CatDownloadBtn.click()
I have tired the xpath and full xpath neither worked.
I am getting the following error.
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (213, 17). Other element would receive the click: ...
The Inspector -> Element as in code.
<div class="col-md-offset-0 col-md-10 downloadBtn">
<input name="submit" type="submit" class="btn btn-default" value="Download Catalogues">
<input name="submit" type="submit" class="btn btn-default" value="Download Attributes">
<input name="submit" type="submit" class="btn btn-default" value="Download Enhanced Data">
</div>