tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

Getting jscoverage_report is not defined for https url in WebDriverGeneralProxyTest #254

Closed mayankdevapplift closed 7 years ago

mayankdevapplift commented 7 years ago

I have to calculate the code coverage of an app in which I want to access the url which is ssl enabled. Is there any way to do this?

Currently I am getting jscoverage_report is not defined

tntim96 commented 7 years ago

Yes, but not using the proxy which doesn't support SSL. You have to pre-instrument the JavaScript, deploy them in your application, and then extract the coverage data as done in the localStorage-file-system example.