How can I get the Appium driver from Silk4j ?
Like when you get the WebDriver for Selenium:
BrowserApplication browserApplication = desktop.find("//BrowserApplication");
driver = browserApplication.getWebDriver();
But in Mobile I don´t have a browserApplication:
MobileDevice mobileDevice = desktop.find("//MobileDevice");
I want to use the driver with JavascriptExecutor for Gestures i.e.:
canScrollMore = (Boolean) ((JavascriptExecutor) driver).executeScript("mobile: scrollGesture", ImmutableMap.of(
"left", 100, "top", 100, "width", 200, "height", 200,
"direction", "down",
"percent", 3.0
));