0

Below is the current HTML DOM.

<div class="addr notChooseOpera right" click="switchPanel" un="contact"><a class="addrButton " href="javascript:;" title="通讯录"><span class="bag"></span></a></div>

I'm using python+selenium+WebDriver to execute this method

self.browser.find_element_by_class_name("addrButton").click()

But get this error:

selenium.common.exceptions.WebDriverException: Message: unknown error: Element is not clickable at point (339, 85). Other element would receive the click: <div class="addr notChooseOpera right" click="switchPanel" un="contact">...</div> (Session info: chrome=36.0.1985.143)

Dhanuka
  • 2,826
  • 5
  • 27
  • 38
user2987260
  • 49
  • 1
  • 3

0 Answers0