Uses of Interface
org.openqa.selenium.OutputType
Packages that use OutputType
Package
Description
-
Uses of OutputType in org.openqa.selenium
Fields in org.openqa.selenium declared as OutputTypeModifier and TypeFieldDescriptionstatic final OutputType<String> OutputType.BASE64Obtain the screenshot as base64 data.static final OutputType<byte[]> OutputType.BYTESObtain the screenshot as raw bytes.static final OutputType<File> OutputType.FILEObtain the screenshot into a temporary file that will be deleted once the JVM exits.Methods in org.openqa.selenium with parameters of type OutputTypeModifier and TypeMethodDescription<X> XTakesScreenshot.getScreenshotAs(OutputType<X> target) Capture the screenshot and store it in the specified location. -
Uses of OutputType in org.openqa.selenium.firefox
Methods in org.openqa.selenium.firefox with parameters of type OutputTypeModifier and TypeMethodDescription<X> XFirefoxDriver.getFullPageScreenshotAs(OutputType<X> outputType) Capture the full page screenshot and store it in the specified location.<X> XHasFullPageScreenshot.getFullPageScreenshotAs(OutputType<X> outputType) Capture the full page screenshot and store it in the specified location. -
Uses of OutputType in org.openqa.selenium.remote
Methods in org.openqa.selenium.remote with parameters of type OutputTypeModifier and TypeMethodDescription<X> XRemoteWebDriver.getScreenshotAs(OutputType<X> outputType) <X> XRemoteWebElement.getScreenshotAs(OutputType<X> outputType) -
Uses of OutputType in org.openqa.selenium.support.events
Methods in org.openqa.selenium.support.events with parameters of type OutputTypeModifier and TypeMethodDescriptiondefault <X> voidWebDriverListener.afterGetScreenshotAs(WebDriver driver, OutputType<X> target, X result) This method will be called afterTakesScreenshot.getScreenshotAs(OutputType)is called.default <X> voidWebDriverListener.afterGetScreenshotAs(WebElement element, OutputType<X> target, X result) This method will be called afterTakesScreenshot.getScreenshotAs(OutputType)is called.default <X> voidWebDriverListener.beforeGetScreenshotAs(WebDriver driver, OutputType<X> target) This method will be called beforeTakesScreenshot.getScreenshotAs(OutputType)is called.default <X> voidWebDriverListener.beforeGetScreenshotAs(WebElement element, OutputType<X> target) This method will be called beforeTakesScreenshot.getScreenshotAs(OutputType)is called.