code: public static int[] getLocationOnScreen(String view) throws Exception {
          int[] location = new int[2];
          
          JSONArray results = Client.getInstance().map(Constants.ROBOTIUM_SOLO, "getLocationOnScreen", view);
          location[0] = results.getInt(0);
          location[1] = results.getInt(1);
  
          return location;
      }
docs: Get the location of a view on the screen
  @param view - string reference to the view
  @return - int array(x, y) of the view location
  @throws Exception