Annotation 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
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThis property is designed for Android native content.This property is designed for HTML (browser or web view) content.This property is designed for iOS native content whenAutomationName.IOS_XCUI_TESTautomation is used.This property is designed for Windows native content.
-
Element Details
-
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
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
This property is designed for iOS native content whenAutomationName.IOS_XCUI_TESTautomation 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
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
-