When using the IE driver with IE9, occasionally the Click method will only select a button, it wont do the action of the Click(). Note this only happens occasionally, so i d
My solution was:
Selenium WebDriver 2.29.0 (JAVA), TESTED with FF16 and IE9
Before to make a findElement, I did a maxime browser screen. It works fine.
public void maximeBrowser() {
Toolkit toolkit = Toolkit.getDefaultToolkit();
Dimension screenResolution = new Dimension((int)toolkit.getScreenSize().getWidth(), (int)toolkit.getScreenSize().getHeight());
//Maximize the browser
logger.info("Maximizing the browser : getWidth ["+screenResolution.getWidth()+"] - getHeight ["+screenResolution.getHeight()+"]");
getDriver().manage().window().maximize();
}