lanej/selenium-webdriver — pull request #2 by jeroenvandijk (2011-10-26 14:13:51+00:00)
Title: Expose untrusted_issuer attribute on firefox profile

I have the need to test a web app that is talking to an API with an invalid certificate. Currently one needs to hack into the firefox profile like the below to get this working:

profile = Selenium::WebDriver::Firefox::Profile.new
profile.secure_ssl = false

# Hax
profile.instance_variable_set("@untrusted_issuer", false)

I would like to change the last line into:

profile.untrusted_issuer = false

Any thoughts?