i have element defined in page page factory
@FindBy(xpath = "//*[contains(@style,'gxt/images/default/tree/loading.gif')]")
WebElement treeLoading;
i would like to wait for this element to disappear and ExpectedConditions does not support invisiblityOfElementLocated(WebElement), is there any better approach to write custom wait?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…