Interface SupportsAppWorkingDirOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
WindowsOptions
public interface SupportsAppWorkingDirOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPP_WORKING_DIR_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>getAppWorkingDir()Get the full path to the folder, which is going to be set as the working dir for the application under test.default TsetAppWorkingDir(java.lang.String path)Full path to the folder, which is going to be set as the working dir for the application under test.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
APP_WORKING_DIR_OPTION
static final java.lang.String APP_WORKING_DIR_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAppWorkingDir
default T setAppWorkingDir(java.lang.String path)
Full path to the folder, which is going to be set as the working dir for the application under test. This is only applicable for classic apps.- Parameters:
path- Existing folder path on the server file system.- Returns:
- self instance for chaining.
-
getAppWorkingDir
default java.util.Optional<java.lang.String> getAppWorkingDir()
Get the full path to the folder, which is going to be set as the working dir for the application under test.- Returns:
- Folder path on the server file system.
-
-