public SeleniumActionBuilder screenshot ( String outputDir ) { MakeScreenshotAction action = new MakeScreenshotAction ( ) ; action . setOutputDir ( outputDir ) ; action ( action ) ; return this ; }
Make screenshot with custom output directory .