public class ScreenShotFileOutput extends Object implements org.openqa.selenium.OutputType<File>
This temp file won't be deleted on exist.
Constructor and Description |
---|
ScreenShotFileOutput(String screenshotFilePrefix) |
ScreenShotFileOutput(String targetDir,
String screenshotFilePrefix) |
public ScreenShotFileOutput(String targetDir, String screenshotFilePrefix)
targetDir
- name of the target dir (can be null), will be ignored if file is created in temp directory.screenshotFilePrefix
- prefix of the screen shot file.public ScreenShotFileOutput(String screenshotFilePrefix)
screenshotFilePrefix
- prefix of the screen shot file.Copyright © 2015 Nuxeo SA. All rights reserved.