Python+Appium 获取 toast 文本值方法的封装

 

转载 Uiautomator2 安装方法

https://www.cnblogs.com/du-hong/p/11175517.html

 

如果报错  下载对应的文件放入路径下即可    https://www.cnblogs.com/LY-CC/articles/10924474.html

selenium.common.exceptions.WebDriverException:Message: An unknown server-side error occurred while processing the command.
Original error: The file at path C:\Users\dell\AppData\Roaming\npm\node_modules\appium\node_modules _appium-uiautomator2-driver@0.11.0@appium-uiautomator2-driver\uiautomator2\appium-uiautomator2-server-v0.3.0.apk
does not exist or is not accessible

 

 

怎样指定selenium

 

  • 卸载selenium : pip uninstall selenium
  • 指定版本安装selenium : pip install selenium==3.3.1
posted @ 2020-08-24 17:27  测试艺术家  阅读(269)  评论(0编辑  收藏  举报