Hey,
what are exactly the commands sent from appuim by sockets like
“target = $.target();” “au.getWindowSize()” “au.getElementByName(‘Arizona’)” “au.tapById(‘0’)”…,
these are not xcode automation commands right!,
and is it possible to execute xcode automation commands through appium like “UIATarget.localTarget().frontMostApp().mainWindow().tableViews()1.cells()[14].scrollToVisible()”
HI @Deep_Dark,
you can achieve it though java executor…By passing"UIATarget.localTarget().frontMostApp().mainWindow().tableViews()1.cells()[14].scrollToVisible()" as arguments.
@Mani_Maran_Chandraba Hey, thanks!
but what do you mean in java executer, you mean from java code something like:
currentDriver().execute(driverCommand, parameters)
but what i should send here?
Or do you mean the executer inside the server code somthing like this:
this.proxy(“au.getActiveElement()”, cb);
Sample code:
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(“UIATarget.localTarget().frontMostApp().mainWindow().tableViews()1.cells()[14].scrollToVisible()”);
1 Like