I’m receiving this error with the code above:
06-05-2018 09:44:30 AM - [START] - Start action : jsScripts.jsMobileSwipe.swipeDirection
06-05-2018 09:44:30 AM - [ERROR] - Unknown mobile command “swipe”. Only shell,scrollBackTo,viewportScreenshot,deepLink,startLogsBroadcast,stopLogsBroadcast,acceptAlert,dismissAlert,batteryInfo commands are supported. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘INSLE0056428MAC.local’, ip: ‘fe80:0:0:0:149e:527a:863b:1ce6%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.4’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {app: /Users/name/Downlo…, appPackage: com.dishnetwork.danyone, autoGrantPermissions: true, automationName: uiautomator2, databaseEnabled: false, desired: {app: /Users/nameDownlo…, autoGrantPermissions: true, automationName: uiautomator2, deviceId: , deviceName: samsung SM-T820 (Android 7.0), fullReset: true, newCommandTimeout: 1800, noReset: false, platform: ANDROID, platformName: Android, udid: 2b7e47aa29804c53}, deviceApiLevel: 24, deviceId: , deviceManufacturer: samsung, deviceModel: SM-T820, deviceName: 2b7e47aa29804c53, deviceScreenDensity: 320, deviceScreenSize: 1536x2048, deviceUDID: 2b7e47aa29804c53, fullReset: true, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, noReset: false, pixelRatio: 2, platform: ANDROID, platformName: ANDROID, platformVersion: 7.0, statBarHeight: 48, takesScreenshot: true, udid: 2b7e47aa29804c53, viewportRect: {height: 2000, left: 0, top: 48, width: 1536}, warnings: {}, webStorageEnabled: false}
Session ID: 705db454-d685-4c61-88a8-cb74293b340f
06-05-2018 09:44:30 AM - [END] - End action : jsScripts.jsMobileSwipe.swipeDirection