jeudi 3 août 2017

How to check if an condition is true in protractor?

I want to show message based on the following condition. But it's not working. Can anyone help me in this regard.

if(errorMsg.isDisplayed()==='false'){
           console.log('valid');
       }else{
           console.log('invalid');
       };

Aucun commentaire:

Enregistrer un commentaire