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
In the current implementation when we invoke any method of widget or widget elements, if widget not present on screen, throws NoSuchElementsException.
Environment
java client build version or git revision if you use some shapshot: 5.0.0-BETA7
Details
Example: we have class:
public class MobileBlock extends Widget {
@AndroidFindBy(id = "main")
public MobileElement element;
protected MobileBlock(WebElement element) {
super(element);
}
public boolean isDisplayed() {
return getWrappedElement().isDisplayed();
}
}
If we try invoke method isDisplayed in MobileBlock class when widget is not present we have NoSuchElementException.
Or try to check visibility of widget element we also have NoSuchElementException.
The text was updated successfully, but these errors were encountered:
Description
In the current implementation when we invoke any method of widget or widget elements, if widget not present on screen, throws NoSuchElementsException.
Environment
Details
Example: we have class:
If we try invoke method
isDisplayed
inMobileBlock
class when widget is not present we haveNoSuchElementException
.Or try to check visibility of widget element we also have
NoSuchElementException
.The text was updated successfully, but these errors were encountered: