I am trying to use Selenium to click the button highlighted above. I have no problem locating the element via:
download_button_path = "//button[@class='btn-primary']"
download_button = driver.find_element_by_xpath(download_button_path)
However when I try and execute:
download_button.click()
I get the error message:
ElementNotVisibleException: Message: element not interactable
(Session info: chrome=70.0.3538.67)
(Driver info: chromedriver=2.42.591059 (a3d9684d10d61aa0c45f6723b327283be1ebaad8),platform=Mac OS X 10.11.6 x86_64)
It seems the button is not visible to selenium even though I am able to see it when performing the click manually.
I have also tried to hover over the button and then click, as well as send an Enter/Return key to the button, but nothing is working.
Any insight would be appreciated.
