public class TestHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
getScreenshotAs(org.openqa.selenium.OutputType<T> outputType,
org.openqa.selenium.WebDriver driver) |
static String |
getScreenshotAsBase64(org.openqa.selenium.WebDriver driver) |
public static <T> T getScreenshotAs(org.openqa.selenium.OutputType<T> outputType, org.openqa.selenium.WebDriver driver)
TakesScreenshot.getScreenshotAs(OutputType)
public static String getScreenshotAsBase64(org.openqa.selenium.WebDriver driver)
getScreenshotAs(OutputType, WebDriver)
Copyright © 2015. All rights reserved.