Skip to content
Advertisement

Selenium logging in Java – best practice? [closed]

What are the current best practices for logging selenium webdriver activity?

Are there any out-of-the-box tools that hook in to native webdriver actions?

I am interested in what specific tools you have used, what helpful references you might have, and what evidence you might have to justify your assessment of the current state-of-the-art of web automation logging

Advertisement

Answer

LoggingPreferences class is a native Selenium class available in Java binding for logging. See doc here. It does give you the option for logging in different level of activities and events. Also, see Logs interface

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement