Interface SupportsIncludeDeviceCapsToSessionInfoOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsIncludeDeviceCapsToSessionInfoOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to include screen information as the result of Get Session Capabilities.default TsetIncludeDeviceCapsToSessionInfo(boolean value) Whether to include screen information as the result of Get Session Capabilities.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
-
INCLUDE_DEVICE_CAPS_TO_SESSION_INFO_OPTION
- See Also:
-
-
Method Details
-
setIncludeDeviceCapsToSessionInfo
Whether to include screen information as the result of Get Session Capabilities. It includes pixelRatio, statBarHeight and viewportRect, but it causes an extra API call to WDA which may increase the response time. Defaults to true.- Parameters:
value- Whether to include screen information as the result of Get Session Capabilities.- Returns:
- self instance for chaining.
-
doesIncludeDeviceCapsToSessionInfo
Get whether to include screen information as the result of Get Session Capabilities.- Returns:
- True or false.
-