Need a solution for saving log of JavaScript errors. For automated testing any site with support popular web browsers (IE, FF, Chrome).
Or collect errors in a JS variable and then submit them to a server to log them.