Open
Description
I tried it with
.waitForElement('a.vd-box')
.assert.attr('a.vd-box', 'href', 'http://www.youtube.com/watch?v=' + video)
.click('a.NOT_EXISTING_CLASS')
.waitForElementPresent('iframe.mfp-iframe')
.assert.attr('iframe.mfp-iframe', 'src', 'http://www.youtube.com/embed/'+video+'?autoplay=1&iv_load_policy=3')
.done();
}
I would expect an error raised for the missing element, instead there is a silent error and the following waitForElementPresent fails to get executed.
DalekJS CLI Tools Version: 0.0.4
DalekJS local install: 0.0.8
on PhantomJS 1.9.7 / Mac OSx 10.9.2