Interface SupportsAppWorkingDirOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, 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 final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Get the full path to the folder, which is going to be set as the working dir for the application under test.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

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

  • Method Details

    • setAppWorkingDir

      default T setAppWorkingDir(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 Optional<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.