Where is the implementation of the WebElement.isDisplayed()
method? The WebElement
.java class is an interface that creates the contract for a isDisplayed()
method but I cannot find source code that shows how it works. Does anyone know how I can find it? I know about dom.js and I can see how all the methods in ExpectedConditions
.java all work, but I can't find the source code implementation (in Java
) of what we call element.isDisplayed()
.
I think that to truly understand how ExpectedConditions
works, I need to know the workings of the underlying isDisplayed()
method. I can't figure out how it eventually calls the bot.dom.isInteractable
method in dom.js
.