title: Executing iOS Instruments UiAutomation Javascript code via Appium
body: <p>I want to execute iOS Instruments UIAutomation javascript code using Appium. 
  I am aware that I can execute some javascript from Appium using the following methods:
  </p>
  
  <pre><code>apmDriver.execute(driverCommand, parameters);
  apmDriver.executeAsyncScript(script, args);
  apmDriver.executeScript(script, args);
  </code></pre>
  
  <p>Suppose if I directly want to interact with Instruments UIAutomation by passing instruments javascript code. For example:</p>
  
  <pre><code>apmDriver.executeScript("var target = UIATarget.localTarget();
  var appWindow = target.frontMostApp().mainWindow();
  appWindow.tabBar().buttons()[\"Unit Conversion\"].tap()",null) 
  </code></pre>
  
  <p>Is it possible to do this on an iOS native app?</p>