public interface SupportsReduceMotionOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REDUCE_MOTION_OPTION |
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<java.lang.Boolean> |
doesReduceMotion()
Get whether to reduce motion accessibility preference.
|
default T |
reduceMotion()
Enforce reduce motion accessibility preference.
|
default T |
setReduceMotion(boolean value)
It allows to turn on/off reduce motion accessibility preference.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitystatic final java.lang.String REDUCE_MOTION_OPTION
default T reduceMotion()
default T setReduceMotion(boolean value)
value - Whether to turn on/off reduce motion accessibility preference.default java.util.Optional<java.lang.Boolean> doesReduceMotion()