Appium+python问题汇总

1.Appium+Python 脚本运行报错: A session is either terminated or not startedAppium+python问题汇总
解决方案:参考这篇文章
https://blog.****.net/weixin_41857283/article/details/97366763
2.AttributeError: ‘list’ object has no attribute ‘click’
解决方法:将”driver.find_elements_by_xpath“改为“driver.find_element_by_xpath”
Appium+python问题汇总
4. File “C:\Python38\lib\BSTestRunner.py”, line 121, in to_unicode
return unicode(s)
NameError: name ‘unicode’ is not defined
Appium+python问题汇总