📜  如何在 xpath 中转义 ' - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:10.406000             🧑  作者: Mango

代码示例1
#Use escaped " instead of ' within in the brackets
By.xpath("//span[@trans=\"'WbOrderHeader.OneCancelsAnother\"]")