Hi,
When I use WebUI.click to transition from screen A to screen B and use WebUI.getUrl, getUrl method returns the URL of screen A.
But what I expect is the URL of screen B.
So I usually use WebUI.delay(10) before use getUrl(waitForPageLoad is invalid in this situation).
Is there better way to get the URL of screen B?
WebUI.click(findTestObject('Object Repository/button')
WebUI.delay(10)
WebUI.verifyMatch(WebUI.getUrl(), 'https://sampleXXX', false)