how to inspect redirection after non http href using selenium

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 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

I tried to click on the button and check the newUrl, but my browser isnt directing to any other page (in my case it was a static waze://)

What do you suggest?


Download how.to.inspect.redirection.after.non.http.href.using.selenium.zip
Direct Link


Download


Download how.to.inspect.redirection.after.non.http.href.using.selenium.zip
Mediafire


Download


Download how.to.inspect.redirection.after.non.http.href.using.selenium.zip
Filedropper


Download


Download how.to.inspect.redirection.after.non.http.href.using.selenium.zip
Unlimitzone


Download


Download how.to.inspect.redirection.after.non.http.href.using.selenium.zip
Filefactory


Download

Both comments and pings are currently closed.

Comments are closed.