how to escape " in xpath expression code example
Example: how to escape ' in xpath
#Use escaped " instead of ' within in the brackets
By.xpath("//span[@trans=\"'WbOrderHeader.OneCancelsAnother\"]")
#Use escaped " instead of ' within in the brackets
By.xpath("//span[@trans=\"'WbOrderHeader.OneCancelsAnother\"]")