I ‘ve some Selenium S/W 2 Webdriver test instances for Chrome and Ie 9. After I get https URLs on IE9 (Windows 7 64bit) I get “That Is an issue with this site’s safety certification”. Only at that stage the evaluation weight and in the end fails. I attempted:

Obtaining Selenium S/W to select the “Carry On to the website (not advised).” hyperlink. This cannot be completed as this error site isn’t your typical site. Sam e with Java script – it does not do.
I tried adding the registry key
that stops the certification-error-site from showing – did not function. Likely since I’m on Win7 with IE9.
Third guidance I attempted utilizing browser mod proxy, however there is hardly any instruction manual out there and that I could not function it out.
Eventually, I do not have administrator access to my Computer – e.g. no entry to team procedures. Selenium s/w 2 Webdriver functions fine on Opera. I’ve all protection areas empowered in IE Internet Options and basically run the tests on additional URLs (https) then there is not any issue.

Has anybody got an answer to the issue? Does anybody today popular to utilize browser mod proxy (or any proxy) efficiently to beat this problem?

Ok I simply got it functioning under IE9 utilizing C# as well as the subsequent signal:

IWebDriver driver = new InternetExplorerDriver();

And today it is going to visit the intended page. For Java it really is as easy as:

WebDriver driver = new InternetExplorerDriver();

Utilizing the Selenium S/W-Python bindings:

#region SSL workaround for IE
if “Certificate Error” in driver.title:

I found the solution on the SQA table:  http://sqa.stackexchange.com/questions/1928/selenium-2-webdriver-and-ie-9-security-certificate

We produced a certification and it It worked as a dream.

This worked for me personally in yesteryear, try it out,

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
Webdriver driver = new InternetExplorerDriver(capabilities);

Any improvement in this? I am attempting to do this capacities point… but I have no idea how to get it done utilizing Ruby 🙁

In opera it’s straightforward because it is possible to utilize buttons:

nav=Selenium::WebDriver.for(:chrome, :switches => %w[–ignore-certificate-errors -])

Perhaps you are able to get it done for MICROSOFT INTERNET EXPLORER utilizing switches

There is certainly an easier alternative in the event you utilize IE motorist, recorded in this response. The additional advantage is you do not have to function as the website operator and there is no need to tangle with browser mafia or the registry or some additional low-level technology

We may utilize the next signal.

wait =new WebDriverWait(webdriver, 10);

WebElement ele =wait.until(ExpectedConditions.elementToBeClickable(
webdriver.findElement(By.linkText(“Continue to this website (not

Leave a Reply

Your email address will not be published. Required fields are marked *