-3

I am trying to click on this link using click():

<a id="export-button" class="pull-right" @click="exportFile('/en/my-investments/list.xlsx')">
    <i class="fa fa-file-excel-o"></i> Download Selected List
</a>

but it says the element is not clickable... any idea?

Andersson
  • 51,635
  • 17
  • 77
  • 129
  • Share how you're trying to click – Andersson Aug 09 '18 at 14:09
  • Like @Andersson said, can you share some of your code? What is it that you're trying to do? – usr Aug 09 '18 at 14:25
  • Possible duplicate of [Selenium Web Driver & Java. Element is not clickable at point (36, 72). Other element would receive the click:](https://stackoverflow.com/questions/44912203/selenium-web-driver-java-element-is-not-clickable-at-point-36-72-other-el) – undetected Selenium Aug 11 '18 at 14:24

1 Answers1

0

You may use action class to click your element,

from selenium.webdriver import ActionChains

actions = ActionChains(driver)
actions.move_to_element(driver.find_element_by_xpath("//a[@id='export-button']")).click().perform()
Ishita Shah
  • 3,955
  • 2
  • 27
  • 51