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