Interface SupportsArgumentsOption<T extends BaseOptions<T>>

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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.util.List<java.lang.String>> getArguments()
      Get the array of application command line arguments.
      default T setArguments​(java.util.List<java.lang.String> arguments)
      Array of application command line arguments.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Method Detail

      • setArguments

        default T setArguments​(java.util.List<java.lang.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 java.util.Optional<java.util.List<java.lang.String>> getArguments()
        Get the array of application command line arguments.
        Returns:
        Application arguments.