Selenium Testing HTTPs Trust All certificates working for FF but not IE

前端 未结 6 1381
悲&欢浪女
悲&欢浪女 2021-01-06 05:32

I\'ve been playing arround with functional testing using Selenium RC.

I keep running into problems when the test goes to the login page of our site and switches to

6条回答
  •  醉酒成梦
    2021-01-06 06:14

    There are two steps. One is to start the server with the "-trustAllSSLCertificates" option and the other is to configure the browser to use the Selenium server as its proxy. *iexploreproxy and *firefoxproxy handle the proxy settings for you. Selenium (as of 2.0a5) will auto-configure *firefox to use the Selenium server as a proxy if the "-trustAllSSLCertificates" flag is used. *iexplore, using HTA, is never configured by Selenium to use a proxy. So, you'll need to handle that a priori or via a custom launcher.

    More details in the following article: http://nirvdrum.com/2010/04/13/how-to-accept-self-signed-ssl-certificates-in-selenium.html

提交回复
热议问题