FR: Make @WithTimeout applicable to classes
Description
At the moment, the @WithTimeout annotation can only be applied to fields.
Often when working with widgets, having the root element ready means that the inner elements will also be ready for interaction. @WithTimeout annotation is great for reducing the time spent searching for inner elements, but requires application for each field. It would be nice to have the ability to apply annotations to all widget class fields at once.
@mykola-mokhnach Is this something I can help look into? Does it align with the project to implement something like this? I have not looked into it, but I want to understand if this is feasible or the Appium team thinks it's good to have this feature.
I personally don't really support the idea of page objects. They contain lots of implicit logic, and often are sources of unexpected behaviours. Widgets were build on top of that, which made the overall implementation even more complex and fragile. Also, the feature request itself does not seem to have high traction. Nevertheless feel free to work on it if the implementation is not going to be breaking.
Thank you so much. That gives me a better context. Will try and pick something else that can help the project better.