Customizing xpath generation

I believe starts-with is xpath 2.0 (and Katalon uses xpath 1.0) (See Test Object with xpath selector using matches() function never works)

CSS supports “$=” – depending on how Katalon supplies the CSS setting to the host browser, you could try this in your Test Object definition:

button[id$=staticId2]

Doubtful but I don’t know.