public void ieSaveButtonClick(WebElement button) {
		WebDriver driver = getWebDriver();
		// This shall solve the clicking problems IE9 has
		if (driver instanceof InternetExplorerDriver) {
			((JavascriptExecutor) driver).executeScript("arguments[0].click()", button);
		} else {
			button.click();
		}
	}
public void ieSaveButtonClick ( WebElement button ) { WebDriver driver = getWebDriver ( ) ; if ( driver instanceof InternetExplorerDriver ) { ( ( JavascriptExecutor ) driver ) . executeScript ( "arguments[0].click()" , button ) ; } else { button . click ( ) ; } }
Clicks a button. Always use this method if you plan to run the tests on
IE9 In IE9 element.click() does not in a reliable way on buttons.

@param button
The element to click at
@deprecated I'm sure there are better ways to click a button. Legacy code
we need to remove at some stage.