Is string matches() supported in Selenium Webdriver 2?
Unfortunately, the matches() function is a part of XPath 2.0. WebDriver uses the Wicked Good XPath library that only supports XPath 1.0. Therefore, your XPath expression is illegal and you should rewrite it to only use features and functions from XPath 1.0. I think you could simply replace the matches() call in your examply with … Read more