I am writing automated test for a specific application, I'd need to check for Javascript errors in Chrome if possible with Selenium. Is there any already in-built class for this or any other handy way of doing this?
-
1A nice solution has been given here: stackoverflow.com/questions/4189312/…ptrk– ptrk2016-03-31 14:19:06 +00:00Commented Mar 31, 2016 at 14:19
-
@ptrk I'd have to inject a script to the page in this case, I'd rather be checking for js errors without any dependency on the page itself if possible.silhouette hustler– silhouette hustler2016-03-31 14:40:24 +00:00Commented Mar 31, 2016 at 14:40
-
Selenium is actually js injected into the page anyway, but I understand you don't want the original page modified. Then perhaps this link would be helpful: jimevansmusic.blogspot.com/2013/09/…ptrk– ptrk2016-03-31 14:44:37 +00:00Commented Mar 31, 2016 at 14:44
Add a comment
|