Reputation: 151036
waitForElementPresent
or waitForElementNotPresent
probably won't work if the element is not showing on the screen by one of display: none
, visible: hidden
or opacity: 0
.
(it should be similar to jasmine-jquery's expecting an element toBeHidden()
. )
Upvotes: 0
Views: 81
Reputation: 1676
use .waitForElementVisible
or .waitForElementNotVisible
to see if it is displayed or hidden
Upvotes: 1