Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebDriverException: Message: A new session could not be created

Tags:

android

appium

WebDriverException: Message: A new session could not be created. (Original error: Did not get session redirect from Chromedriver)

I found some solutions but nothing worked

I am new to Automation.

like image 744
rakesh patanga Avatar asked Oct 31 '22 20:10

rakesh patanga


1 Answers

Appium is probably shut down or something like there is already a session..so you have to start it again start it from the terminal or command prompt using the command appium

P.S:

Run the command appium-doctor.It will tell you the problem with set up gone wrong of something like that or see appium server log or close all the terminals or command prompts and start with appium-doctor again ..ensure ANDROID_HOME variable like that set correct...

like image 117
sathishkumar_kingmaker Avatar answered Nov 15 '22 04:11

sathishkumar_kingmaker