How to get text from looping same classes in Ui Path?

I want to scrap data of two experience details - First and second company name, job title, experience date

Two experiences having same parent classes and child classes.

When there is one experience presented, bot is getting stopped. because not able to find parent id or parent class in the web url to scrap the second company details.

Please help me to find solutions. Thanks.

Could you provide the url of the page you are trying to automate and/or screenshots of the selectors in UI Explorer?