1

I am using Selenium with Chrome Driver to crawl websites. Need to get everything that gets printed on the chrome console.

Ex: I need Warning and Violation from console below enter image description here

chrome_debug.log doesn't contain Violations. enter image description here

I have tried passing arg "--verbose", "--v0", "--v1" to chrome driver, I have also tried setting LoggingPreferences loggingPreferences.enable(LogType.BROWSER, Level.ALL) with no luck. What am I missing here?

  • it clearly show that you used the package which is deprecated. So please take the latest package which is available in npm – Hiten Feb 02 '18 at 09:42
  • Hey Iten Thanks for Response. My issue is I am not able to see [Violations] which we get in console in chrome_debug.log. – Sangam Shankar Feb 02 '18 at 09:50

0 Answers0