WebPagetest Forums
How can we script the events that are fired on mouse clicks? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: How can we script the events that are fired on mouse clicks? (/showthread.php?tid=12644)



How can we script the events that are fired on mouse clicks? - thisisbeautifulworld - 11-06-2013 09:29 AM

Hi,

I have in my html: different Michael

<span id="ContactName3" class="ListedName"><a href="/res/6477251663/Michael /1735.html" onclick="utagsave();" onmousedown="utag.link({link_name:'person_name', link_attr1:'in_listing'})" title="Michael on 345 Bank St">Michael</a></span>

I tried the following, it does click the link, however the mouse click event is not fired:
clickAndWait Michael on 345 Bank St

is there a way to get the mouse click event triggered?

and following does not at all click the link:
sendClick className=ListedName innerText=Michael
or
execAndWait onclick="utagsave();"
clickAndWait Michael on 345 Bank St




Please share as early as possible
Sam