I\'m trying to get browser console logs using selenium webdriver - java. But code is getting "java.lang.IllegalArgumentException" error. How to clear this error?