But, the above code refreshes The full parent webpage combined with the iframe inside of it which subsequently reloads the parent page and goes into an infinite loop. WATCH VIDEO TUTORIAL An notify cannot be recognized by inspecting them. Also, we simply cannot generate personalized XPath for alerts. Even though https://www.youtube.com/watch?v=tu5jOSCq9a8