草庐IT

TouchActions

全部标签

ImportError: cannot import name ‘TouchActions‘ from ‘selenium.webdriver‘

今天踩了一个坑:  需要使用selenium-wire抓取请求heads信息,直接用命令pipinstall selenium-wire安装后,调试代码一直报cannotimportname'TouchActions'from'selenium.webdriver'开发环境:selenium 版本4.11.2(用pipshowselenium 查看版本)selenium-wire版本2.5.2 (用pipselenium-wire 查看版本),用pipinstallselenium-wire命令没有指定版本号安装的python 3.7一步一步跟进问题:1、在selenium-wire的webd