pythonselenium模拟自动登陆各位大神看下哪里错了,为什么密码输入不了 - 爱问答

(爱问答)

pythonselenium模拟自动登陆各位大神看下哪里错了,为什么密码输入不了

各位大神看下哪里错了,为什么密码输入不了
代码:driver.find_element_by_id("code").clear()
driver.find_element_by_id("code").send_keys("mj****")
driver.find_element_by_id("cPwdMsg_0").clear()
driver.find_element_by_id("cPwdMsg_0").send_keys("************")
报错(涉及隐私,密码用*代了):Traceback (most recent call last):
  File "C:UsersNING MEIDesktop3.py", line 29, in <module>
    driver.find_element_by_id("cPwdMsg_0").send_keys("************")
  File "E:libsite-packagesseleniumwebdriver emotewebelement.py", line 477, in send_keys
    self._execute(Command.SEND_KEYS_TO_ELEMENT,
  File "E:libsite-packagesseleniumwebdriver emotewebelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "E:libsite-packagesseleniumwebdriver emotewebdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "E:libsite-packagesseleniumwebdriver emoteerrorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
  (Session info: chrome=91.0.4472.77)

先检查一下浏览器驱动版本是否与浏览器的版本一致。

相关标签:大神

下一篇:怎么重装数据库

上一篇:excel中二级菜单怎么能随一级菜单的改变而清空?

热门标签:
excel 网盘 破解 word dll
最新更新:
微软重新评估新的Outlook的使用时机 联想推出搭载联发科Helio G80芯片组的Tab M9平板 英特尔创新大赛时间确定! 微软Edge浏览器在稳定渠道中推出Workspaces功能 英伟达RTX4060TiGPU推出MaxSun动漫主题! 谷歌地图为用户提供了街景服务! GameSir 在T4 Kaleid中推出了一款出色的控制器! 微软开始在Windows 11 中测试其画图应用程序的新深色模式! LG电子推出全球首款无线OLED电视 英伟达人工智能芯片崭露头角! Steam Deck可以玩什么游戏-Steam Deck价格限时优惠 雷蛇推出CobraPro鼠标 Kindle电子阅读器可以访问谷歌商店吗 Windows10如何加入组策略 window10图片查看器怎么没有了?