0

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(). )

nonopolarity
  • 146,324
  • 131
  • 460
  • 740

1 Answers1

1

use .waitForElementVisible or .waitForElementNotVisible to see if it is displayed or hidden

Ray
  • 1,539
  • 1
  • 14
  • 27