WebUI.switchToWindowTitle doesn't work

I’m trying to handle a pop up window using switchToWindowTitle, as suggested on the Katalon tutorials page but Katalon is unable to click on the window, even though it is visible. I also tried delaying the click. Waiting for element present is also non trivial, because my app generates a dynamic id for the element.
Help would be greatly appreciated.

Have you tried WebUI.switchToWindowIndex(0)
Works for me when I need to select a pop-up
See: https://docs.katalon.com/display/KD/[WebUI]+Switch+To+Window+Index

1 Like

Thanks! That worked.