New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appium_console unable to call a remote server #303
Comments
|
I wrote one python client script to initialize an appium session and do some ui navigation with no issue (this is with the remote server given an ip address). With arc, things work just fine if I use the localhost. But once switching to server_url, then it keeps giving me that error of "That URL did not map to a valid JSONWP resource". I don't think there's something wrong with my caps because using the same caps, it works well on local ip address. |
Post the appium server logs for arc & python as a gist. It's unlikely the caps are the same. |
13 days without a response. It's working for me & other users so unless there are logs, it's difficult to debug. |
Não estou conseguindo resolver um erro parecido. org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=d:\automacao\Banestes.apk, platformName=Android, deviceName=Android Emulator}], required capabilities = Capabilities [{}] -------------codigo----- public class Boleto_bancario {
@test
} |
@danubiapaiva BTW, Appium server's default port is - driver = new AndroidDriver(new URL("http://127.0.0.1:4727/wd/hub/status"), capacidade);
+ driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub/status"), capacidade); https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/server-args.md |
Hello,
I'm trying to use arc appium_consle to call a remote appium server with a different ip address than 127.0.0.1, but it doesn't work.
It works well when I launch my appium server on http://127.0.0.1:4723/wb/hub/. 'arc' starts the console with no issue. Here is my appium.txt:
[caps]
platformName = "ios"
device = "iPhone5"
platformVersion = "7.0.4"
When I switch the appium server to a remote ip such as http://10.0.3.61:4723/wb/hub". I also add this to appium.txt:
[appium_lib]
server_url = "http://10.0.3.61:4723/wb/hub/"
I receives the error indicating that "That URL did not map to a valid JSONWP resource". On the appium server's log: responding to client that we did not find a valid resource 404 error. Also tried with "custom_url="
Any helps?
The text was updated successfully, but these errors were encountered: