public class WebDriverPhotoLens extends Object implements PhotoLens
| Constructor and Description |
|---|
WebDriverPhotoLens(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTakeScreenshot() |
org.openqa.selenium.WebDriver |
getDriver() |
byte[] |
takeScreenshot() |
public WebDriverPhotoLens(org.openqa.selenium.WebDriver driver)
public org.openqa.selenium.WebDriver getDriver()
public boolean canTakeScreenshot()
canTakeScreenshot in interface PhotoLenspublic byte[] takeScreenshot()
throws IOException
takeScreenshot in interface PhotoLensIOExceptionCopyright © 2022. All rights reserved.