Selenium 2 Webdriver and IE 9 Security Certificate

Okay I just got it working under IE9 using C# and the following code: IWebDriver driver = new InternetExplorerDriver(); driver.Url(YOUR_URL); driver.Navigate().GoToUrl(“javascript:document.getElementById(‘overridelink’).click()”); And now it will go to the intended page. For Java it’s as simple as: WebDriver driver = new InternetExplorerDriver(); driver.get(YOUR_URL); driver.get(“javascript:document.getElementById(‘overridelink’).click();”);

local storage in IE9 fails when the website is accessed directly from the file system

Yeah, IE9 doesn’t support localStorage for local files. Not in any official documentation that I can find, but the same issue is described in this blog. You’ll have to either host the website externally, or find some other method of persisting data. [Support for HTML5-style local storage is still in beta in many browsers, anyway. … Read more

css3 text-shadow in IE9

Yes, but not how you would imagine. According to caniuse (a very good resource) there is no support and no polyfill available for adding text-shadow support to IE9. However, IE has their own proprietary text shadow (detailed here). Example implementation, taken from their website (works in IE5.5 through IE9): p.shadow { filter: progid:DXImageTransform.Microsoft.Shadow(color=#0000FF,direction=45); } For … Read more

Internet Explorer 9, 10 & 11 Event constructor doesn’t work

There’s an IE polyfill for the CustomEvent constructor at MDN. Adding CustomEvent to IE and using that instead works. (function () { if ( typeof window.CustomEvent === “function” ) return false; //If not IE function CustomEvent ( event, params ) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt … Read more