I have updated the java-client jar and tried to initialise PageFactory as mention below. PageObject PageObject1 = PageFactory.initElements(new AppiumFieldDecorator(driver),PageObject.class); But I am getting type mismatch error. Is there something I am missing ???