Find URL of the document after navigation
aravindajju opened this issue · 2 comments
aravindajju commented
I am using CLICK to initiate a JavaScript function that submits a form. After the page is refreshed, I could access the new document. However, doc.url returns the older URL of the page before the refresh. What is the best way to find out the new URL?
CLICK(doc, 'input[name="btnS"]')
WAIT_NAVIGATION(doc)
LET prices = ELEMENTS(doc,PriceSelector)
LET url = doc.url
ziflex commented
Hey,
what version are you using?
aravindajju commented
I was using v0.13. Upgraded to v0.15 and it works fine. Thank you.