public void setScreenshotFolder ( final File folder ) { this . directory = folder ; boolean created = directory . mkdirs ( ) ; LOG . info ( "Screenshot folder created succsessfully: " + created ) ; }
Set the folder where we save screenshots .