Class ScreenshotUtils
- java.lang.Object
-
- com.redhat.devtools.intellij.commonuitest.utils.screenshot.ScreenshotUtils
-
public class ScreenshotUtils extends java.lang.ObjectStatic utilities for taking screenshots
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.FiletakeScreenshot(com.intellij.remoterobot.RemoteRobot remoteRobot)Take screenshot of the entire screen and save it on diskstatic java.io.FiletakeScreenshot(com.intellij.remoterobot.RemoteRobot remoteRobot, java.lang.String comment)Take screenshot of the entire screen and save it on disk
-
-
-
Method Detail
-
takeScreenshot
public static java.io.File takeScreenshot(com.intellij.remoterobot.RemoteRobot remoteRobot, java.lang.String comment)Take screenshot of the entire screen and save it on disk- Parameters:
remoteRobot- reference to the RemoteRobot instancecomment- message to add at the end of the screenshot's filename- Returns:
- the screenshot as a File object
-
takeScreenshot
public static java.io.File takeScreenshot(com.intellij.remoterobot.RemoteRobot remoteRobot)
Take screenshot of the entire screen and save it on disk- Parameters:
remoteRobot- reference to the RemoteRobot instance- Returns:
- the screenshot as a File object
-
-