报错AttributeError: ‘NoneType‘ object has no attribute ‘to_capabilities‘
问题
运行appium自动化测试代码报错
AttributeError: ‘NoneType‘ object has no attribute ‘to_capabilities‘
原因
这是为Appium-Python-Client3.0和Selenium版本不兼容。不建议使用最新版本!
解决
将Appium-Python-Client最新版本改为旧版2.11

浙公网安备 33010602011771号