Hey @ekersten, i’ve been developing a package to automate deep link testing on android and had a similiar problem when clicking on the <a ...>
that has an href with an intent:// url. The test clicks on the <a ...>
but it doesn’t open any app or do anything.
I manage to make it work by adding on the current <a ...>
tag an onclick
event with window.open('intent://...')
. So, in my test, after finding the element, I execute a script that adds this onclick
event, and then click on the element.
Check this lines on my project:
https://github.com/Urucas/zoster/blob/master/lib/scheme-test.js#L77-L86
You can also check my project, which is a beta on automating deep link testing on android.
Hope this helps.