Interface SupportsUseJsonSourceOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsUseJsonSourceOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to get JSON source from WDA and transform it to XML.default TsetUseJSONSource(boolean value) Get JSON source from WDA and transform it to XML on the Appium server side.default TEnforces getting JSON source from WDA and transform it to XML on the Appium server side.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
-
USE_JSON_SOURCE_OPTION
- See Also:
-
-
Method Details
-
useJSONSource
Enforces getting JSON source from WDA and transform it to XML on the Appium server side.- Returns:
- self instance for chaining.
-
setUseJSONSource
Get JSON source from WDA and transform it to XML on the Appium server side. Defaults to false.- Parameters:
value- Whether to get JSON source from WDA and transform it to XML.- Returns:
- self instance for chaining.
-
doesUseJSONSource
Get whether to get JSON source from WDA and transform it to XML.- Returns:
- True or false.
-