I recently tried to locate an element.
I was unable to identify an xpath and after putting a list in a loop.
I noticed that for some elements isDisplayed()
returned false
, but isEnabled()
true
. How is it possible?
Could it be that the element was hidden somewhere on the background, but still enabled?
By the way, in my perception "enabled
" is when you can bring it under focus, right? And also, for all elements where isDisplayed()
returned false
, isSelected()
also returned false
.
Am I right that if isDisplayed()
returns false
, isSelected()
can never return true
and it can only return true if isEnabled()
returns true
?