Interface SupportsEspressoBuildConfigOption<T extends BaseOptions<T>>

    • Field Detail

      • ESPRESSO_BUILD_CONFIG_OPTION

        static final java.lang.String ESPRESSO_BUILD_CONFIG_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setEspressoBuildConfig

        default T setEspressoBuildConfig​(java.lang.String configPath)
        This config allows to customize several important properties of Espresso server. Refer to https://github.com/appium/appium-espresso-driver#espresso-build-config for more information on how to properly construct such config.
        Parameters:
        configPath - The path to the config file on the server file system.
        Returns:
        self instance for chaining.
      • setEspressoBuildConfig

        default T setEspressoBuildConfig​(EspressoBuildConfig config)
        This config allows to customize several important properties of Espresso server. Refer to https://github.com/appium/appium-espresso-driver#espresso-build-config for more information on how to properly construct such config.
        Parameters:
        config - Config instance.
        Returns:
        self instance for chaining.
      • getEspressoBuildConfig

        default java.util.Optional<org.openqa.selenium.internal.Either<EspressoBuildConfig,​java.lang.String>> getEspressoBuildConfig()
        Get the Espresso build config.
        Returns:
        Either the config itself or a path to a JSON file on the server FS.