Selenium logging in Java – best practice? [closed]

Tags: , , ,

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


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

Source: stackoverflow