Firefox - link is not clicked /onclick event not raised (handler of a user-initiated event)
I have a link disguised as an icon. Upon clicking it, either a file Save/Open windows dialog pops up or a file is downloaded depending on the browser settings. When I tried to simulate that in Pega, neither PerformClick nor RaiseEvent(onclick) had any effect though no exception was thrown during execution. I am 100% sure correct element is matched because this element is unique.
The said element has a structure such as this:
<a id="downloadCsv" class = "..." href="#" onclick=".."> [event]
<span class="icon">< /span>
</a>
Click event is on of the events attached to that element.
How can I make it work in Pega Studio?