Added getPageIndex (for appium - UIAPageIndicator element)