无法启动appium会话 [英] Not able to start appium session

查看:3497
本文介绍了无法启动appium会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能够启动,你可以帮助会话。我也做了以下步骤:


  1. 从开始一个Appium服务器Appium for Windows软件包(RAN appium.exe文件)


  2. 开始一个仿真机器人


  3. 入门硒服务器


  4. 通过TestNG的运行脚本


我收到以下错误,当我输入在浏览器中follwing

  127.0.0.1:4723/wd/hub:
该URL没有映射到一个有效的JSONWP资源

我的控制台显示以下错误:

  A新的会话无法建立。 (原来的错误:请求一个新的会话,但一个是正在进行中)(警告:服务器未提供任何信息的堆栈跟踪)
命令持续时间或超时:306毫秒


解决方案

尝试下一个:


  

127.0.0.1:4723/wd/hub/status


这应该是有效的网址

I am not able to start the session can you help. I have done the following steps:

  1. Started a Appium server from Appium for windows package (ran appium.exe file)

  2. Started a simulator for android

  3. Started selenium server

  4. Ran the script via TestNG

I am getting the following error when I enter the follwing in the browser

127.0.0.1:4723/wd/hub:
That URL did not map to a valid JSONWP resource

My console shows the following error:

A new session could not be created. (Original error: Requested a new session but one was in progress) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 306 milliseconds

解决方案

Try next:

127.0.0.1:4723/wd/hub/status

It should be valid url

这篇关于无法启动appium会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆