Package net.serenitybdd.core.photography
Class WebDriverScreenShooter
java.lang.Object
net.serenitybdd.core.photography.WebDriverScreenShooter
- All Implemented Interfaces:
ScreenShooter
public class WebDriverScreenShooter extends java.lang.Object implements ScreenShooter
The default screenshot mechanism, using the standard WebDriver screenshot functionality
-
Constructor Summary
Constructors Constructor Description WebDriverScreenShooter(PhotoLens lens) -
Method Summary
Modifier and Type Method Description byte[]takeScreenshot()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WebDriverScreenShooter
-
-
Method Details
-
takeScreenshot
public byte[] takeScreenshot() throws java.io.IOException- Specified by:
takeScreenshotin interfaceScreenShooter- Throws:
java.io.IOException
-