How to interact with dynamicly created elements?

I need to select e interact (click) several elements created dynamicaly by javascript. How I could achieve this?

I created a keyword that finds a list of WebElement by the TestObject in the repository with the mentionated xpath and in a for each clicked all of then.

I have the xpath that find all the elements, (//a[@class=\“gritter-close\”]), but when I use the keyword click only the first element is clicked.

Hi there,

Are those objects have similar patterns in its property ? Such as:

how to capture auto suggest box in katalon studio