Help documentation

Use Selenium 0.9.2 to test HTTPS sites

Twist allows testing of HTTPS sites using Selenium.

When you have direct Internet connectivity(without proxy) to the application under test

Non-proxy Injection mode

In this case, it is recommended to use *iehta or *chrome as the browser launcher with relevant additional configuration options in twist.properties. Using any other browser launcher will require that you accept SSL certificates in the browser. Here is a sample configuration:

selenium.server.options = -port 4545
selenium.browserLauncher = *chrome (for chrome) OR *iehta (for iehta)
selenium.browserURL = https://www.<your_application_domain>.com/<context_path>
twist.selenium.enableImplicitWait = false
    

Proxy Injection mode

It is required to use *piiexplore or *pifirefox as the browser launcher with relevant additional configurations in twist.properties. Using any other browser launcher is an invalid combination and will not work.

selenium.server.options = -port  4545 -proxyInjectionMode -avoidProxy
selenium.browserLauncher = *piiexplore OR *pifirefox (as required)
selenium.browserURL = https://www.<your_application_domain>.com/<context_path>
twist.selenium.enableImplicitWait = true OR false (as required)
    

When the application under test is behind an internet/web proxy

Non-proxy Injection mode

It is required to use *firefox or *iexplore as the browser launcher with relevant additional configuration options in twist.properties. Using any other browser launcher is an invalid combination and will not work. Here is a sample configuration:

selenium.server.options = -port 4545 -avoidProxy -Dhttp.proxyHost=<proxyHost> -Dhttp.proxyPort=<port>
    (additional options could be -Dhttp.proxyUser=userName -Dhttp.proxyPassword=password -Dhttp.nonProxyHosts=localhost|127.0.0.1)
selenium.browserLauncher = *firefox OR *iexplore (as required)
selenium.browserURL = https://www.<your_application_domain>.com/<context_path>
twist.selenium.enableImplicitWait = false
    

Proxy Injection mode

Selenium does not support testing HTTPS sites in the Proxy Injection mode when the application to be tested is behind a internet/web proxy.