0

I have code that opens a webpage, clicks a button, then logs on with userid/password. I recently moved the code to a Windows 10 laptop and now the code gets the error below. Here is the code:

  time.sleep(2)
  inputElement = driver.find_element_by_class_name('hpui-primary-button')
  inputElement.click() 

Here's the error I get:

selenium.common.exceptions.WebDriverException: Message: unknown error: Element https://cf.passport.hpe.com/hppcf/login.do?cc=US&lang=EN&applandingpage=https://h22204.www2.hpe.com/NEP/Logon/NewHome?hpappid=115940_NONSTOP_PRO_HPE';"> is not clickable at point (710, 300). Other element would receive the click: ...

I tried adding a longer delay, but the page loads fine. Worked on Windows 7, not on Windows 10.

ohglstr
  • 10,086
  • 8
  • 41
  • 63
VBAnewguy
  • 11
  • 4

0 Answers0