Long time ago i wanted to describe java system properties related to WebDriver.
Below is a list of such properties with short description of what they are designed for.
This list of in draft state and it's needed to be updated and extended (but all of these still can affect WebDriver behaviour):
1. some system properties as "line.separator", "os.version", "os.arch", "os.name", "java.version", "java.vm.version", "java.vm.name", "java.vm.vendor", "java.io.tmpdir" are just skipped;
2. source code of RC, java tests, future outdated Iphone simulator and jetty server is skipped too;
3. "https?.proxy*" properties are skipped;
4. env variables are out of review.
Misc
webdriver.reap_profile
Affect cleaning temporary files and folders. By default is to clean. Used in FF profile cleaning and at remote server session cleaning.
webdriver.remote.server
Affect default WebDriver remote URL used when null is passed in. Default is http://localhost:4444/wd/hub
webdriver.remote.quietExceptions
Affect instantiation of special thread which take screenshot at error and attach it to json result responce.
Affect instantiation of special thread which take screenshot at error and attach it to json result responce.
selenium.LOGGER
Affect path to default log file for selenium server.
webdriver.chrome.logfile
Affect path to log file of chromedriver server.
webdriver.chrome.driver
Affect path to chromedriver binary.
webdriver.development
Affect development mode. Used mostly in tests and at Firefox profile unpacking.
webdriver.firefox.profile
Affect name (not path!) of profile which will be used if no profile is passed in.
Profile data are looked for inside folder defined at profiles.ini for specified profile name.
webdriver.firefox.library.path
Affect path added as firefox library path into library path enviroment variable
which is used during fireefox binary instanciating.
webdriver.firefox.bin
Affects firefox binary used for firefox instanciating.
webdriver.firefox.logfile
Affect path to log file into which firefox process will write stdout during instanciating.
Internet Explorer
webdriver.ie.driver
Affect path to IEDriverServer binary.
webdriver.ie.driver.logfile
Affect path to log file to which IEDriverServer will log to
webdriver.ie.driver.loglevel
Affect logging level
webdriver.ie.driver.host
Affect host to which IEDriverServer will bind
webdriver.ie.driver.extractpath
Affect folder to which IEDriverServer will unpack necessary resources
webdriver.ie.driver.silent
Affect will IEDriverServer print some additional messages to console or not
webdriver.ie.driver.forcecreateprocess
Affect which API will be used by IEDriverServer during IE instanciating.
webdriver.ie.driver.ieswitches
Affect which CLI switches will be used during IE instanciating if webdriver.ie.driver.forcecreateprocess is set.
webdriver.safari.noinstall
Affect will be installed safari extension or not.
webdriver.safari.driver
Affect path to safarit extension which will be installed.
Комментариев нет:
Отправить комментарий