Protractor Logging – console output – print to log file
Protractor Console output As protractor is built on top of webdriver JS, we should resolve promise while printing to console output. so below statement doesn’t work console.log(“Browser title :- ” + browser.gettitle()); instead, you can use browser.getTitle().then(function(txt){ console.log(“Browser Title :- ” + txt); }); watch details here Protractor log to file As protractor is a…