无法启动appium会话无法启动、appium

2023-09-06 09:24:47 作者:流年的悲伤¢

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

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

开始一个仿真机器人

入门硒服务器

通过TestNG的运行脚本

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

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

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

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

解决方案 appium appium环境搭建及使用appium进行APP测试

尝试下一个:

  

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:

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

Started a simulator for android

Started selenium server

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