Element-34 / py.saunter

sample framework for using selenium with python and page objects
Apache License 2.0
94 stars 35 forks source link

How to support firefox profile in pysaunter 0.63 WebDriver #49

Open LillianWang opened 10 years ago

LillianWang commented 10 years ago

When I tried to start a WD selenium test in 0.63 version, I saw error [This Connection is Untrusted] in new opened browser. I'm thinking to use firefox profile to bypass this problem, but looks like in pysaunter 0.63, it still not support profile in WebDriver side. I tried to find solution on-line, I saw solutions like adding code like:

profile = Selenium::WebDriver::Firefox::Profile.new profile.assume_untrusted_certificate_issuer = false browser = Watir::Browser.new(:firefox, :profile => profile)

Any suggestion of what should I do here? Many thanks!