Interface SupportsChromedriverArgsOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.util.List<java.lang.String>> getChromedriverArgs()
      Get the array of chromedriver CLI arguments.
      default T setChromedriverArgs​(java.util.List<java.lang.String> args)
      Array of chromedriver [command line arguments](http://www.assertselenium.com/java/list-of-chrome-driver-command-line-arguments/).
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • CHROMEDRIVER_ARGS_OPTION

        static final java.lang.String CHROMEDRIVER_ARGS_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setChromedriverArgs

        default T setChromedriverArgs​(java.util.List<java.lang.String> args)
        Array of chromedriver [command line arguments](http://www.assertselenium.com/java/list-of-chrome-driver-command-line-arguments/). Note, that not all command line arguments that are available for the desktop browser are also available for the mobile one.
        Parameters:
        args - Chromedriver command line arguments.
        Returns:
        self instance for chaining.
      • getChromedriverArgs

        default java.util.Optional<java.util.List<java.lang.String>> getChromedriverArgs()
        Get the array of chromedriver CLI arguments.
        Returns:
        Arguments list.