org.openqa.selenium.server.commands
Class CaptureScreenshotToStringCommand
java.lang.Object
org.openqa.selenium.server.commands.CaptureScreenshotToStringCommand
public class CaptureScreenshotToStringCommand
- extends Object
Captures a full screen shot of the current screen using the java.awt.Robot class. and returns it
as a base 64 encoded PNG image.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
CaptureScreenshotToStringCommand
public CaptureScreenshotToStringCommand()
execute
public String execute()
captureAndEncodeSystemScreenshot
public String captureAndEncodeSystemScreenshot()
throws InterruptedException,
ExecutionException,
TimeoutException,
IOException
- Throws:
InterruptedException
ExecutionException
TimeoutException
IOException
Copyright © 2012. All Rights Reserved.