Package com.shaft.gui.internal.image
Class ImageProcessingActions
java.lang.Object
com.shaft.gui.internal.image.ImageProcessingActions
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic BooleancompareAgainstBaseline(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By elementLocator, byte[] elementScreenshot, ImageProcessingActions.VisualValidationEngine visualValidationEngine) static voidcompareImageFolders(String referenceFolderPath, String testFolderPath, double threshold) findImageWithinCurrentPage(String referenceImagePath, byte[] currentPageScreenshot) static StringformatElementLocatorToImagePath(org.openqa.selenium.By elementLocator) static byte[]getReferenceImage(org.openqa.selenium.By elementLocator) static byte[]getShutterbugDifferencesImage(org.openqa.selenium.By elementLocator) static byte[]highlightElementInScreenshot(byte[] targetScreenshot, org.openqa.selenium.Rectangle elementLocation, Color highlightColor) static void 
- 
Method Details
- 
compareImageFolders
 - 
highlightElementInScreenshot
public static byte[] highlightElementInScreenshot(byte[] targetScreenshot, org.openqa.selenium.Rectangle elementLocation, Color highlightColor)  - 
findImageWithinCurrentPage
 - 
formatElementLocatorToImagePath
 - 
getReferenceImage
public static byte[] getReferenceImage(org.openqa.selenium.By elementLocator)  - 
getShutterbugDifferencesImage
public static byte[] getShutterbugDifferencesImage(org.openqa.selenium.By elementLocator)  - 
compareAgainstBaseline
public static Boolean compareAgainstBaseline(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By elementLocator, byte[] elementScreenshot, ImageProcessingActions.VisualValidationEngine visualValidationEngine)  - 
loadOpenCV
public static void loadOpenCV() 
 -