I want print log each selenium code line in Eclipse console, so in setUp()
I add a new line like this:
//import
import java.util.logging.Level;
//setup
driver.setLogLevel(Level.INFO);
I successfully to printed a log on the console, but it is red.
I know this is no error.
Environment:
Can I print black on the console ? is it possible ?
The logger is writing to 'standard error' which is displayed in red by Eclipse.
You can change the standard error colour in the Eclipse Preferences in 'Run/Debug > Console' (but this will change the colour for all standard error output).