无法在 selenium 中导入 TouchActions (python)
并提前致谢。 我对硒有疑问。我无法以任何方式导入 TouchActions 实现。我尝试过:
from selenium import webdriver
#imp. keys
from selenium.webdriver.common.keys import Keys
#imp. touch actions
from selenium.webdriver.common.touch_actions import TouchActions
#imp. time
import time
但它不起作用,因为它给了我ModuleNotFoundError:没有名为'selenium.webdriver.common.touch_actions'的模块
错误。我已经安装了 pip3,selenium 的其他所有内容似乎都工作正常(就像它让我导入 ActionChains)。 我不知道该怎么办......
and thanks in advance.
I have a problem with selenium. I can't import the TouchActions implementation in any way. I tried:
from selenium import webdriver
#imp. keys
from selenium.webdriver.common.keys import Keys
#imp. touch actions
from selenium.webdriver.common.touch_actions import TouchActions
#imp. time
import time
and it doesn't work because it gives me the ModuleNotFoundError: No module named 'selenium.webdriver.common.touch_actions'
ERROR. I have installed pip3 and everything else from selenium seems to work fine (like It makes me import ActionChains).
I do not know what to do....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论