void function ( String arg0 ) { WebDriver loc0 = new Augmenter ( ) . augment ( driver ) ; String loc1 = new SimpleDateFormat ( ) . format ( new Date ( ) ) ; File loc2 = ( ( TakesScreenshot ) loc0 ) . getScreenshotAs ( OutputType . FILE ) ; FileUtils . copyFile ( loc2 , new File ( arg0 + loc1 ) ) ; }
takes a screenshot and appends a timestamp . concode_field_sep RemoteWebDriver driver concode_field_sep void takeScreenshotWithGivenLocationAndName concode_elem_sep String convertInteger