amitsahu86
amitsahu86

Reputation: 29

Unable to start session from Appium CLI and Appium Desktop

Environment

Scenario - 1

Issue: The error message show - The URL '/wb/hub/session' did not map to a valid resource Issue_Of_Scenario1

Log of appium server running on terminal in scenario - 1:

[debug] [GENERIC] Calling AppiumDriver.getSessions() with args: [] [debug] [GENERIC] Responding to client with driver.getSessions() result: [] [HTTP] <-- GET /wd/hub/sessions 200 3 ms - 40 [HTTP] [HTTP] --> POST /wb/hub/session [HTTP] {"desiredCapabilities":{"app":"path-to-app","bundledId":"com.xyz","deviceName":"iPhone 8","deviceUDID":"C70FBC5C-1234-48E9-1234-9C24EF043E9F","platformName":"iOS","platformVersion":"13.0","simpleIsVisibleCheck":"true","useJSONSource":"true","newCommandTimeout":0,"connectHardwareKeyboard":true}} [debug] [HTTP] No route found. Setting content type to 'text/plain' [HTTP] <-- POST /wb/hub/session 404 1 ms - 57 [HTTP] [HTTP] --> DELETE /wb/hub/session [HTTP] {} [debug] [HTTP] No route found. Setting content type to 'text/plain' [HTTP] <-- DELETE /wb/hub/session 404 1 ms - 57 [HTTP]

Scenario - 2

Issue: Screen display infinite loading spinner. Issue_Of_Scenario2

Upvotes: 0

Views: 5644

Answers (1)

Oluwafemi
Oluwafemi

Reputation: 1

I am guessing this is what you have as your url "http://127.0.0.1:4723/wd/hub/"? If yes, remove the "/wd/hub/". what you have should be this "http://127.0.0.1:4723".

Upvotes: 0

Related Questions