Package jp.vmi.selenium.selenese.config
Interface IConfig
-
- All Known Implementing Classes:
DefaultConfig
public interface IConfigConfiguration information.To add a new option, complete the following steps:
- Edit
src/generator/config.groovy. - Run
src/generator/OptionGenerator.groovy. - Add your option handler.
The following classes are updated:
DefaultConfigIConfigDriverOptions(for WebDriver specific option)DriverOptions.DriverOption(for WebDriver specific option)
-
-
Field Summary
-
Method Summary
-
-
-
Field Detail
-
DRIVER
static final String DRIVER
- See Also:
- Constant Field Values
-
HEADLESS
static final String HEADLESS
- See Also:
- Constant Field Values
-
PROFILE
static final String PROFILE
- See Also:
- Constant Field Values
-
PROFILE_DIR
static final String PROFILE_DIR
- See Also:
- Constant Field Values
-
CHROME_EXPERIMENTAL_OPTIONS
static final String CHROME_EXPERIMENTAL_OPTIONS
- See Also:
- Constant Field Values
-
CHROME_EXTENSION
static final String CHROME_EXTENSION
- See Also:
- Constant Field Values
-
PROXY_TYPE
static final String PROXY_TYPE
- See Also:
- Constant Field Values
-
PROXY
static final String PROXY
- See Also:
- Constant Field Values
-
PROXY_USER
static final String PROXY_USER
- See Also:
- Constant Field Values
-
PROXY_PASSWORD
static final String PROXY_PASSWORD
- See Also:
- Constant Field Values
-
NO_PROXY
static final String NO_PROXY
- See Also:
- Constant Field Values
-
CLI_ARGS
static final String CLI_ARGS
- See Also:
- Constant Field Values
-
REMOTE_URL
static final String REMOTE_URL
- See Also:
- Constant Field Values
-
REMOTE_PLATFORM
static final String REMOTE_PLATFORM
- See Also:
- Constant Field Values
-
REMOTE_BROWSER
static final String REMOTE_BROWSER
- See Also:
- Constant Field Values
-
REMOTE_VERSION
static final String REMOTE_VERSION
- See Also:
- Constant Field Values
-
HIGHLIGHT
static final String HIGHLIGHT
- See Also:
- Constant Field Values
-
INTERACTIVE
static final String INTERACTIVE
- See Also:
- Constant Field Values
-
SCREENSHOT_DIR
static final String SCREENSHOT_DIR
- See Also:
- Constant Field Values
-
SCREENSHOT_ALL
static final String SCREENSHOT_ALL
- See Also:
- Constant Field Values
-
SCREENSHOT_ON_FAIL
static final String SCREENSHOT_ON_FAIL
- See Also:
- Constant Field Values
-
SCREENSHOT_SCROLL_TIMEOUT
static final String SCREENSHOT_SCROLL_TIMEOUT
- See Also:
- Constant Field Values
-
IGNORE_SCREENSHOT_COMMAND
static final String IGNORE_SCREENSHOT_COMMAND
- See Also:
- Constant Field Values
-
BASEURL
static final String BASEURL
- See Also:
- Constant Field Values
-
FIREFOX
static final String FIREFOX
- See Also:
- Constant Field Values
-
GECKODRIVER
static final String GECKODRIVER
- See Also:
- Constant Field Values
-
CHROMEDRIVER
static final String CHROMEDRIVER
- See Also:
- Constant Field Values
-
IEDRIVER
static final String IEDRIVER
- See Also:
- Constant Field Values
-
EDGEDRIVER
static final String EDGEDRIVER
- See Also:
- Constant Field Values
-
PHANTOMJS
static final String PHANTOMJS
- See Also:
- Constant Field Values
-
XML_RESULT
static final String XML_RESULT
- See Also:
- Constant Field Values
-
HTML_RESULT
static final String HTML_RESULT
- See Also:
- Constant Field Values
-
TIMEOUT
static final String TIMEOUT
- See Also:
- Constant Field Values
-
MAX_RETRIES
static final String MAX_RETRIES
- See Also:
- Constant Field Values
-
SET_SPEED
static final String SET_SPEED
- See Also:
- Constant Field Values
-
HEIGHT
static final String HEIGHT
- See Also:
- Constant Field Values
-
WIDTH
static final String WIDTH
- See Also:
- Constant Field Values
-
ALERTS_POLICY
static final String ALERTS_POLICY
- See Also:
- Constant Field Values
-
DEFINE
static final String DEFINE
- See Also:
- Constant Field Values
-
VAR
static final String VAR
- See Also:
- Constant Field Values
-
ROLLUP
static final String ROLLUP
- See Also:
- Constant Field Values
-
COOKIE_FILTER
static final String COOKIE_FILTER
- See Also:
- Constant Field Values
-
LOG_FILTER
static final String LOG_FILTER
- See Also:
- Constant Field Values
-
COMMAND_FACTORY
static final String COMMAND_FACTORY
- See Also:
- Constant Field Values
-
NO_EXIT
static final String NO_EXIT
- See Also:
- Constant Field Values
-
STRICT_EXIT_CODE
static final String STRICT_EXIT_CODE
- See Also:
- Constant Field Values
-
MAX_TIME
static final String MAX_TIME
- See Also:
- Constant Field Values
-
HELP
static final String HELP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getArgs
String[] getArgs()
Get command line arguments without parsed options.- Returns:
- command line arguments.
-
get
<T> T get(String opt)
Get option value.- Type Parameters:
T- type of option value.- Parameters:
opt- option name.- Returns:
- option value.
-
get
<T> T get(String opt, T defaultValue)
Get option value or default value.- Type Parameters:
T- type of option value.- Parameters:
opt- option name.defaultValue- default value.- Returns:
- option value.
-
getDriver
String getDriver()
-
isHeadless
boolean isHeadless()
-
getProfile
String getProfile()
-
getProfileDir
String getProfileDir()
-
getChromeExperimentalOptions
String getChromeExperimentalOptions()
-
getChromeExtension
String[] getChromeExtension()
-
getProxyType
String getProxyType()
-
getProxy
String getProxy()
-
getProxyUser
String getProxyUser()
-
getProxyPassword
String getProxyPassword()
-
getNoProxy
String getNoProxy()
-
getCliArgs
String[] getCliArgs()
-
getRemoteUrl
String getRemoteUrl()
-
getRemotePlatform
String getRemotePlatform()
-
getRemoteBrowser
String getRemoteBrowser()
-
getRemoteVersion
String getRemoteVersion()
-
isHighlight
boolean isHighlight()
-
isInteractive
boolean isInteractive()
-
getScreenshotDir
String getScreenshotDir()
-
getScreenshotAll
String getScreenshotAll()
-
getScreenshotOnFail
String getScreenshotOnFail()
-
getScreenshotScrollTimeout
String getScreenshotScrollTimeout()
-
isIgnoreScreenshotCommand
boolean isIgnoreScreenshotCommand()
-
getBaseurl
String getBaseurl()
-
getFirefox
String getFirefox()
-
getGeckodriver
String getGeckodriver()
-
getChromedriver
String getChromedriver()
-
getIedriver
String getIedriver()
-
getEdgedriver
String getEdgedriver()
-
getPhantomjs
String getPhantomjs()
-
getXmlResult
String getXmlResult()
-
getHtmlResult
String getHtmlResult()
-
getTimeout
String getTimeout()
-
getMaxRetries
String getMaxRetries()
-
getSetSpeed
String getSetSpeed()
-
getHeight
String getHeight()
-
getWidth
String getWidth()
-
getAlertsPolicy
String getAlertsPolicy()
-
getDefine
String[] getDefine()
-
getVar
String[] getVar()
-
getRollup
String[] getRollup()
-
getCookieFilter
String getCookieFilter()
-
getLogFilter
String[] getLogFilter()
-
getCommandFactory
String getCommandFactory()
-
isNoExit
boolean isNoExit()
-
isStrictExitCode
boolean isStrictExitCode()
-
getMaxTime
String getMaxTime()
-
isHelp
boolean isHelp()
-
-