nightwatch.js - Using magellan-nightwatch, is there a way to assert some element is hidden / displayed? -


waitforelementpresent or waitforelementnotpresent won't work if element not showing on screen 1 of display: none, visible: hidden or opacity: 0.

(it should similar jasmine-jquery's expecting element tobehidden(). )

use .waitforelementvisible or .waitforelementnotvisible see if displayed or hidden


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -