Interface SupportsChromedriverArgsOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsChromedriverArgsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHROMEDRIVER_ARGS_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-