I use selenium web-drive to test a web page that is usually shown in my android app (Android web-view).
I want to click on a button and check where will be the redirection.
The problem is that
1) sometimes the href is static and sometimes the click just triggers an `onClick()` js method that does redirection to another page.
2) Another issue is that the redirection is sometimes an android intent.
in the format: `waze:\\`
![enter image description here][1]
I tried to click on the button and check the newUrl, but my browser isn't directing to any other page (in my case it was a static `waze://`)
What do you suggest?