public static void addScreenCaptureFromPath ( String imagePath , String title ) throws IOException { getCurrentStep ( ) . addScreenCaptureFromPath ( imagePath , title ) ; }
Adds the screenshot from the given path with the given title to the current step