I have link with below properties on my Webpage:
<li class="XXXX" title="This is test"> TestLink </li>
var a = document.getElementsByClassName("XX") a.click()
but it shows result 'undefined'.
Also when I check events available for this link with
Please help me to click on this link.