0

PageFactory.initElements used to initialize the element, present in a page, but what is the difference between below two statements:

PageFactory.initElements(new AppiumFieldDecorator(appiumDriver), this);

PageFactory.initElements(new AppiumElementLocatorFactory(appiumDriver, Duration.ofSeconds(1), new DefaultElementByBuilder(MobilePlatform.ANDROID, AutomationName.ANDROID_UIAUTOMATOR2)), this);
DeepakVerma
  • 179
  • 1
  • 3
  • 14

0 Answers0