When I run the following code in Firefox, it works correctly, but IE8 says that xpath cannot be evaluated or will not lead to the creation of a WebElement.
webDriver.findElement(By.xpath("//input[@id='submitForm']")).sendKeys("\n");
OR
webDriver.findElement(By.xpath("//input[@id='submitForm']")).click();
I tried the alternative xpath "// div [@id = 'parameters'] / table / tbody / tr [4] / th / input", but it gives the same result.
It seems to me that this is an IE driver problem, please let me know if there is any work.
source
share