import io.appium.java_client.AppiumDriver as AppiumDriver
AppiumDriver driver = MobileDriverFactory.getDriver()
driver.swipe((width * 0.5) as int, (height * 0.8) as int, (width * 0.5) as int, (height * 0.35) as int, 8250)
Currently I,m using Katalon version 4.8 and the code above is working fine. However in latest version of Katalon I cant use the code anymore. the word “swipe” is underlined and the option for swipe isn’t there. I like using this code because of it has the time of execution we can set, thus it can swipe smoother and the accuracy is higher. Help!