Interface SupportsEnvironmentOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
Mac2Options
public interface SupportsEnvironmentOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the application environment variables mapping.default TsetEnvironment(Map<String, String> env) A dictionary of environment variables (name->value) that are going to be passed to the application under test on top of environment variables inherited from the parent process.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
-
ENVIRONMENT_OPTION
- See Also:
-
-
Method Details
-
setEnvironment
A dictionary of environment variables (name->value) that are going to be passed to the application under test on top of environment variables inherited from the parent process. This capability is only going to be applied if the application is not running on session startup.- Parameters:
env- E.g. ["--help"].- Returns:
- self instance for chaining.
-
getEnvironment
Get the application environment variables mapping.- Returns:
- Application environment mapping.
-