Hi everyone,
is there any possibility to avoid NoSuchElementException exception when using @AndroidFindBy and @iOSFindBy annotations for optional elements
In fact, in my pages there are some UI elements that will be optionally present (depends on test data) but the initialization of the MobileElements is done at the moment of the page instantiation, so at this
moment i can't test on the test parameter to avoid the element initialization
at the same time, i would like to have all my UI elements annotated with @xFindBy,( i don't want to have those optional elements initialized later in a separate methods )
is there any possibility to make this possible
Thanks in advance