AWS Device Farm Help - mobile commands disabled

Hi Guys,

I’m facing this issue when trying to run my test automation in AWS Device Farm.

HeadsUp : I’m trying to perform “mobile: swipe” using JavascriptExecutor which works fine locally i.e local simulator but fails in AWS device farm.

swipeTest failed: Unknown command, all the mobile commands except scroll have been
removed. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 215 milliseconds Build info: version: ‘3.2.0’, revision: ‘8c03df6b79’, time: ‘2017-02-23 10:51:31 +0000’ System info: host: ‘ip-172-31-13-65’, ip: ‘172.31.13.65’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘3.13.0-53-generic’, java.version: ‘1.8.0_65’ Driver info: io.appium.java_client.ios.IOSDriver Capabilities [{app=com.sears.relay, networkConnectionEnabled=false, databaseEnabled=false, deviceName=546f99bb46f19bd77d35316105eda6af056611ae, platform=MAC, platformVersion=10.0.2, webStorageEnabled=false, locationContextEnabled=false, browserName=, takesScreenshot=true, javascriptEnabled=true, platformName=iOS, udid=546f99bb46f19bd77d35316105eda6af056611ae}] Session ID: 5360d97b-4fa9-440e-af0a-5b9b55acf87d

Sample Code :

((JavascriptExecutor) SetUpUtils.getIosDriver()).executeScript(“mobile: swipe”,
HashMapUtil.getScrollObj(“right”,
SetUpUtils.getIosDriver().
findElement(By.name(
slide2UnlockVideoPage.getVideoElementByName()))));

Any help will be highly appreciated.