I need to use apostrophe (\') in my xpath expression which i need to use in finding elements using webdriver
i need to use below Xpath expression
//
if the above solution doesn't work then use the below solution using escape sequence.
xpath: //li[.=\"Manager of Workflow Initiator's Manager\"]
Here we are treating the whole text as a string using the escape character