是否可以扩展AppiumFieldDecorator
并使CustomAppiumFieldDecorator
课程如何接受自定义注释?
@AndroidFindBy(id = "selectButton")
@MyCustomAnnotation(val = "CustomValue")
MobileElement someElement;
这可能吗?
链接到class here
public void click (MobileElement element) {
element.click();
element.log(); //This may be a custom method which will print the value in `MyCustomAnnotation` above
}