theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 310 forks source link

How to get the performance logs in leadfoot internjs? #1170

Closed sridattasp closed 4 years ago

sridattasp commented 4 years ago

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

jason0x43 commented 4 years ago

Closing this since it was answered on Stack Overflow.