I have a link which is having the
href attribute as
onclick function. In the
dev is use to log the number of hits to be database through ajax calls and based on the ajax response they are redirecting to another URL.
The problem is that when I try to click on the above said link, it is not redirecting to any other URL and also not trapping any errors for click function. So I hope
click() method executed successfully, but the page was not redirected to another URL. It is stopping me going further.
Any help or suggestions on this is appreciated.
Sample Script to click on link: