Package jp.vmi.selenium.selenese.config
Interface IConfig
- All Known Implementing Classes:
DefaultConfig
public interface IConfig
Configuration 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 Details
-
DRIVER
- See Also:
- Constant Field Values
-
HEADLESS
- See Also:
- Constant Field Values
-
PROFILE
- See Also:
- Constant Field Values
-
PROFILE_DIR
- See Also:
- Constant Field Values
-
CHROME_EXPERIMENTAL_OPTIONS
- See Also:
- Constant Field Values
-
CHROME_EXTENSION
- See Also:
- Constant Field Values
-
PROXY_TYPE
- See Also:
- Constant Field Values
-
PROXY
- See Also:
- Constant Field Values
-
PROXY_USER
- See Also:
- Constant Field Values
-
PROXY_PASSWORD
- See Also:
- Constant Field Values
-
NO_PROXY
- See Also:
- Constant Field Values
-
CLI_ARGS
- See Also:
- Constant Field Values
-
REMOTE_URL
- See Also:
- Constant Field Values
-
REMOTE_PLATFORM
- See Also:
- Constant Field Values
-
REMOTE_BROWSER
- See Also:
- Constant Field Values
-
REMOTE_VERSION
- See Also:
- Constant Field Values
-
HIGHLIGHT
- See Also:
- Constant Field Values
-
INTERACTIVE
- See Also:
- Constant Field Values
-
SCREENSHOT_DIR
- See Also:
- Constant Field Values
-
SCREENSHOT_ALL
- See Also:
- Constant Field Values
-
SCREENSHOT_ON_FAIL
- See Also:
- Constant Field Values
-
SCREENSHOT_SCROLL_TIMEOUT
- See Also:
- Constant Field Values
-
IGNORE_SCREENSHOT_COMMAND
- See Also:
- Constant Field Values
-
BASEURL
- See Also:
- Constant Field Values
-
FIREFOX
- See Also:
- Constant Field Values
-
GECKODRIVER
- See Also:
- Constant Field Values
-
CHROMEDRIVER
- See Also:
- Constant Field Values
-
IEDRIVER
- See Also:
- Constant Field Values
-
EDGEDRIVER
- See Also:
- Constant Field Values
-
PHANTOMJS
- See Also:
- Constant Field Values
-
XML_RESULT
- See Also:
- Constant Field Values
-
HTML_RESULT
- See Also:
- Constant Field Values
-
TIMEOUT
- See Also:
- Constant Field Values
-
MAX_RETRIES
- See Also:
- Constant Field Values
-
SET_SPEED
- See Also:
- Constant Field Values
-
HEIGHT
- See Also:
- Constant Field Values
-
WIDTH
- See Also:
- Constant Field Values
-
ALERTS_POLICY
- See Also:
- Constant Field Values
-
DEFINE
- See Also:
- Constant Field Values
-
VAR
- See Also:
- Constant Field Values
-
ROLLUP
- See Also:
- Constant Field Values
-
COOKIE_FILTER
- See Also:
- Constant Field Values
-
LOG_FILTER
- See Also:
- Constant Field Values
-
COMMAND_FACTORY
- See Also:
- Constant Field Values
-
NO_EXIT
- See Also:
- Constant Field Values
-
STRICT_EXIT_CODE
- See Also:
- Constant Field Values
-
MAX_TIME
- See Also:
- Constant Field Values
-
NO_REPLACE_ALERT_METHOD
- See Also:
- Constant Field Values
-
HELP
- See Also:
- Constant Field Values
-
-
Method Details
-
getArgs
String[] getArgs()Get command line arguments without parsed options.- Returns:
- command line arguments.
-
get
Get option value.- Type Parameters:
T- type of option value.- Parameters:
opt- option name.- Returns:
- option value.
-
get
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() -
isNoReplaceAlertMethod
boolean isNoReplaceAlertMethod() -
isHelp
boolean isHelp()
-