When we copy an xpath and paste it in IDE directly between a variable it automatically adds escape characters like \
//p[@class="_2gBcQ5"] <-- if i pastes this inside below,
webElement element = driver.findElement("")
there are chances the IDE will automatically adds \ and make it "//p[@class=\"_2gBcQ5\"] "
in some scenario it does not.. So would be great to give an option from where if we copy then escape character is already added in xpath. We can give this as an optional feature if people want to switch it on
When we copy an xpath and paste it in IDE directly between a variable it automatically adds escape characters like \
//p[@class="_2gBcQ5"] <-- if i pastes this inside below,
webElement element = driver.findElement("")
there are chances the IDE will automatically adds \ and make it "//p[@class=\"_2gBcQ5\"] "
in some scenario it does not.. So would be great to give an option from where if we copy then escape character is already added in xpath. We can give this as an optional feature if people want to switch it on