您的浏览器过于古老 & 陈旧。为了更好的访问体验, 请 升级你的浏览器
j0785 发布于2023年10月20日 10:47 最近更新于 2023年10月20日 11:18

原创 Windows环境下Appium Inspector运行报错:Could not connect to Appium server URL 'http://127.0.0.1:4723/'

3891 次浏览 读完需要≈ 3 分钟 Windows

内容目录

  • Appium Inspector安装成功后,配置好Desired Capabilities后,点击Start Session如下错误:

    Error

    Could not connect to Appium server URL 'http://127.0.0.1:4723/'. Please check if the server is running and the URL is correct (valid URLs can be found at the start of the Appium server log). If you are using the Inspector's browser version, ensure the server has been started with '--allow-cors'.

    1697764581016.jpg

  • 解决方法:

    1、检查Appium程序是否启动,如果没有则启动Appium程序后,重新执行StartSession操作

    2、检查Appium Inspector内的Appium Server是否配置,配置成功之后,重新执行 StartSession操作

    • Remote Address :127.0.0.1
    • Remote Port:4723
    • Remote Path:/wd/hub
  • CodePlayer技术交流群1
  • CodePlayer技术交流群2

0 条评论

撰写评论