I need to test around 30 to 40 websites. For checking if there is any client-side javascript errors, I will manually hit the websites in my browser and I will monitor in the console to see for javascript errors.
Is there any way I can automate the testing process using nodejs? Is there any way to validate if a page has javascript errors?