hi,

do you have any suggestion how to include 
this 
https://stackoverflow.com/questions/25431380/capturing-browser-logs-with-selenium-webdriver-using-java/26488661
 
into the framework to get chrome browser console logs?

as this 



*LoggingPreferences logPrefs = new 
LoggingPreferences();logPrefs.enable(LogType.BROWSER, 
Level.ALL);caps.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);*

gives me an error:

*Caused by: groovy.lang.MissingMethodException: No signature of method: 
org.openqa.selenium.logging.LoggingPreferences.enable() is applicable for 
argument types: (ConfigObject, ConfigObject) values: [[:], [:]]*
*Possible solutions: enable(java.lang.String, java.util.logging.Level), 
any()*


-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/3cb94fa7-e8f6-4246-91ec-64c94561ce69n%40googlegroups.com.

Reply via email to