我的xpath就像这样
driver.findElement(By.xpath("//td[contains(text(), '02-05 04:19:35
PST')]//following-sibling::td//following-sibling::td//following-
sibling::td//following-sibling::td//following-sibling::td//following-
sibling::td//input[@type='image']")).click();
以上xpath在Firefox和Chrome中成功运行,但在IE11中我收到以下错误
org.openqa.selenium.InvalidSelectorException: Unable to locate an element with the XPath expression.
如何解决? 复杂路径在IE中有效吗?