We are trying to set a proxy to launch appium tests using httpCommandExecutor and we have an issue.
httpCommandExecutor seems to work not correctly (same for appiumCommandExecutor).
Without httpCommandExecutor the test works correctly.
Simplified code :
capabilities are correctly defined in the code with following values

https://gist.github.com/ryltar/002f7021077297bb82d48ca0b795b448
https://gist.github.com/ryltar/7e7372540a6c1ed568bf69d815d80230
org.openqa.selenium.UnsupportedCommandException: getSession
https://gist.github.com/ryltar/4d039fcca29ec46752ca6bbe16b5076b
@ryltar can you please try with latest appium server and java-client
I tried with appium server 1.7.2 and java-client 6.0.0-BETA5 and i have the same behavior
I update the code to be more understandable
@ryltar try in latest appium server which is 1.8.0
@SrinivasanTarget i tried with the latest appium server (1.8.0), and the problem is still present
Error message : org.openqa.selenium.UnsupportedCommandException: getSession
Can you try latest version of client and server beta please?
@ryltar
To avoid it preconfigured HttpCommandExecutor with all Appium specific commands should be used. Commands are available in io.appium.java_client.MobileCommand
HttpCommandExecutor executor = new HttpCommandExecutor(MobileCommand.commandRepository, url);
@ryltar
To avoid it preconfiguredHttpCommandExecutorwith all Appium specific commands should be used. Commands are available in io.appium.java_client.MobileCommandHttpCommandExecutor executor = new HttpCommandExecutor(MobileCommand.commandRepository, url);
I have tried this, But getting the same error. Any help?
Did anyone set to install a proxy for appium?