public class ElementScreenshot extends Screenshot
| Constructor and Description |
|---|
ElementScreenshot(org.openqa.selenium.remote.RemoteWebDriver driver,
org.openqa.selenium.By element,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
capture() |
baselineExists, checkRetinaDisplay, getDriverNamepublic ElementScreenshot(org.openqa.selenium.remote.RemoteWebDriver driver,
org.openqa.selenium.By element,
String name)
public String capture() throws IOException
IOExceptionCopyright © 2017. All rights reserved.