public interface SupportsNativeWebScreenshotOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NATIVE_WEB_SCREENSHOT_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Boolean> |
doesNativeWebScreenshot()
Get whether to use native screenshots in web view context.
|
default T |
nativeWebScreenshot()
Enforce to use screenshoting endpoint provided by UiAutomator framework
rather than the one provided by chromedriver.
|
default T |
setNativeWebScreenshot(boolean value)
Whether to use screenshoting endpoint provided by UiAutomator framework (true)
rather than the one provided by chromedriver (false, the default value).
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String NATIVE_WEB_SCREENSHOT_OPTION
default T nativeWebScreenshot()
default T setNativeWebScreenshot(boolean value)
value
- Whether to use native screenshots in web view context.default java.util.Optional<java.lang.Boolean> doesNativeWebScreenshot()