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 PhotoLens
IOException
Copyright © 2021. All rights reserved.