0

I am trying to use Appium's TouchAction inside of Katalon Studio. I need to pass the Appium driver into the TouchAction() constructor. When Katalon runs a test, the driver already exists. Is there a way to access the driver that is created by Katalon?

1 Answers1

0

You can use below function to access current driver of Katalon Studio:

import com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory
import io.appium.java_client.AppiumDriver

AppiumDriver<?> driver = MobileDriverFactory.getDriver()
Zarashima
  • 417
  • 4
  • 9