Fixing smoke and refractoring CaptureScreenshotOnFailureListener.java file path