Package jp.vmi.selenium.webdriver
Enum DriverOptions.DriverOption
- java.lang.Object
-
- java.lang.Enum<DriverOptions.DriverOption>
-
- jp.vmi.selenium.webdriver.DriverOptions.DriverOption
-
- All Implemented Interfaces:
Serializable,Comparable<DriverOptions.DriverOption>
- Enclosing class:
- DriverOptions
public static enum DriverOptions.DriverOption extends Enum<DriverOptions.DriverOption>
WebDriver option.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERTS_POLICY--alerts-policyCHROME_EXPERIMENTAL_OPTIONS--chrome-experimental-optionsCHROME_EXTENSION--chrome-extensionCHROMEDRIVER--chromedriverCLI_ARGS--cli-argsDEFINE--defineEDGEDRIVER--edgedriverFIREFOX--firefoxGECKODRIVER--geckodriverHEADLESS--headlessHEIGHT--heightIEDRIVER--iedriverNO_PROXY--no-proxyPHANTOMJS--phantomjsPROFILE--profilePROFILE_DIR--profile-dirPROXY--proxyPROXY_PASSWORD--proxy-passwordPROXY_TYPE--proxy-typePROXY_USER--proxy-userREMOTE_BROWSER--remote-browserREMOTE_PLATFORM--remote-platformREMOTE_URL--remote-urlREMOTE_VERSION--remote-versionWIDTH--width
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringoptionName()Get option name as "word-word-word".StringtoString()static DriverOptions.DriverOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static DriverOptions.DriverOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADLESS
public static final DriverOptions.DriverOption HEADLESS
--headless
-
PROFILE
public static final DriverOptions.DriverOption PROFILE
--profile
-
PROFILE_DIR
public static final DriverOptions.DriverOption PROFILE_DIR
--profile-dir
-
CHROME_EXPERIMENTAL_OPTIONS
public static final DriverOptions.DriverOption CHROME_EXPERIMENTAL_OPTIONS
--chrome-experimental-options
-
CHROME_EXTENSION
public static final DriverOptions.DriverOption CHROME_EXTENSION
--chrome-extension
-
PROXY_TYPE
public static final DriverOptions.DriverOption PROXY_TYPE
--proxy-type
-
PROXY
public static final DriverOptions.DriverOption PROXY
--proxy
-
PROXY_USER
public static final DriverOptions.DriverOption PROXY_USER
--proxy-user
-
PROXY_PASSWORD
public static final DriverOptions.DriverOption PROXY_PASSWORD
--proxy-password
-
NO_PROXY
public static final DriverOptions.DriverOption NO_PROXY
--no-proxy
-
CLI_ARGS
public static final DriverOptions.DriverOption CLI_ARGS
--cli-args
-
REMOTE_URL
public static final DriverOptions.DriverOption REMOTE_URL
--remote-url
-
REMOTE_PLATFORM
public static final DriverOptions.DriverOption REMOTE_PLATFORM
--remote-platform
-
REMOTE_BROWSER
public static final DriverOptions.DriverOption REMOTE_BROWSER
--remote-browser
-
REMOTE_VERSION
public static final DriverOptions.DriverOption REMOTE_VERSION
--remote-version
-
FIREFOX
public static final DriverOptions.DriverOption FIREFOX
--firefox
-
GECKODRIVER
public static final DriverOptions.DriverOption GECKODRIVER
--geckodriver
-
CHROMEDRIVER
public static final DriverOptions.DriverOption CHROMEDRIVER
--chromedriver
-
IEDRIVER
public static final DriverOptions.DriverOption IEDRIVER
--iedriver
-
EDGEDRIVER
public static final DriverOptions.DriverOption EDGEDRIVER
--edgedriver
-
PHANTOMJS
public static final DriverOptions.DriverOption PHANTOMJS
--phantomjs
-
HEIGHT
public static final DriverOptions.DriverOption HEIGHT
--height
-
WIDTH
public static final DriverOptions.DriverOption WIDTH
--width
-
ALERTS_POLICY
public static final DriverOptions.DriverOption ALERTS_POLICY
--alerts-policy
-
DEFINE
public static final DriverOptions.DriverOption DEFINE
--define
-
-
Method Detail
-
values
public static DriverOptions.DriverOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DriverOptions.DriverOption c : DriverOptions.DriverOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DriverOptions.DriverOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
optionName
public String optionName()
Get option name as "word-word-word".- Returns:
- option name.
-
toString
public String toString()
- Overrides:
toStringin classEnum<DriverOptions.DriverOption>
-
-