public class ImageUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERROR_WHILE_CONVERTING_IMAGE |
| Constructor and Description |
|---|
ImageUtils(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
getDriver() |
byte[] |
handleAlertAndTakeScreenshot() |
static java.awt.image.BufferedImage |
toBufferedImage(java.lang.String fileName) |
public static final java.lang.String ERROR_WHILE_CONVERTING_IMAGE
public org.openqa.selenium.WebDriver getDriver()
public byte[] handleAlertAndTakeScreenshot()
public static java.awt.image.BufferedImage toBufferedImage(java.lang.String fileName)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionCopyright © 2018 FluentLenium. All Rights Reserved.