Selenium code with -> throws error in Katalon

I’m really not familiar with the pattern you’re aiming for but I can see syntax errors.

Why don’t you follow the patterns @Brandon_Hein gave you in this thread?