public interface SupportsScreenshotQualityOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCREENSHOT_QUALITY_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Integer> |
getScreenshotQuality()
Get the screenshot quality value.
|
default T |
setScreenshotQuality(int quality)
Changes the quality of phone display screenshots following
xctest/xctimagequality Default value is 1.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String SCREENSHOT_QUALITY_OPTION
default T setScreenshotQuality(int quality)
quality
- Quality value in range 0..2.default java.util.Optional<java.lang.Integer> getScreenshotQuality()