theintern/intern

How to get the performance logs in leadfoot internjs?

sridattasp opened this issue · 1 comments

Expected behavior

Get performance logs from internjs during runtime

Current behavior

Unable to get performance logs during runtime from internjs

Possible solution

Example: from protractor
browser.manage().logs().get('performance').then(function (browserLog) {
if (browserLog.length > 0)
JSON.parse(JSON.stringiy(browserLog)).forEach(function (browserLog) {
console.log('log: ' + browserLog.message);
});

Steps to reproduce (for bugs)

Is there a way to do samething as seen above in internjs using leadfoot?

Environment

Intern version: 4.8.1
Browser version: chrome

Additional information

Closing this since it was answered on Stack Overflow.