I am facing this exception in IE browser,these xpath works fine in other browser with all windows combination.
Here are the xpath's below provided.
1. //form[@id='form1']/div[2]/table/tbody/tr[2]/th
2. //tr[2]/th
Please provide a solution for this issue which am unable to replicate.
Error:
org.openqa.selenium.InvalidSelectorException: The xpath expression '//form[@id='form1']/div[2]/table/tbody/tr[2]/th' cannot be evaluated or does not result in a WebElement