Interface SupportsArgumentsOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
Mac2Options

public interface SupportsArgumentsOption<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<List<String>>
    Get the array of application command line arguments.
    default T
    setArguments(List<String> arguments)
    Array of application command line arguments.

    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

    • setArguments

      default T setArguments(List<String> arguments)
      Array of application command line arguments. This capability is only going to be applied if the application is not running on session startup.
      Parameters:
      arguments - E.g. ["--help"].
      Returns:
      self instance for chaining.
    • getArguments

      default Optional<List<String>> getArguments()
      Get the array of application command line arguments.
      Returns:
      Application arguments.