4

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?

3
  • 1
    A nice solution has been given here: stackoverflow.com/questions/4189312/… Commented 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. Commented 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/… Commented Mar 31, 2016 at 14:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.