Annotation Interface OverrideWidget


@Retention(RUNTIME) @Target(FIELD) public @interface OverrideWidget
This annotation should mark an abstract/certain Widget object class or field that declares some abstract/certain Widget object class. io.appium.java_client.pagefactory.Widget is the Appium-specific extension of the Page Object design pattern. About the Page Object design pattern please read these documents: - https://code.google.com/p/selenium/wiki/PageObjects - https://code.google.com/p/selenium/wiki/PageFactory
  • Element Details

    • html

      Class<? extends Widget> html
      This property is designed for HTML (browser or web view) content. A declared class should not be abstract. Declared class also should be a subclass of an annotated class/class which is declared by an annotated field.
      Returns:
      a class which extends Widget
      Default:
      io.appium.java_client.pagefactory.Widget.class
    • androidUIAutomator

      Class<? extends Widget> androidUIAutomator
      This property is designed for Android native content. A declared class should not be abstract. Declared class also should be a subclass of an annotated class/class which is declared by an annotated field.
      Returns:
      a class which extends Widget
      Default:
      io.appium.java_client.pagefactory.Widget.class
    • iOSXCUITAutomation

      Class<? extends Widget> iOSXCUITAutomation
      This property is designed for iOS native content when AutomationName.IOS_XCUI_TEST automation is used. A declared class should not be abstract. Declared class also should be a subclass of an annotated class/class which is declared by an annotated field.
      Returns:
      a class which extends Widget
      Default:
      io.appium.java_client.pagefactory.Widget.class
    • windowsAutomation

      Class<? extends Widget> windowsAutomation
      This property is designed for Windows native content. A declared class should not be abstract. Declared class also should be a subclass of an annotated class/class which is declared by an annotated field.
      Returns:
      a class which extends Widget
      Default:
      io.appium.java_client.pagefactory.Widget.class