java-client
java-client copied to clipboard
AppiumFieldDecorator is not supporting timeout for annotation @iOSXCUITFindBy element
Description
I started using 7.3.0 ver of java-client and noticed that AppiumFieldDecorator is not supporting the @iOSXCUITFindBy annotation. An element in my page loaded few seconds(3s) after the page rendered. I had set timeout as 30s. Appium try to emulate the click action on that button before it rendered.
Environment
- Java client - 7.3.0
- Appium server -1.15.1
- Desktop OS/version used to run Appium if necessary: N/A
- Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: v8.9.4
- Mobile platform/version under test: iOS
- Real device or emulator/simulator: Simulator
Documentation also claims it supports only deprecated annotations for iOS https://appium.github.io/java-client/index.html?io/appium/java_client/pagefactory/AppiumFieldDecorator.html
@raghunandansr Do we have any workaround for this to make @iOSXCUITFindBy work
Can you suggest any other page factory initialisation instead of AppiumFieldDecorator
Hi @SreNivedha I'm facing same issue. Did you get any solution for above?