Package net.serenitybdd.core.photography
Interface PhotoLens
- All Known Implementing Classes:
WebDriverPhotoLens
public interface PhotoLens
A PhotoLens encapsulates a WebDriver or Playwright object that can be used to take screenshots
-
Method Summary
Modifier and Type Method Description byte[]
takeScreenshot()
-
Method Details
-
takeScreenshot
byte[] takeScreenshot() throws java.io.IOException- Throws:
java.io.IOException
-