Formatting xpath identify values instead of strings? (limited to one language)

I have automated tests using katalon recorder, however there are a lot of xpath targets. When using the scripts on the same page in a different language the xpath targets cannot be found as the strings are in English.

Is there a way of making the format of the xpath identify values instead of strings or any other quick fix for this?

Thanks

Try to find elements by their id or xpath looking something like this: //*div/div[5]//div/p which don’t contains string in any language.

1 Like