Interface SupportsUseJsonSourceOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsUseJsonSourceOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
USE_JSON_SOURCE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesUseJSONSource()
Get whether to get JSON source from WDA and transform it to XML.default T
setUseJSONSource(boolean value)
Get JSON source from WDA and transform it to XML on the Appium server side.default T
useJSONSource()
Enforces 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, setCapability
-
-
-
-
Field Detail
-
USE_JSON_SOURCE_OPTION
static final java.lang.String USE_JSON_SOURCE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
useJSONSource
default T useJSONSource()
Enforces getting JSON source from WDA and transform it to XML on the Appium server side.- Returns:
- self instance for chaining.
-
setUseJSONSource
default T setUseJSONSource(boolean value)
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
default java.util.Optional<java.lang.Boolean> doesUseJSONSource()
Get whether to get JSON source from WDA and transform it to XML.- Returns:
- True or false.
-
-