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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    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
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<Boolean> doesUseJSONSource()
      Get whether to get JSON source from WDA and transform it to XML.
      Returns:
      True or false.