Accept two consecutive popup


#1

I’m trying to make KATALON RECORDER accept two consecutive popup (alert), however the application accepts (sends OK) only one (the first alert). Can someone help me?

My commands (export) :

selenium.chooseOkOnNextConfirmation()
selenium.click(“xpath=(.//*[normalize-space(text()) and normalize-space(.)=’[O que é isso]’])[1]/following::input[1]”)