ERROR: Unable to connect to Appium. Is the server running? (RuntimeError)

使用Appium进行UI自动化测试需要先运行appium server, server忘记启动了或者有问题了,在运行测试脚本的时候,常常会看到这样的错误提示
ERROR: Unable to connect to Appium. Is the server running? (RuntimeError)
解决办法: 重启appium server



我的回答