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 PhotoLens
public byte[] takeScreenshot() throws IOException
takeScreenshot
in interface PhotoLens
IOException
Copyright © 2022. All rights reserved.