You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that ByAll returns the element tha was found first. By annotation sequence you can regulate the priority of the searching at ALL_POSSIBLE case. I'm not sure that it is needed to define the priority by annotations. However C# clint (Selenium and Appium too) page object attributes (annotations) can regulate it clearly. We could think about this feature further.
Activity
TikhomirovSergey commentedon Feb 2, 2017
@amedvedjev It seems it is not the problem of java_client by itself. But it is possible that it is related to
ByAll.
What will happen if you change annotation sequence like
It seems that ByAll returns the element tha was found first. By annotation sequence you can regulate the priority of the searching at ALL_POSSIBLE case. I'm not sure that it is needed to define the priority by annotations. However C# clint (Selenium and Appium too) page object attributes (annotations) can regulate it clearly. We could think about this feature further.
amedvedjev commentedon Feb 2, 2017
what i need is:
@AndroidFindBy(className = "android.widget.ImageView")
@AndroidFindBy(className = "android.widget.ImageButton")
e.g.
another possibilities are also welcome:
e.g.
TikhomirovSergey commentedon Feb 2, 2017
Ok. I will think about the design. It would be the interesting feature
amedvedjev commentedon Feb 2, 2017
Thanks Sergey! also don't forget about CHAIN possibility.
Merge pull request #646 from TikhomirovSergey/master
TikhomirovSergey commentedon May 30, 2017
The fix was merged at #646. It is going to be available soon.