Package jp.vmi.selenium.webdriver
Enum 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
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 Details
-
HEADLESS
--headless -
PROFILE
--profile -
PROFILE_DIR
--profile-dir -
CHROME_EXPERIMENTAL_OPTIONS
--chrome-experimental-options -
CHROME_EXTENSION
--chrome-extension -
PROXY_TYPE
--proxy-type -
PROXY
--proxy -
PROXY_USER
--proxy-user -
PROXY_PASSWORD
--proxy-password -
NO_PROXY
--no-proxy -
CLI_ARGS
--cli-args -
REMOTE_URL
--remote-url -
REMOTE_PLATFORM
--remote-platform -
REMOTE_BROWSER
--remote-browser -
REMOTE_VERSION
--remote-version -
FIREFOX
--firefox -
GECKODRIVER
--geckodriver -
CHROMEDRIVER
--chromedriver -
IEDRIVER
--iedriver -
EDGEDRIVER
--edgedriver -
PHANTOMJS
--phantomjs -
HEIGHT
--height -
WIDTH
--width -
ALERTS_POLICY
--alerts-policy -
DEFINE
--define
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Get option name as "word-word-word".- Returns:
- option name.
-
toString
- Overrides:
toStringin classEnum<DriverOptions.DriverOption>
-