Hi I have use the code in the link but I am not getting the text from my email body protractor code link
and i have tried this also var pattern = /Your username is test@gmail.com and temporary password is/g; var regCode = pattern.exec(email.text)[1]; console.log(regCode); but I am getting error Cannot read property '1' of null I have tried console.log(email.html); it gives me the First mail from the Specific sender but I wanted the latest mail from specified sender.
Aucun commentaire:
Enregistrer un commentaire