Interacting with a URL ios


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 “, secure and validated connection”
But when I click the address field the value is more specific like “” .
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 and never the more advanced one. How come?
Has anyone ever encountered similar problem. Would appreciate help