Interacting with a URL ios

Hello.

In my regression test suite I’m trying to click every link there is in my application (link leads my to webview) , then assert that the address field contains the correct URL.

Problem is when I inspect the address field the value is just “example.url.se, secure and validated connection”
But when I click the address field the value is more specific like “https://example.url.se/org/example-sv/tag/?q=example” .
So what I want to do is assert the more specific value, I try to do this by clicking the address field in my test then do the assert, but the value I get from my “Address.getText()” is always example.url.se and never the more advanced one. How come?
Has anyone ever encountered similar problem. Would appreciate help