As this answer, SO indicates that IE does not have native XPath support. Instead, Selenium WebDriver uses the old third-party xpath library when using IE. Firefox has integrated XPath support, so your selectors work fine in this browser.
I would strongly recommend that you update your selectors instead of using CSS selectors. They are supported in all browsers, they are easier to read, understand and pick up, and they are pretty fast.
You can learn more about how to use the CSS selector from several different tuturials here , here , and here , and CSS selector cheats .
Also, whenever possible, try not to select an item based on the text contained in it. If you can select an element by its identifier, class, other attribute, or even through a DOM chain (that is, "div.1> div.2> span.a> ab"), it is better than trying to select an element by text.
bbbco source share