ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Using console log, warn, error for Unit and Selenium Tests via javascript

  • ما من ردود
  • 1 has this problem
  • 3 views
more options

Hi I would like to access details of the console.log etc through JavaScript to enable unit testing and selenium tests. i.e. perform regular expression tests on the contents on the exposed string or an array

In addition to all JavaScript errors and warnings I also want to Security, Network and CSS errors and warnings. Can you suggest a way to do this currently?

I had a look at the extension exposedConsole but this gave me a:

"Security wrapper denied access to property "read" on privileged JavaScript object. "

Is there something in the about:config that might help with this problem?

Thanks

Mike

Hi I would like to access details of the console.log etc through JavaScript to enable unit testing and selenium tests. i.e. perform regular expression tests on the contents on the exposed string or an array In addition to all JavaScript errors and warnings I also want to Security, Network and CSS errors and warnings. Can you suggest a way to do this currently? I had a look at the extension exposedConsole but this gave me a: "Security wrapper denied access to property "read" on privileged JavaScript object. " Is there something in the about:config that might help with this problem? Thanks Mike