You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a problem with dalekjs when i want to run a js code into a function .execute , only with ie because with phantom and chrome it works.
this is an example:
})
.execute(function(){
var si = 0;
var reg = new RegExp('^[0-9]');
var elem = window.document.getElementsByClassName('numItemsFil')[0].innerText;
if(elem.match(reg)){ si =1;}
this.assert.ok(si == 1);
})
.done();
The text was updated successfully, but these errors were encountered:
i have a problem with dalekjs when i want to run a js code into a function .execute , only with ie because with phantom and chrome it works.
this is an example:
test.open('http:******')
.waitFor(function () {
return window.document.querySelectorAll('.numItemsFil').length != 0;
The text was updated successfully, but these errors were encountered: