am getting the following error while using Open Application Keyword:
WebDriverException: Message: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource
Appium Error: Request idempotency key: e116ec36-bc01-48f7-b4e8-b4bf55f51991 [HTTP] → POST /wd/hub/session [HTTP] {“capabilities”:{“firstMatch”:[{}],“alwaysMatch”:{“platformName”:“Android”,“appium:deviceName”:“emulator-5554”,“appium:appPackage”:“chat21.android.demo”,“appium:appActivity”:“chat21.android.demo.SplashActivity”,“appium:automationName”:“Uiautomator2”}}} [HTTP] No route found for /wd/hub/session [HTTP] ← POST /wd/hub/session 404 18 ms - 211
What host and port do you have set on teh appium server? The localhost you can find in your host file should be 127.0.0.1 unless it has been adjusted, so you could just remove localhost and set it Open Application 127.0.0.1/wd/hub ... to see if that yields anything different.
You may also just need to set the remote path as /wd/hub if you are using Appium Desktop (never had a need to set this, nor do I have the option, but something to take a look at). But personally, I’ve never really run into any issues with my own.
in addition, there is mention of setting allow CORS under Advanced; this isn’t something I’ve done before or needed to. Note:CORS compatibility mode, which will allow connections to the Appium server from within websites hosted on any domain…
I have installed appium via npm and starting the appium server by typing command “appium” in cmd. When i start the server it says “http://0.0.0.0:4723”. Please help to resolve the issue.
I have run the appium server by running command “appium --address 127.0.0.1”
and change the code to “http://localhost:4723” …
I have removed the trailing /wd/hub from the above url.
Could you specify why there’s /wd/hub in the docs?