TypeError: Cannot read property 'document' of null onclick
Posted: Fri Aug 31, 2018 9:10 am
I have updated Siesta to servion 5.0.0. and have a problem with click event.
After click on some element I get this error:
TypeError: Cannot read property 'document' of null. Here is a smaal part of code:.
What is wrong in this code?
After click on some element I get this error:
TypeError: Cannot read property 'document' of null. Here is a smaal part of code:
loginBtn = tExt.ComponentQuery.query('#login')[0]; t.chain(
function(next) {
t.click(loginBtn, callback);
}
)
What is wrong in this code?