Class ScreenshotUtils
java.lang.Object
com.redhat.devtools.intellij.commonuitest.utils.screenshot.ScreenshotUtils
Static utilities for taking screenshots
-
Method Summary
Modifier and TypeMethodDescriptionstatic FiletakeScreenshot(com.intellij.remoterobot.RemoteRobot remoteRobot) Take screenshot of the entire screen and save it on diskstatic FiletakeScreenshot(com.intellij.remoterobot.RemoteRobot remoteRobot, String comment) Take screenshot of the entire screen and save it on disk
-
Method Details
-
takeScreenshot
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
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
-