3 minutes readKey takeaways An apostrophe inside an XPath string literal breaks the expression if you wrap it in single quotes. Wrap the literal in double quotes instead, which is the simplest fix. Use concat() when the text contains both quote characters. Navigating XPath expressions in Selenium WebDriver can sometimes feel like trying to decipher an ancient… Read more »