Tests using the \'currentURL()\' started to randomly fail when the URL changes more than 2 times (in the same test case).
This started after the application was updated (