Interface SupportsEspressoBuildConfigOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions
public interface SupportsEspressoBuildConfigOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<org.openqa.selenium.internal.Either<EspressoBuildConfig,String>> Get the Espresso build config.default TThis config allows to customize several important properties of Espresso server.default TsetEspressoBuildConfig(String configPath) This config allows to customize several important properties of Espresso server.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
-
ESPRESSO_BUILD_CONFIG_OPTION
- See Also:
-
-
Method Details
-
setEspressoBuildConfig
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
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 Optional<org.openqa.selenium.internal.Either<EspressoBuildConfig,String>> getEspressoBuildConfig()Get the Espresso build config.- Returns:
- Either the config itself or a path to a JSON file on the server FS.
-