Closed sridattasp closed 4 years ago
Get performance logs from internjs during runtime
Unable to get performance logs during runtime from internjs
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); });
Is there a way to do samething as seen above in internjs using leadfoot?
Intern version: 4.8.1 Browser version: chrome
Closing this since it was answered on Stack Overflow.
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