Interface SupportsUseJsonSourceOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.