Interface SupportsReduceMotionOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsReduceMotionOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to reduce motion accessibility preference.default TEnforce reduce motion accessibility preference.default TsetReduceMotion(boolean value) It allows to turn on/off reduce motion accessibility preference.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
REDUCE_MOTION_OPTION
- See Also:
-
-
Method Details
-
reduceMotion
Enforce reduce motion accessibility preference.- Returns:
- self instance for chaining.
-
setReduceMotion
It allows to turn on/off reduce motion accessibility preference. Setting reduceMotion on helps to reduce flakiness during tests. Only on simulators.- Parameters:
value- Whether to turn on/off reduce motion accessibility preference.- Returns:
- self instance for chaining.
-
doesReduceMotion
Get whether to reduce motion accessibility preference.- Returns:
- True or false.
-