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

前端 未结 5 2014
不知归路
不知归路 2021-02-06 01:59

I am trying to run my first test through Appium and getting the below error.

org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Orig         


        
5条回答
  •  走了就别回头了
    2021-02-06 02:03

    The safest way to set for android capabilities = DesiredCapabilities.android()

    PS: You got session is not created because your script is not able to connect to selenium node/hub; you should check your configuration

    As in your post stacktrace, it connects to http://**:9515/ (not like in your mentioned port 4723)

提交回复
热议问题