应该是由于鼠标焦点没有定位到相应元素

driver.find_element_by_xpath('//input[@type="password"]').click()
driver.find_element_by_xpath('//input[@type="password"]').clear()
driver.find_element_by_xpath('//input[@type="password"]').send_keys(newpass)

可以先执行 click定位到相应元素

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-03-15
  • 2022-03-03
猜你喜欢
  • 2022-01-12
  • 2021-12-05
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案