I wanted to ask if it is possible to print my automated tests' console window to a text file. I'm new to webdriver and java and so far I have got a print out using the code below. Any help would be appreciated, thanks in advance.
FileWriter fw = new FileWriter("c:\\selenium_output_.txt");
fw.write("test");
fw.close();