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

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

问题描述

我无法开始会话,你能帮忙吗?我已经完成了以下步骤:

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

  1. 从 Appium for windows 包启动一个 Appium 服务器(运行 appium.exe 文件)

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

开始了一个安卓模拟器

启动 selenium 服务器

Started selenium server

通过 TestNG 运行脚本

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

推荐答案

尝试下一个:

127.0.0.1:4723/wd/hub/status

127.0.0.1:4723/wd/hub/status

它应该是有效的网址

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

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