I have with below properties on my webpage :
TestLink

I am trying below code for link with :

var a = document.getElementsByClassName(“XX”)[2]
a.()

result shows ‘undefined’.
also when i checked events available for this link with getEventListeners(a)-> it shows blank {}
Please help me to click on this link.
Thanks in advance.



Source link https://sqa.stackexchange.com/questions/34782/javascript-click---click-the-link

LEAVE A REPLY

Please enter your comment!
Please enter your name here