Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to start appium session

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
like image 618
user2991309 Avatar asked Mar 21 '23 16:03

user2991309


1 Answers

Try next:

127.0.0.1:4723/wd/hub/status

It should be valid url

like image 129
catch23 Avatar answered Apr 01 '23 10:04

catch23