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