当前位置:   article > 正文

解决:python+appium报错ValueError: Timeout value connect was <...>, but it must be an int, float or None.

timeout value connect was

在使用python+appium自动化测试pycharm一直报错,已找到解决方案,感谢网友的分享,方案在本文底部

代码和报错如下:

Appium无反应或者是报如下错误

一些其他网友的解答在本链接:求指点使用appium做自动化测试连接模拟器时pycharm报错ValueError: Timeout value connect was <......>, but it must be an int, float or None._博问_博客园

最直接的解决方案就是selenium版本降级:

pip install --force-reinstall -v "selenium==4.8.0"

参考:
python - Running an keyword on Robotframework throw an error: ValueError: Timeout value connect was <object object at 0x106cc5b50> - Stack Overflow

ValueError: Timeout value connect was <object object at 0x7f7515f84420>, but it must be an int, float or None. · Issue #863 · appium/python-client

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/505858
推荐阅读
相关标签
  

闽ICP备14008679号