0

I searched for a solution to my problem but couldnt find any.

Is there a way to open a URL in python and get the console output from that url?

Im trying to check a list of URLs for Javascript errors. The only solution I found was using Selenium but its incredible slow.

2
  • The console output of chrome/firefox/ie - which browser ? Commented Feb 15, 2019 at 13:54
  • Chrome or firefox mainly Commented Feb 15, 2019 at 13:59

1 Answer 1

2

From first look the Chrome solution seems easier.

  • Last but not least I stumbled over the python module selenium which can do liveserver testing.

For reference see this django use case, there is also an other post how to catch js errors

Sign up to request clarification or add additional context in comments.

Comments

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.