Package | Description |
---|---|
org.openqa.selenium |
Modifier and Type | Field and Description |
---|---|
static OutputType<String> |
OutputType.BASE64
Obtain the screenshot as base64 data.
|
static OutputType<byte[]> |
OutputType.BYTES
Obtain the screenshot as raw bytes.
|
static OutputType<File> |
OutputType.FILE
Obtain the screenshot into a temporary file that will be deleted once the JVM exits.
|
Modifier and Type | Method and Description |
---|---|
<X> X |
TakesScreenshot.getScreenshotAs(OutputType<X> target)
Capture the screenshot and store it in the specified location.
|
Copyright © 2014. All rights reserved.