Get url from second page (WebView)

I open a website by Url="{url}". It openes site, where i click on the accept button. After this, i go to second url, where i must get code from a url. How can i get url changes in my JS code?

Look at the example in this blog post where EvaluateJS is used to extract the current URL.

(Unfortunately we seem to have some issue with the blog styling right now so the code is shown as all-lowercase, however it’ll hopefully be of help anyway!)