现象:Appium运行脚本报错InvalidSelectorException: Message: Locator Strategy 'css selector' is not supported for this session,但是脚本里使用的定位元素方法为find_element_by_id() 原因: 根本原因1:电脑里安装的selenium版本和Appium-Python-Client版本不兼容 原因2:selenium版本之前是单独安装的3.12.0版本.Appium-P…
运行python脚本报错:selenium.common.exceptions.SessionNotCreatedException: Message: session not created 原因:ChromeDriver版本与浏览器版本不匹配. 解决方法:重新下载适配的ChromeDriver. ChromeDriver下载路径:https://registry.npmmirror.com/binary.html?path=chromedriver/ 1.选择适配的版本进行下载 …
全文转载至:http://www.cnblogs.com/testyao/p/5658200.html python3中用HTMLTestRunner.py报ImportError: No module named 'StringIO'的解决方法: 1.原因是官网的是python2语法写的,看官手动把官网的HTMLTestRunner.py改成python3的语法: 参考:http://bbs.chinaunix.net/thread-4154743-1-1.html 下载地址:http://t…
解压tar.gz文件报错gzip: stdin: not in gzip format解决方法 在解压tar.gz文件的时候报错 1 2 3 4 5 [Sun@localhost Downloads]$ tar -zxvf clion-141.351.4.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now 原来原因是这个压缩…